According to the code in your link, the DataReader is closed after the
reader is executed...
myDataReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection)
Are you sure you are calling myConnection.Open() again
before calling this code...
Dim myCommand As SqlCommand = new
SqlCommand("secondstoredprocedure", myConnection) [this fails]
HTH
--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/