470,626 Members | 2,153 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,626 developers. It's quick & easy.

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

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
Nov 16 '05 #1
2 1346
Hi,
Are you running any AV ?
Maybe the problem you are having is that the debugger cannot access the
..pdb file

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Murray McCulloch" <mr*******@yahoo.com> wrote in message
news:9f**************************@posting.google.c om...
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

Nov 16 '05 #2
Thanks for the reply Ignacio,

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

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

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Murray McCulloch" <mr*******@yahoo.com> wrote in message
news:9f**************************@posting.google.c om...
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

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Victor | last post: by
4 posts views Thread by Chris Fairall | last post: by
1 post views Thread by endo55 | last post: by
1 post views Thread by KK | last post: by
7 posts views Thread by p | last post: by
reply views Thread by jason_cuteboy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.