Quote:
Originally Posted by Plater
I would say what is happening is you have created what is really a single instance of the object, that is being shared over the webapplication (application only loads the dll once after all)
And you are trying to use it as if it were being loaded each time?
Try pretending like every user on the web application is the same and coding for that way (you might have to put in some lock(){} calls to prevent race conditions) and see if that stops one person being shut out by the other?
I think Plater's on to something here.
I did that once.
I was half following a tutorial when creating a DLL that handles database interactions.... the tutorial declared a shared database connection and I wasn't paying attention to the "Shared" keyword...
When I used it in a multi-threaded application and tried I ran into some pretty crazy problems with the DLL. Much like you are describing here.
-Frinny