Legacy solution in Visual Studio .NET 2003 crashes when attaching to a process

114 views Asked by At

I have a legacy solution in C#, .net 1.1 and Visual Studio .NET. My solution consists on many projects. Once I run in debug mode my initial project, then I attach to other processes. When I try to attach to a process, Visual Studio IDE crashes and I need to start IDE again. It's a pain!

Anyone has some idea on how to get rid of this?

1

There are 1 answers

0
Jon On

I'm not sure if there's a fix, but a way around it is to limit the number of processes you're attaching to.

Start with just connecting to one, then increase the number if stable.

To identify which project is running on each port you can run

IIS6

c:\windows\system32\cscript c:\windows\system32\iisapp.vbs

IIS 7

C:\windows\system32\inetsrv\appcmd list wp