Troubleshooting ASP .NET Application on Shared Hosting
Posted
by James
on Stack Overflow
See other posts from Stack Overflow
or by James
Published on 2010-03-30T16:46:15Z
Indexed on
2010/03/30
16:53 UTC
Read the original article
Hit count: 375
Hi,
My company has a CRM site hosted externally on a shared server and recently it has been very problematic. Users are being logged out randomly, sometimes only seconds after logging in. We are also getting viewstate validation errors at times. Both problems seem to occur more often when there are two or more people logged in at the same time, but I can't really see any particular pattern.
I am using log4net to track the application state and from what I can tell it seems that the application is frequently restarting, causing all sorts of issues. I can see log messages from the Application_Start event handler but there is not always a corresponding message from the Application_End event handler. There is also logging code in the Application_Error event handler but it is not catching anything at the time of the restart.
These errors started to occur soon after we moved our site to this shared server, although I don't remember it being this bad at first.
Any advice on how to track down these problems would be appreciated. The server is running Windows Server 2003 and IIS 6.0. Sadly I don't have access to the server other than through Parallels Plesk and it doesn't seem to have any useful diagnostic information.
© Stack Overflow or respective owner