Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 12th, 2007, 10:16 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default [RESOLVED] Remote Debugging Issue

Hello Everyone,
    I have been having some problems getting the Remote Debugging Components working with Visual Studio 2003 so hopefull someone will be able to help me here.

My Development machine is XP Pro SP2 and the Web Server that I am trying to debug on is a Windows Sever 2000 SP4 (It is also used as a Secondary Domain Controller)

I installed the the Remote Debugging Components onto the Server from the Visual Studio discs without a problem and had to tweak some things after I installed the Components per a KB article. I go into Visual Studio on my machine and hit F5 and I recieve the error:

"Error while trying to run project: Unable to start debugging on the web server. The debugger component on the server failed to connect to the local machine."

Some of the Articles pointed at this being a security issue and the user trying to debug needed to be part of the Debuggers Group so I added myself to that group, albeit I am part of the Administrators group on that machine. This did not resolve anything.

Another KB article (though it was more about Server 2003 then 2000) said that DCOM Settings needed to be edited and tried that to no avail.

So I am somewhat at a loss here as I can't seem to find a resolution to my problem, does anyone have any idea as to what the problem might be?

================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
  #2 (permalink)  
Old March 19th, 2007, 01:19 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

/*Resolution
This particular error is a bit troublesome to fix as the MSDN has no documents that directly relate to the resolution of this issue. (A fix does exist on the MSDN for this problem, albeit, it is associated with another error message)

In XP SP2, Microsoft tightened up the security of the OS and a bunch of things need to be changed for remote debugging to work. First and foremost, I assume that the PC you are debugging from (e.g. Visual Studio is installed) is WinXP Pro SP2 and the Web App is hosted on Win2K Server.

To resolve this issue, you need to first download the exe named debuggerfirewallconfiguration.exe from the MSDN. This will open a bunch of ports in the Windows firewall that VS uses to communicate with the Remote Server.

Next go to a command prompt on your XP machine and type: dcomcnfg This will open up the DCOM Configuration for your machine. Expand Component Services then Computers finally highlight the 'My Computer' Icon. In the tool bar across the top, click the button that looks like a computer and a window will appear. Goto the COM Security Tab and then under Access Permissions click 'Edit Limits'. Highlight the Anonymous Logon and click the check box at the bottom that correlates to Allowing remote access.

Restart your PC and you should now be able to debug your apps on your remote server!
hth.
*/

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"The remote name could not be resolved" teddyk ASP.NET 2.0 Basics 0 October 28th, 2008 12:49 AM
Remote Debugging Monitor - 2008 installation issue mattperdeck Visual Web Developer 2008 1 April 27th, 2008 05:30 AM
[Resolved] Posting to Remote Site snufse ASP.NET 2.0 Basics 2 March 10th, 2008 12:11 PM
remote name could not be resolved: '(localhost)' Tremmorkeep BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 June 30th, 2006 07:57 AM
Remote Debugging BSkelding ASP.NET 1.0 and 1.1 Basics 0 February 15th, 2005 12:32 PM



All times are GMT -4. The time now is 08:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.