views:

581

answers:

4

All of a sudden my app is handing this out in the application event viewer:

EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 app_code.ahowircm, P5 0.0.0.0, P6 4b167253, P7 30, P8 0, P9 system.stackoverflowexception, P10 NIL.

Nothing has changed since yesterday, and everything worked fine before. The server is running some .net 2.0 webservices on top of Windows Server 2003.!!!!!

Edit:

Also I'm running this on two servers, 2008R2 and 2003, the exact same code, on 2008R2 it works fine, but on 2003 it stops the application pool.

+4  A: 

This usually points to a runaway recursive call (on purpose or not). Hard to tell without seeing some code.

Otávio Décio
I agree sounds like a recursive set or get from a page property.
MattC
It was a recursive call within a method that is rarely used.
hminaya
Glad you found it.
Otávio Décio
+3  A: 

Your code may not have changed, but chances are your data has. See if any data added recently will cause odd conditions to occur.

Bravax
Agreed, sounds like unexpected data
Ryan Emerle
+1  A: 

You really need a full stack trace to figure out what's going on. Are you logging your exceptions anywhere? If not, you can quickly wireup an event handler.

Ryan Emerle
There is no ahowircm namespace in my App...... I'm adding this.
hminaya
+2  A: 

Not really an answer, more of a "related interesting info" on those CL20r3 event logs entryies.

as an aside:CLR20r3 explaination

P1 Application Name

P2 Application version

P3Application time stamp

P4 Assembly/Module name

P5 Assembly/Module version

P6 Assembly/Module timestamp

P7 MethodDef

P8 IL offset

P9 Exception name

You could use ILDASM on P1, search for a MethodDef of 060000xx (where xx is P7), to get the method throwing.

Then use reflector to see the code, view it in IL mode and find the line of IL at P8.

Often it will point you directly to the line that threw the exception.

MattC
But P1 is w3wp.exe
hminaya
That's IIS which is expected for a web application
Ryan Emerle
You wan't me to run Refection on w3wp, I thought it was my web app that was causing the problem, not a but in IIS. I'm I missing something?
hminaya
Well no, in this case you don't really want to be disassembling w3wp.exe. I was just providing a bit of related info to the type of error you were getting. In this instance a stack overflow is most probably a recursive issue, although, without code??app_code.ahowircm will the compiled dll for a particular page on your website. Should be in the bin directory.
MattC
I see nothing named ahowircm anywhere
hminaya
try "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" in there somewhere would be the dynamically compiled class. Throw that into reflector see if that gives you more of an idea as to where things are messing up.Are you unable to replicate in VS2005/8
MattC