按照MSDN上设置了一遍远程服务器A
http://msdn.microsoft.com/zh-cn/library/bt727f1t(VS.80).aspx 现在我把A机上的“Remote debugging monitor”中验证方式设成了“NO AUTHENTICATION”和“Allow Any User to debug”
我在本机B里远程地在A机里建了一个网站,并且在程序里设了一个断点。
然后本机B VS2005里“debug”中的“Attach to process”用的是"remote"传输方式,"Qualify"里输入远程服务器A的IP,然后在“available Process”里面选了进程“w3wp.exe”。
问题出现了,不但调试时网页没有弹出来,而且,断点也没有到达(断点显示“will not currently be hit”)。而远程服务器A机上的“Remote debugging monitor”上显示B机是连上的。 另外一个问题是,我在“Remote debugging monitor”中验证方式设成“Windows AUTHENTICATION”时,按照以上的方法,它提示说“Access Deny. 'Network access: sharing and security model for local accounts' security policy does not allow users to authenate themselves ”.我想了一下,可能是我把远程A机和本机B的登录名和密码设成相同的缘故吧,但是后来我改了B机上的用户名和密码重新远程调试,还是有问题,说是“unknow user name or bad password”。哎,都不知道是什么问题。
http://msdn.microsoft.com/zh-cn/library/bt727f1t(VS.80).aspx 现在我把A机上的“Remote debugging monitor”中验证方式设成了“NO AUTHENTICATION”和“Allow Any User to debug”
我在本机B里远程地在A机里建了一个网站,并且在程序里设了一个断点。
然后本机B VS2005里“debug”中的“Attach to process”用的是"remote"传输方式,"Qualify"里输入远程服务器A的IP,然后在“available Process”里面选了进程“w3wp.exe”。
问题出现了,不但调试时网页没有弹出来,而且,断点也没有到达(断点显示“will not currently be hit”)。而远程服务器A机上的“Remote debugging monitor”上显示B机是连上的。 另外一个问题是,我在“Remote debugging monitor”中验证方式设成“Windows AUTHENTICATION”时,按照以上的方法,它提示说“Access Deny. 'Network access: sharing and security model for local accounts' security policy does not allow users to authenate themselves ”.我想了一下,可能是我把远程A机和本机B的登录名和密码设成相同的缘故吧,但是后来我改了B机上的用户名和密码重新远程调试,还是有问题,说是“unknow user name or bad password”。哎,都不知道是什么问题。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货