Ask the Expert

Getting a debugging error when I run my VS.NET app

My application is a simple Windows application (no ASP or Web server stuff involved). I checked several newsgroups and I found some hints on how to solve similar error when using ASP.NET Web applications. I registered "mscordbi.dll" and also tried to uninstall and re-install the whole VS.NET, but I'm still getting the same error. The syntax of the error message is:

"error while trying to run project: unable to start debugging."
"Unable to start program 'c:.......vbTest.exe"

I should mention that I changed debugging options and right now, I don't know what should be default settings for the debugger.
Most probably, you've changed the Debugging sheet in the project properties to point to the exe file location, and that location may be wrong. The proper setting there is use Debug Mode = Project, and let VS.NET start the application and attach to it for debugging. If that doesn't solve the problem, could you be more explicit about your project settings?

This was first published in July 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: