B
Ben Fidge
Since upgrading my project to .Net 2.0 i've been getting the following error
on occassion:
"InvalidOperationException was unhandled"
followed by
"Internal .Net Framework Data Provider error 1."
The error happens when I call SqlConnection.Close(), but not all the time.
The error can happen over an hour after any activity in my ASP.NET 2.0
application.
Here's some info:
- I have a timer that is started in Application_Start and every hour
performs some house-cleaning duties for my app
- I first check to see if SqlConnection.State == ConnectionState.Open before
I call Close(), but this doesn't prevent the error.
- This has only been happening since upgrading my project to VS 2005 from
VS.NET 2003
- On our live server, this is causing a JIT debugging dialog to pop-up
asking if I want to debug. AS the source isn't available on the server, this
has limited use.
- I'm using Sql Server 2005
Anyone know why this is happening?
Thanks
Ben
on occassion:
"InvalidOperationException was unhandled"
followed by
"Internal .Net Framework Data Provider error 1."
The error happens when I call SqlConnection.Close(), but not all the time.
The error can happen over an hour after any activity in my ASP.NET 2.0
application.
Here's some info:
- I have a timer that is started in Application_Start and every hour
performs some house-cleaning duties for my app
- I first check to see if SqlConnection.State == ConnectionState.Open before
I call Close(), but this doesn't prevent the error.
- This has only been happening since upgrading my project to VS 2005 from
VS.NET 2003
- On our live server, this is causing a JIT debugging dialog to pop-up
asking if I want to debug. AS the source isn't available on the server, this
has limited use.
- I'm using Sql Server 2005
Anyone know why this is happening?
Thanks
Ben