473,396 Members | 2,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1422
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Victor | last post by:
I'm trying to run this java program, but somehow the program always quit w/o giving any error msg at all. it happenned inside the first case statements. Strangely, after printing happen2, it just...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
4
by: Chris Fairall | last post by:
Hi all I am using Visual Studio 2003 Enterprise Architect, and for them most part, everything has been working fine. However, in the last few days, I have been experiencing a weird error, and I...
7
by: Ottar | last post by:
I've made a program sorting incomming mail in public folder. The function runs every minute by using the form.timer event. In Access XP it runs for weeks, no problem. Access 2003 runs the same...
1
by: endo55 | last post by:
Hi I've got the following errors when trying to compile a program cvision error LNK2001: unresolved external symbol _IID_IGraphBuilde cvision error LNK2001: unresolved external symbo...
1
by: KK | last post by:
Dear All I'm having an application developed in VC++6.0.Now i'm trying to complie the same with Visual Studio.Net 2003,but getting some strange errors.Can anybody help to get out of these...
2
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
0
by: jason_cuteboy | last post by:
Hi all, Completely new to Vb.net and trying to create a simple VB Office Excel application/spreadsheet. When I built the project, and excel opens up an error comes up.... Customization assembly...
1
by: twhitehouse | last post by:
I have an error when trying to log into outlook accounts in my vb6 program. I do not have a problem logging into these same accounts using outlook 2003. I have googled and found most of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.