473,385 Members | 1,676 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,385 software developers and data experts.

remote debug asp.net

hui
Hi,

I am having trouble making my new machine to debug asp.net remotely.
The IIS runs at a win2000 server (sp 4), and my old win2000 client
machine works well with it. However, my new machine has xp pro
installed and it has trouble to start a debug process. The error
message says:
"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. Click help for more information"

If I try to manually attach to the aspnet_wp process on the server, I
get an error saying "Unable to attach to the process. Access is
denied".

The xp machine can debug asp.net locally.

All three machines are in the same domain.

I don't believe it is an account privilege issue as my account has
local admin role on all three machines.

Any suggestions are welcome.

Nov 19 '05 #1
3 1027
Hi,

see information provided in this KB article:

Overview of the "Impersonate a Client After Authentication" and the "Create
Global Objects" Security Settings (821546.KB.EN-US.2.2)
http://support.microsoft.com/default...b;EN-US;821546

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
Nov 19 '05 #2
hui
Thanks for your reply, but it failed to solve my problem.

When I try to attach to the aspnet_wk process with only the "common
language runtime" selected, I got the following error similar to that
shown on auto debug:
"Unable to attach to the process. The debugger component on the server
failed to connect to the local machine."

The help message titles with "Remote Debugging Across Domains",
suggesting DCOM security is the issue.

However, I've confirmed with system admin that the machines are in the
same domain. I can't follow the workaround of changing local security
policies because the server is not xp.

I have managed to do remote debug to a win2k pro machine running full
vs.net. So I suspect somehow xp pro & win2k server don't like each
other.

Nov 19 '05 #3
hui
After more intensive googling, I think I have found a solution.
http://support.microsoft.com/default...&Product=vsnet

After I change the dcom configuration (and reboot) it all looks fine.

However, I still can't figure out why I could debug on a win2k pro
machine without such change. Perhaps the full vs.net makes the
difference, or because I access it through frontpage extension instead
of file sharing. I believe a proper answer will benefit future
googlers.

Thanks,

Hui

Teemu Keiski wrote:
Hi,

see information provided in this KB article:

Overview of the "Impersonate a Client After Authentication" and the "Create
Global Objects" Security Settings (821546.KB.EN-US.2.2)
http://support.microsoft.com/default...b;EN-US;821546

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Job Kelderman | last post by:
Hi all! I'm trying to get remote debugging working with phpeclipse. I think i've installed everything correctly, and the debugger in eclipse starts, but breakpoints are ignored and nothing...
1
by: Céline | last post by:
HI everybody, I am trying to get somewhere with VisualStudio.net. The problem is that my web server is not on my PC (for company security reason) on is remote. Everytime I try to create a...
1
by: eholz1 | last post by:
Hello MSDN Group, I am trying to do remote debugging with an ASP.NET application. It flat will not let me debug, I always get "unable to start debugging on remote server, access denied". I have...
2
by: Jeff | last post by:
I have an ASP.NET web page accessing a SQL database. I've used VS to build the app and stored it in the eNPTest02 directory of my localhost on my development machine. The database is on the web. ...
1
by: shekhartgs | last post by:
Please tell me how to debug an ASP.NET web application residing on a remote server? Can you pls tell me point by point as I am a new bie to a lil extent. Also please alert me where errors...
1
by: Ken Allen | last post by:
I have encountered a problem with remote debugging under VS 2005 and ..Net 2.0 -- it seems that the framework installation does not include the "Microsoft .Net Framework 2.0 Configuration" tool! ...
0
by: Ken Allen | last post by:
The MSDN documentation on remote debugging is a bit sparse, to say the least, and there is almost no information available on the 'best' way to configure this. I should note that my development...
0
by: fred64 | last post by:
Hello , I fought very hard and succeed to do a remote debug from a client with VS2003 on XP HOME to a Server with XP PRO. This is on a Workgroup : I created same user/pwd with admin rights...
3
by: Rick | last post by:
We have a web site that was built as an ASP.Net Web Site, I am unable to remote debug, when build ing the web site there is not a dll or PDB file generated. I can debug on my local machine but...
3
by: Yves Gagnon | last post by:
Hi, I try to debug a WCF hosted in a windows services on a serveur that is on an other domaine then my developpement machine. I tried many things without succes. Here is what I tried: First I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.