The SQL command is currently busy Open, fetching."
That is the error that I keep getting whenever I use the datareader to retrieve a record inside a transaction. But only when another command (insert with cmd.ExecuteNonQuery()) follows.
I think that .NET 1.1 does not like this. I remember installing 2.0 preview for testing, and the error did not occur. But using 2.0 for this project is not possible. Do you guys have any recommendations. I am specifically trying to get the identity value of the insert with SCOPE_IDENTITY() and saving it to a variable. I am trying not to use stored procs.
Thanks
That is the error that I keep getting whenever I use the datareader to retrieve a record inside a transaction. But only when another command (insert with cmd.ExecuteNonQuery()) follows.
I think that .NET 1.1 does not like this. I remember installing 2.0 preview for testing, and the error did not occur. But using 2.0 for this project is not possible. Do you guys have any recommendations. I am specifically trying to get the identity value of the insert with SCOPE_IDENTITY() and saving it to a variable. I am trying not to use stored procs.
Thanks