Error trying to run C# program in VS.NET 2003

M

Murray McCulloch

I've recently installed Visual Studio .NET 2003 on my Win2k machine. I
wrote a simple hello world Windows app in C# and compiled. When I try
to execute it with either F5 or CTRL+F5, I'm getting this error:

"Error while trying to run project: Unable to start debugging.

The server threw an exception."

Now, this doesn't happen all the time. Sometimes it will work,
particularly right after a reboot. But then it will stop working,
usually after only a few minutes. Or I will be able to run with F5 but
not CTRL+F5, or vice versa. Basically I can't see any pattern at all.

The MDM service is running.

I'm about to remove and reinstall the whole damned thing, but I was
hoping someone else might have solved this problem an easier way.

Any help appreciated.

Murray
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,


Are you running any AV ?
Maybe the problem you are having is that the debugger cannot access the
..pdb file

Cheers,
 
M

Murray McCulloch

Thanks for the reply Ignacio,

Yes, I'm running NAV. I tried disabling it, but got the same problem.

Murray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top