I found out what it was - with no help from Microsoft!!
If you are using an Access database with ASP.net, it would be a good prcatice not to open two connections to a database at the same time.
For instance, I have a datalist that is databound in the Page_Load event.
In that datagrid is a function that gets the category name for the database.
This function opens up another connection to the database.
This is a No-No as I receive an unhadled exception error after refreshing the page 10 or 12 times. To get around this, I declared a public variable as a string in the Codebehind and ran the function once in the Page_Load event. I then put that global variable in the datagrid instead of calling the function over and over again. This also make the page load quicker and decreases the number of times the Database gets hit with requests.
So if you get the Error Message: Error '80004005' Unexpected Error after refreshing several times, try making sure that all your connection strings are properly closed and that you don't have more than one connection open at a time. this can happen in datalists,repeaters,datagrids and when using for and while loops.
Hope this helps someone!![]()
![]()
![]()




Reply With Quote