dll from asp.net web application
-
I have an ASP.NET application developed using VB.NET - creates a single DLL and a bunch of aspx, ascx pages (I don't register anything on the web server). When multipler users are connected to the application using this web server, they randomly see each other's data because threading doesn't seem to work correctly. In other words the web server returns the message packet to the wrong browser. In many cases the browser is painted with invalid information (all mixed up from various other user requests). I suspect this the case because I need to config/set up the DLL in some manner on the web server so that it's shared appropriately creating a separate data instance for every request thread coming in. (Or do I have to something in my code or while building the dll
-
I have an ASP.NET application developed using VB.NET - creates a single DLL and a bunch of aspx, ascx pages (I don't register anything on the web server). When multipler users are connected to the application using this web server, they randomly see each other's data because threading doesn't seem to work correctly. In other words the web server returns the message packet to the wrong browser. In many cases the browser is painted with invalid information (all mixed up from various other user requests). I suspect this the case because I need to config/set up the DLL in some manner on the web server so that it's shared appropriately creating a separate data instance for every request thread coming in. (Or do I have to something in my code or while building the dll
Just a small check... Are you using
static
members in your code?? this makes the information the same for every user. I haven't had a problem like this. May be you are sharing information found in Application cache that should be found in session variables instead?? Those are the possibilities I can think of. I hope this helps somehow. daniero -
Just a small check... Are you using
static
members in your code?? this makes the information the same for every user. I haven't had a problem like this. May be you are sharing information found in Application cache that should be found in session variables instead?? Those are the possibilities I can think of. I hope this helps somehow. danieroThanks for your response. No static members or Application variables either. When I mean some data is available to other users I mean entire form controls pop up on a different browser actually meant for the one who initiated a page. So when two users on two different computers run the application it almost seems like the web server loses track of who made the request and sends part (or all) of the message to a different user who's also still in the application. Which is why I was wondering if the DLL has to be built or installed a particular way? All I do is to build the solution from within ASP.NET. arvind
-
Thanks for your response. No static members or Application variables either. When I mean some data is available to other users I mean entire form controls pop up on a different browser actually meant for the one who initiated a page. So when two users on two different computers run the application it almost seems like the web server loses track of who made the request and sends part (or all) of the message to a different user who's also still in the application. Which is why I was wondering if the DLL has to be built or installed a particular way? All I do is to build the solution from within ASP.NET. arvind
Just check your Application on another machine. Try to find the problem is with Webserver or Application. If its your application problem examine ur code using Debug and Trace . if the problem exist due to webserver just do a reinstall. dont forgot to register aspnet_iis.
-
Just check your Application on another machine. Try to find the problem is with Webserver or Application. If its your application problem examine ur code using Debug and Trace . if the problem exist due to webserver just do a reinstall. dont forgot to register aspnet_iis.
I could not find aspnet_iis on the web server - I found aspnet_regiis.exe and looked at the options, not sure if this is what I should use to register aspnet_iis (but I can't find aspnet_iis). I'm not familiar with aspnet_regiis. Any pointers regarding this will be appreciated. To answer your question, I don't think it's an application issue because I don't use application variables at all (no static either). Thanks for your help. arvind
-
I could not find aspnet_iis on the web server - I found aspnet_regiis.exe and looked at the options, not sure if this is what I should use to register aspnet_iis (but I can't find aspnet_iis). I'm not familiar with aspnet_regiis. Any pointers regarding this will be appreciated. To answer your question, I don't think it's an application issue because I don't use application variables at all (no static either). Thanks for your help. arvind