Forum Moderators: open

Message Too Old, No Replies

asp.net and ajax app failure after changing to iis7

         

cr84net

7:55 pm on Mar 18, 2010 (gmt 0)

10+ Year Member



About two years ago I purchased an asp.net and ajax chat app for a site that was then hosted on a iis 5 server. This site handles a big annual event in march each year. After the event in March last year(09) we transferred our hosting to a iis 7 server. The dll's for the chat app were registered and all worked fine. (This was a very brief test)

Now the event has come around again and the chat app gives a very limited 500 internal server error. My host has ran process explorer while I call the app (click a link) and it shows that everything is succesful except at the end of the process it shows the page name followed by a forward slash and then web.config. The only error message in the log is at the end of the string for the page call and looks like this: 500 19 5 1380 513 171

The permissions have been checked. The dll's reregistered. Everything is running in 32 bit mode. And I still get the same result. I am very new to asp.net and am lost on this one. Any help would be appreciated.

Ocean10000

9:51 pm on Mar 19, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Have the hosting provider look in the Windows (Application) Event log on the webserver. And look for an event source of "ASP.NET 2.0.50727.0", which should be Asp.Net related events. These events should have a great deal more details, and these details should help you pin point the problem much faster.

A example of one of these event log items might look like the following.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/19/2010 8:31:11 AM
Event time (UTC): 3/19/2010 3:31:11 PM
Event ID: 92b7a7968b6142d49208de745cd212f6
Event sequence: 2
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/5/ROOT/C-5-129134862656908821
Trust level: Full
Application Virtual Path: /C
Application Path: D:\inetpub\wwwroot\C\
Machine name: Example-VM2

Process information:
Process ID: 752
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpException
Exception message: Session state has created a session id, but cannot save it because the response was already flushed by the application.

Request information:
Request URL: http://example.com/c/logon.aspx
Request path: /c/logon.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 6
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.SessionState.SessionIDManager.SaveSessionID(HttpContext context, String id, Boolean& redirected, Boolean& cookieAdded)
at System.Web.SessionState.SessionStateModule.CreateSessionId()
at System.Web.SessionState.SessionStateModule.DelayedGetSessionId()
at System.Web.SessionState.SessionStateModule.ReleaseStateGetSessionID()
at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
at System.Web.SessionState.SessionStateModule.OnEndRequest(Object source, EventArgs eventArgs)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Custom event details:

cr84net

3:55 am on Mar 20, 2010 (gmt 0)

10+ Year Member



Thanks, I'll give that a try. That sure offers more info than I have had to work with so far.