RE: debugging ASP NET in a remote web server with remote file serv



Hi Ras26,

>From your further description, I think you've been able to get remote
ASP.NET debuging working (between xp sp2 and w2k3server (SRV1)). The
problem occurs when you change the web application(virtual dir)'s locatio
from the local disk (on SRV1) to a UNC share on another win2k3
server(SRV2), yes?

Based on my experience, this is likely a typical remote access problem.
There're two things we can check:

1. In IIS virtual dir's Home directory setting panel, when we specify UNC
shared path as the HOME directory, there'll occur an "Connect As" button
right to the UNC path's textbox. That is used to specify an account to
connect to that UNC path from your local box(where the IIS located). Have
you configured this one? If not, I suggest you configure an powerful
account (valid on the remote machine , the SRV2 in your condition). Thus,
when accessing the UNC path IIS will use this account rather than access as
network anonymous.

2. If we don't specify the "ConnectAs" account, since the IIS's use the
account from the client, since you're remotely debuging, your account from
the develop machine( PC1) can't be double hopped to SRV2, so the SRV1 will
access the SRV2's UNCshare as Network Anonymous account. Yes, we can
grant everyone Full Control for that UNCshare on SRV2, however, as for
WIN2003 server, there is another thing restrict the anonymous user's
access. You can find the one in the server's Local Security Policy setting:

Administrative tools -----> Local security policy

Then, select the " Local Policies -----> security options" node in left
view and you'll find the

"Network Access: Restrict anonymous access to named pipe and shares"

by default , this is enabled, so we need to also turn off it to enable
anonymous access.

Please have a look at the above things. Hope helps.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


.