Visual Studio Development Bookmark and Share   
 index > Visual Studio Debugger > VS2005 Remote Debugging ASP.NET: Exit Code -4
 

VS2005 Remote Debugging ASP.NET: Exit Code -4

I am running Visual Studio 2005 Professional:
Microsoft Visual Studio 2005
Version 8.0.50727.762  (SP.050727-7600)

I am trying to remote degug an ASP.NET application (targeting .NET Framework 2.0) that has been deployed in debug mode to a Windows Server 2008 x64, that has IIS6 Management Compatibility installed. The application is running under an application pool with managed pipeline mode set to "classic" and Enable 32-bit applications is set to "True". I have administrator rights on my XP (x86) development machine and on the server. 
Here is what happens:

1. I remote desktop to the server and start a remote debugging monitor session (using the Win32 version).
2. I run the web application in the browser on my XP machine.
3. In visual studio I do the usual Debug>Attach To Process specifying the w3wp.exe (Type: T-SQL, Managed, x86)

I can then see in my output window, the 'w3wp.exe' (Managed) debug symbols being loaded and then after a few seconds I get the message in the output window: 

[3392] w3wp.exe: Managed' has exited with code -4 (0xfffffffc).

If I return to my browser, my session has been terminated. If I immediately click on Debug>Attach to process and refresh the list, I can see that w3wp.exe (T-SQL, Managed, x86) is no longer in the list.

Can anyone help?

Cheers

James


James
James.E  Friday, October 16, 2009 10:56 AM
Hi James,

I was unable to reproduce this issue.

From the error message, it looks like some error occuring in the w3wp.exe process. Can you check if the w3wp.exe process was terminated after the error?

Please check the asp.net server's machineto make sure it is not because of out of disk or memory.

Can you debug on the asp.net server instead of remote debugging and check if it works?

Have you applied SP on both machines?

Hongye Sun [MSFT]
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg @ microsoft.com



Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Hongye Sun  6 hours 43 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• storing a database variable
• step into a function in a dll
• Remotely debugging a web application/service hosted by IIS -- please resolve this apparent Catch-22 situation
• Debugging steps are continuing and not stepping
• Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named xxx
• Using data grids to display record based on a specific citeria
• viewing memory at different segment selectors??
• CLR Stored proc is timing out
• Help with debugging .NET 2 Framework
• VSHOST Strong Name Validation Failed