Link to home
Start Free TrialLog in
Avatar of Crazy_Penguins
Crazy_Penguins

asked on

DEBUG ERROR: Unable to start debugging on the web server. Logon failure: unknown user name or bad password. See help for more information. [OK] (no help button)

I have created a web in Visual Studio 2005, on a computer running Windows XP Pro, Service Pack 2.  The server is Server 2003 Standard, Service Pack 1.

I have created a basic project - just typed the word 'test' onto the page, and saved.  Everything here works fine, the files make it to the server, etc, etc...

When I press F5 to run+debug I get:
'Unable to start debugging on the web server. Logon failure: unknown user name or bad password. See help for more information.'
There is an OK button, and no Help button.

I have looked at every Google result in English that I can find, trying to solve this for the last week.

HELP!
ASKER CERTIFIED SOLUTION
Avatar of aki4u
aki4u

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Great document aki4u. I've fixed my problem  :)
Avatar of Crazy_Penguins
Crazy_Penguins

ASKER

I think we almost have it, in the very tail end of that (long) word document, there was this:
"In the work group environment, you need to make sure that you have the same named user account on both machines with the same password. If not, DCOM will fail to authenticate you."

That fixed the above message, however I still can't debug, the new error message is:
"Unable to start debugging on the web server. The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer."

I already looked in the above word document to no avail.  aki4u - do you have any other ideas?
By the way, that program is running on the server - but it just sits there, nothing ever shows on it's little log window.
How to implement remote debugging in Visual Studio 2005
http://www.kbalertz.com/Feedback_910448.aspx#
Still not working, took me a while to work though all the things they want me to try.

I feel we are so close - if it helps the server is on a domain; the the dev computer is not on the domain; however both have a local user with the same user / pass....

Thanks for the help
Do you have remote debugging components installed on the server?
Yes, the remote debugger is installed, and running.  The program states it is waiting for new connections.
OK, so get this -

When I was running the program on the server I was using an account 'AccountA' during the steps above, I created an account with my workstation login name 'AccountB' - this just does not work..

Right-Click on the shortcut for the debug program, run as, tell it 'AccountB' etc. etc.

Now getting an error about how the server could not find the requested resource, but I'll track that one down myself.

Thanks aki4u for your help!