无法开始调试 [英] Unable to start debugging

查看:83
本文介绍了无法开始调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我的问题似乎有点陈词滥调但我无法解决。


我读了很多MSDN论文和讨论,但我的问题有点不同于他们。当我尝试在调试模式下运行项目时(通过

命中F5)它会显示错误消息


尝试运行项目时出错:Unable开始在网上调试

服务器。

点击帮助获取更多信息


在网上冲浪时我看到很多像这样的错误消息但是所有这些消息

都对它们有一个解释,例如访问被拒绝。或项目不是

配置用于调试等等。我没有解释......


我经历了很多指导说重新注册aspnet_isapi.dll,

运行aspnet_regiis -i,检查服务器配置它是否具有

''集成Windows身份验证'',创建项目名称为

服务器而不是IP号等等。


我还必须提一下,我可以手动附加流程而不会出现任何问题。


服务器是:

使用IIS 5.0和SQL 2000赢取2000 SP4

域控制器


客户端是:

Win XP Professional


两者都安装了Framework 1.1,我还在服务器上运行了来自

VS.Net CD1的远程调试设置。只需要提一件事,它会发出警告,而

安装Analyze Server有关它无法将该帐户添加到调试用户组的
,因为它是一个域名控制器。

我使用我的域帐户登录,该帐户是客户端计算机上的管理员

,并且位于服务器上的域管理员和调试器用户中。

希望有人可以提供帮助。


提前致谢

Serdar KALAYCI

解决方案

您好Serdar,


您是否在Windows XP机器上运行SP2?


Jim Cheshire [MSFT ]

MCP + I,MCSE,MCSD,MCDBA

Microsoft开发人员支持
ja ****** @ online.microsoft.com


这篇文章是AS-IS提供的。没有保证,也没有赋予任何权利。


--------------------

来自: Serdar Kalaycy < se *********** @ unisec.com.tr>
主题:无法开始调试
日期:星期四,2004年8月12日18:27:12 +0300 <线路:44
X-Priority:3
X-MSMail-Priority:正常
X-Newsreader:Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE:制作人Microsoft MimeOLE V6.00.2800.1441
消息ID:< #g ************* @ TK2MSFTNGP12.phx.gbl>
新闻组:microsoft.public.dotnet .framework.aspnet
NNTP-Posting-Host:212.175.3.140
路径:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
phx.gblXref:cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:253914
X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet

我的问题似乎有些陈词滥调,但我无法解决。

我读了很多MSDN论文和讨论,但我的问题有点
与他们不同。当我尝试在调试模式下运行项目时(通过点击F5),它会在尝试运行项目时出现错误消息

错误:无法在Web上启动调试
服务器。
点击帮助了解更多信息

在网上冲浪的时候,我看到很多错误消息,但是所有
都有他们的解释,比如访问被拒绝或项目未配置用于调试。等等。我没有解释......

我经历了很多指导说重新注册aspnet_isapi.dll,运行aspnet_regiis -i,检查服务器配置是否有
' '集成Windows身份验证'',创建名称为服务器而不是IP号的项目等等。

我还必须提一下,我可以手动附加流程
问题。

服务器是:
Win 2000 SP4,带有IIS 5.0和SQL 2000
域控制器

客户端是:<两者都安装了Framework 1.1,我还在服务器上运行了来自VS.Net CD1的远程调试设置
。只需提一点,它在安装Analyze Server时发出警告
关于它无法将帐户添加到调试器用户组,因为它是域控制器。
我登录使用我的域帐户,即客户端计算机上的管理员,并且位于服务器上的域管理员和调试器用户中。

希望有人可以提供帮助。

提前致谢
Serdar KALAYCI




Hi Bengt,

SP2锁放下你的盒子。那是一件非常好的事情。 。 。在大多数情况下!

它会对远程调试造成严重破坏,因为防火墙会阻止DCOM

通信,UDP端口,TCP端口等。您需要设置防火墙

并打开端口以便您可以调试。


现在在你说典型的微软之前。我该怎么做!?",这里是一篇

的文章,它会引导你完成它。 (看,我们提前考虑!)

http://msdn.microsoft.com/asp.net/us.../default.aspx?

pull = / library / en-us / dnwxp / html / xpsp2remotedebug.asp

Jim Cheshire [MSFT]

MCP + I,MCSE,MCSD,MCDBA

Microsoft开发人员支持
ja******@online.microsoft.com


这篇文章是AS-IS提供的。没有保证,也没有赋予任何权利。

--------------------

主题 - 无法开始调试
thread-index:AcSAnif1rqcL0PHARUaHAnGDnE5bEg ==
X-WBNR-Posting-Host:213.238.211.15
来自:=?Utf-8?B?QmVuZ3QgSmF4?=< Bengt Ja *@discussions.microsoft.com >
参考文献:< #g *********** **@TK2MSFTNGP12.phx.gbl>
< wf ************** @ cpmsftngxa06.phx.gbl>主题:RE:无法开始调试
日期:星期四,2004年8月12日11:57 :03 -0700
行数:99
消息ID:< 64 **************************** ******@microsoft.co m>
MIME-Version:1.0
内容类型:text / plain;
charset =" Utf-8"
内容-Transfer-Encoding:8bit
X-Newsreader:Microsoft CDO for Windows 2000
Content-Class:urn:content-classes:message
重要性:正常
优先级:正常
新闻组:microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host:TK2MSFTNGXA03.phx.gbl 10.40.1.29 外部参照:cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:253973
X-Tomcat-NG:microsoft.public .dotnet.framework.aspnet
嗨吉姆

很高兴在这里看到来自MS的人.. :-)

即使Serdars问题也没问题'XP SP2我们很多d现在,包括我自己在内的开发人员在安装XP SP2后遇到远程调试问题。当调试器
正在查看远程机器(Win 2003服务器)上的进程时,我的问题是访问被拒绝。

你有关于非常严重的信息吗? , 问题?现在不能做我的工作

问候
Bengt


Jim Cheshire [MSFT]" ;写道:

嗨Serdar,

你是否在任何机会在Windows XP机器上运行SP2?

Jim Cheshire [MSFT ]
MCP + I,MCSE,MCSD,MCDBA
Microsoft开发人员支持
ja ** ****@online.microsoft.com

这篇文章是按原样提供的。没有保证,也没有赋予任何权利。

--------------------

>来自:" Serdar Kalayc ?? < se *********** @ unisec.com.tr>
>主题:无法开始调试
>日期:2004年8月12日星期四18:27: 12 +0300
>行:44
> X-Priority:3
> X-MSMail-Priority:正常
> X-Newsreader:Microsoft Outlook Express 6.00 .2800.1437
> X-MimeOLE:由Microsoft MimeOLE制作V6.00.2800.1441
>消息ID:< #g ************* @ TK2MSFTNGP12 .phx.gbl>
>新闻组:microsoft.public.dotnet.framework.aspnet
> NNTP-Posting-Host:212.175.3.140
>路径:



cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12 .phx.gbl

> Xref:cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet:253914> X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet
>
>大家好,
> ;
>我的问题似乎有点陈词滥调?¨但我无法解决。
>
>我读了很多MSDN论文和讨论s,但我的问题有点不同于他们。当我尝试以调试模式运行项目时(通过
>按F5),它会在尝试运行项目时出现错误消息
>
>"错误:无法启动在网上调试
>服务器。
>点击帮助了解更多信息
>
>在网上浏览时,我看到很多错误消息,但是所有


他们

>对他们有一个解释,如访问被拒绝。或项目是
不是>配置用于调试等等。我没有解释......
>
>我经历了很多指导说重新注册
aspnet_isapi.dll,>运行aspnet_regiis -i,检查服务器配置是否正确具有
>''集成Windows身份验证'',创建名为
>服务器而不是IP号的项目,依此类推。
>
> ;我还必须提一下,我可以手动附加过程而不会出现任何问题。
>
>服务器是:
> Win 2000 SP4 with IIS 5.0和SQL 2000
>域控制器
>
>客户端是:
> Win XP Professional
>
>两者都有安装了Framework 1.1,我还从服务器上的

> VS.Net CD1运行远程调试设置


。只需提一件事,它发出警告


>安装Analyze Server有关它无法将帐户
添加到>调试器用户group,因为它是域控制器。
>我使用我的域帐户登录,该帐户是客户端
machine>上的Administrator,并且位于服务器上的Domain Administrators和Debugger Users中。
>
>希望有人可以提供帮助。
>
>提前致谢
> Serdar KALAYCI
>
>
>





嗨吉姆


感谢您的及时回复。

我看过这篇文章,甚至在我申请服务包之前阅读了它,所以

我不觉得是这个问题,我忘了提,我已经禁用了ICF(防火墙)。

文章中的文字:

"如果IFC关闭,则没有防火墙配置必要的。


其他人,在其他线程中也有问题,也已经禁用了ICF的



我刚刚在XP SP2客户端上为1.1 .Net框架应用了SP1,但

仍然是同样的问题。 访问被拒绝当试图在远程服务器上显示进程

时。

我的环境:

客户端:Windows XP SP2,Visual Studio 2003,1.1 SP1 .Net框架

服务器:Windows Server 2003

任何其他id?es?


问候

Bengt

PS我认为将盒子锁定为默认值非常棒,毫无疑问

关于那个D.S.


Jim Cheshire [MSFT]"写道:

嗨Bengt,
SP2锁定你的盒子。那是一件非常好的事情。 。 。在大多数情况下!它会对远程调试造成严重破坏,因为防火墙会阻止DCOM通信,UDP端口,TCP端口等。您需要设置防火墙
并打开端口所以你可以调试。

现在你说典型的微软。我该怎么做!?这里有一篇
文章将引导您完成它。 (看,我们提前考虑!)

http://msdn.microsoft.com/asp.net/us.../default.aspx?
pull = / library / en-us / dnwxp / html / xpsp2remotedebug.asp

Jim Cheshire [MSFT]
MCP + I,MCSE,MCSD,MCDBA
Microsoft开发人员支持
ja ****** @ online.microsoft.com

这篇文章是AS-IS提供的。没有保证,也没有赋予任何权利。

--------------------

主题 - 无法开始调试
thread-index:AcSAnif1rqcL0PHARUaHAnGDnE5bEg ==
X-WBNR-Posting-Host:213.238.211.15
来自:=?Utf-8?B?QmVuZ3QgSmF4?=< Bengt Ja *@discussions.microsoft.com >
参考文献:< #g *********** ** @ TK2MSFTNGP12.phx.gbl>


< wf ************** @ cpmsftngxa06.phx.gbl>

主题:RE:无法开始调试
日期:2004年8月12日星期四11:57:03 -0700
行数:99
消息ID:< 64 ******* ***************************@microsoft.co m>
MIME-Version:1.0
内容类型: text / plain;
charset =" Utf-8"
Content-Transfer-Encoding:8bit
X-Newsreader:Microsoft CDO for Windows 2000
Content-Class:urn:内容类:消息
重要性:正常
优先级:正常
X-MimeOLE:由M制作icrosoft MimeOLE V6.00.3790.0
新闻组:microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host:TK2MSFTNGXA03.phx.gbl 10.40.1.29
路径:cpmsftngxa06.phx。 gbl!TK2MSFTNGXA03.phx.gbl
外部参照:cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:253973
X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet
很高兴在这里看到来自MS的人.. :-)

即使Serdars问题不是XP SP2我们也很多开发人员


现在,

包括我自己,在安装XP SP2后遇到远程调试问题。当调试器


要查看远程机器(Win 2003服务器)上的进程时,我的问题是拒绝访问。
<你有关于非常严重的问题的任何信息吗?现在不能做我的工作

问候
Bengt


Jim Cheshire [MSFT]" ;写道:

嗨Serdar,

你是否在任何机会在Windows XP机器上运行SP2?

Jim Cheshire [MSFT ]
MCP + I,MCSE,MCSD,MCDBA
Microsoft开发人员支持
ja ** ****@online.microsoft.com

这篇文章是按原样提供的。没有保证,也没有赋予任何权利。

--------------------
>来自:" Serdar Kalayc ?? ??" < se *********** @ unisec.com.tr>
>主题:无法开始调试
>日期:2004年8月12日星期四18:27: 12 +0300
>行:44
> X-Priority:3
> X-MSMail-Priority:正常
> X-Newsreader:Microsoft Outlook Express 6.00 .2800.1437
> X-MimeOLE:由Microsoft MimeOLE制作V6.00.2800.1441
>消息ID:< #g ************* @ TK2MSFTNGP12 .phx.gbl>
>新闻组:microsoft.public.dotnet.framework.aspnet
> NNTP-Posting-Host:212.175.3.140
>路径:
cpmsftngxa06 .phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12 .phx.gbl
> Xref:cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:253914> X -Tomcat-NG:microsoft.public.dotnet.framework.aspnet
>
>大家好,
>
>我的问题似乎有些陈词滥调??? ¨但我无法解决。
>
>我读了很多MSDN论文和讨论,但我的问题有点不同
>不同从他们。当我尝试以调试模式运行项目时(通过
>按F5),它会在尝试运行项目时出现错误消息
>
>"错误:无法启动在网上调试
>服务器。
>点击帮助了解更多信息
>
>在网上浏览时,我看到很多错误消息,但是所有
他们
>对他们有一个解释,如访问被拒绝或项目未配置用于调试等等。我没有解释......
>
>我经历了很多指导说重新注册aspnet_isapi.dll,>运行aspnet_regiis -i,检查服务器配置是否有
>''集成Windows身份验证'',创建项目名称为>服务器而不是IP号等等。
>
>我还必须提到我可以手动附加过程没有任何
>问题。
>
>服务器是:
> Win 2000 SP4,带有IIS 5.0和SQL 2000
> ;域控制器
>
>客户端是:
> Win XP Professional
>
>两者都安装了Framework 1.1,我也运行远程调试设置
>服务器上的VS.Net CD1。只需提一件事,它会发出警告
>安装Analyze Server有关它无法将帐户添加到> Debugger Users组,因为它是一个域控制器。 />>我使用我的域帐户登录,该帐户是客户端计算机上的管理员>并且位于服务器上的域管理员和调试器用户中。
>
>希望有人可以提供帮助。 />>
>提前致谢
> Serdar KALAYCI
>
>
>




Hi everybody,

My problem seems a bit clichè but I could not work around.

Well I read lots of MSDN papers and discussions, but my problem is a bit
different from them. When I tried to run the project in debug mode (by
hitting F5) it gives an error message

"Error while trying to run project: Unable to start debugging on the web
server.
Click Help for more information"

While surfing the net I saw lots of error messages like this but all of them
had an explanation with them like "Access is denied" or "The project is not
configured for debugging" and so on. Mine has no explanations...

I went through lots of guidelines that say re-registering aspnet_isapi.dll,
running aspnet_regiis -i, checking server configuration whether it has
''Integrated Windows Authantication'', creating the project with the name of
the server instead of the IP number and so on.

I must also mention that I can attach the process manually without any
problems.

The server is:
Win 2000 SP4 with IIS 5.0 and SQL 2000
Domain Controller

The client is:
Win XP Professional

Both has Framework 1.1 installed, and I also run Remote Debugging Setup from
VS.Net CD1 on the server. Just one thing to mention, it gave a warning while
installing Analyze Server concerning about it could not add the account to
the Debugger Users group, since it''s a domain controller.
I log on using my domain account which is Administrator on client machine
and is in Domain Administrators and Debugger Users on the server.

Hope someone can help.

Thanks in advance
Serdar KALAYCI

解决方案

Hi Serdar,

Are you running SP2 on your Windows XP machine by any chance?

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------

From: "Serdar Kalaycy" <se***********@unisec.com.tr>
Subject: Unable to start debugging
Date: Thu, 12 Aug 2004 18:27:12 +0300
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <#g*************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 212.175.3.140
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:253914
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi everybody,

My problem seems a bit clichè but I could not work around.

Well I read lots of MSDN papers and discussions, but my problem is a bit
different from them. When I tried to run the project in debug mode (by
hitting F5) it gives an error message

"Error while trying to run project: Unable to start debugging on the web
server.
Click Help for more information"

While surfing the net I saw lots of error messages like this but all of themhad an explanation with them like "Access is denied" or "The project is not
configured for debugging" and so on. Mine has no explanations...

I went through lots of guidelines that say re-registering aspnet_isapi.dll,
running aspnet_regiis -i, checking server configuration whether it has
''Integrated Windows Authantication'', creating the project with the name of
the server instead of the IP number and so on.

I must also mention that I can attach the process manually without any
problems.

The server is:
Win 2000 SP4 with IIS 5.0 and SQL 2000
Domain Controller

The client is:
Win XP Professional

Both has Framework 1.1 installed, and I also run Remote Debugging Setup fromVS.Net CD1 on the server. Just one thing to mention, it gave a warning whileinstalling Analyze Server concerning about it could not add the account to
the Debugger Users group, since it''s a domain controller.
I log on using my domain account which is Administrator on client machine
and is in Domain Administrators and Debugger Users on the server.

Hope someone can help.

Thanks in advance
Serdar KALAYCI




Hi Bengt,

SP2 locks down your box. That''s a very good thing . . . for the most part!
It wreaks havoc for remote debugging because the firewall blocks DCOM
communication, UDP ports, TCP ports, etc. You need to set up the firewall
and open up the ports so that you can debug.

Now before you say "typical Microsoft. How do I do that!?", here''s an
article that will walk you through it. (See, we DO think ahead!)

http://msdn.microsoft.com/asp.net/us.../default.aspx?
pull=/library/en-us/dnwxp/html/xpsp2remotedebug.asp

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.
--------------------

Thread-Topic: Unable to start debugging
thread-index: AcSAnif1rqcL0PHARUaHAnGDnE5bEg==
X-WBNR-Posting-Host: 213.238.211.15
From: =?Utf-8?B?QmVuZ3QgSmF4?= <Bengt Ja*@discussions.microsoft.com>
References: <#g*************@TK2MSFTNGP12.phx.gbl> <wf**************@cpmsftngxa06.phx.gbl>Subject: RE: Unable to start debugging
Date: Thu, 12 Aug 2004 11:57:03 -0700
Lines: 99
Message-ID: <64**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:253973
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi Jim

Great to see someone from MS here.. :-)

Even if Serdars problem aren''t XP SP2 we are a lot of developers right now,including my self, having problem with remote debugging after the
installation of XP SP2. My problem is ''Access denied'' when the debugger isgoing to view the processes at the remote machine (a Win 2003 server).

Do you have any info regarding the, very serious, issue? Can''t do my work
right now...

Regards
Bengt


"Jim Cheshire [MSFT]" wrote:

Hi Serdar,

Are you running SP2 on your Windows XP machine by any chance?

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------

>From: "Serdar Kalayc??" <se***********@unisec.com.tr>
>Subject: Unable to start debugging
>Date: Thu, 12 Aug 2004 18:27:12 +0300
>Lines: 44
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>Message-ID: <#g*************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 212.175.3.140
>Path:


cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12 .phx.gbl

>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:253914 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Hi everybody,
>
>My problem seems a bit clich?¨ but I could not work around.
>
>Well I read lots of MSDN papers and discussions, but my problem is a bit
>different from them. When I tried to run the project in debug mode (by
>hitting F5) it gives an error message
>
>"Error while trying to run project: Unable to start debugging on the web
>server.
>Click Help for more information"
>
>While surfing the net I saw lots of error messages like this but all of


them

>had an explanation with them like "Access is denied" or "The project is not >configured for debugging" and so on. Mine has no explanations...
>
>I went through lots of guidelines that say re-registering aspnet_isapi.dll, >running aspnet_regiis -i, checking server configuration whether it has
>''Integrated Windows Authantication'', creating the project with the name of >the server instead of the IP number and so on.
>
>I must also mention that I can attach the process manually without any
>problems.
>
>The server is:
>Win 2000 SP4 with IIS 5.0 and SQL 2000
>Domain Controller
>
>The client is:
>Win XP Professional
>
>Both has Framework 1.1 installed, and I also run Remote Debugging Setup


from

>VS.Net CD1 on the server. Just one thing to mention, it gave a warning


while

>installing Analyze Server concerning about it could not add the account to >the Debugger Users group, since it''s a domain controller.
>I log on using my domain account which is Administrator on client machine >and is in Domain Administrators and Debugger Users on the server.
>
>Hope someone can help.
>
>Thanks in advance
>Serdar KALAYCI
>
>
>





Hi Jim

Thanks for your prompt reply.
I have seen the article, even read it before I applied the service pack, so
I don''t think that is the issue since, I forgot to mention, I have disabled
the ICF (Firewall).
Text from the article:
"If IFC is off, no firewall configuration is necessary."

Other people, in other threads that also has the problem, have also disabled
the ICF.

I just I applied the SP1 for the 1.1 .Net framwork on the XP SP2 client but
still the same problem. "Access is denied" when trying to show the processes
on the remote server.

My environment:
Client: Windows XP SP2, Visual Studio 2003, 1.1 SP1 .Net framwork
Server: Windows Server 2003

Any other id??es?

Regards
Bengt
P.S. I think it''s great that the box is locked down as default, no doubt
about that D.S.

"Jim Cheshire [MSFT]" wrote:

Hi Bengt,

SP2 locks down your box. That''s a very good thing . . . for the most part!
It wreaks havoc for remote debugging because the firewall blocks DCOM
communication, UDP ports, TCP ports, etc. You need to set up the firewall
and open up the ports so that you can debug.

Now before you say "typical Microsoft. How do I do that!?", here''s an
article that will walk you through it. (See, we DO think ahead!)

http://msdn.microsoft.com/asp.net/us.../default.aspx?
pull=/library/en-us/dnwxp/html/xpsp2remotedebug.asp

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.
--------------------

Thread-Topic: Unable to start debugging
thread-index: AcSAnif1rqcL0PHARUaHAnGDnE5bEg==
X-WBNR-Posting-Host: 213.238.211.15
From: =?Utf-8?B?QmVuZ3QgSmF4?= <Bengt Ja*@discussions.microsoft.com>
References: <#g*************@TK2MSFTNGP12.phx.gbl>


<wf**************@cpmsftngxa06.phx.gbl>

Subject: RE: Unable to start debugging
Date: Thu, 12 Aug 2004 11:57:03 -0700
Lines: 99
Message-ID: <64**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:253973
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi Jim

Great to see someone from MS here.. :-)

Even if Serdars problem aren''t XP SP2 we are a lot of developers right


now,

including my self, having problem with remote debugging after the
installation of XP SP2. My problem is ''Access denied'' when the debugger


is

going to view the processes at the remote machine (a Win 2003 server).

Do you have any info regarding the, very serious, issue? Can''t do my work
right now...

Regards
Bengt


"Jim Cheshire [MSFT]" wrote:

Hi Serdar,

Are you running SP2 on your Windows XP machine by any chance?

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Serdar Kalayc????" <se***********@unisec.com.tr>
>Subject: Unable to start debugging
>Date: Thu, 12 Aug 2004 18:27:12 +0300
>Lines: 44
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>Message-ID: <#g*************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 212.175.3.140
>Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12 .phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:253914 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Hi everybody,
>
>My problem seems a bit clich???¨ but I could not work around.
>
>Well I read lots of MSDN papers and discussions, but my problem is a bit
>different from them. When I tried to run the project in debug mode (by
>hitting F5) it gives an error message
>
>"Error while trying to run project: Unable to start debugging on the web
>server.
>Click Help for more information"
>
>While surfing the net I saw lots of error messages like this but all of
them
>had an explanation with them like "Access is denied" or "The project is not >configured for debugging" and so on. Mine has no explanations...
>
>I went through lots of guidelines that say re-registering aspnet_isapi.dll, >running aspnet_regiis -i, checking server configuration whether it has
>''Integrated Windows Authantication'', creating the project with the name of >the server instead of the IP number and so on.
>
>I must also mention that I can attach the process manually without any
>problems.
>
>The server is:
>Win 2000 SP4 with IIS 5.0 and SQL 2000
>Domain Controller
>
>The client is:
>Win XP Professional
>
>Both has Framework 1.1 installed, and I also run Remote Debugging Setup
from
>VS.Net CD1 on the server. Just one thing to mention, it gave a warning
while
>installing Analyze Server concerning about it could not add the account to >the Debugger Users group, since it''s a domain controller.
>I log on using my domain account which is Administrator on client machine >and is in Domain Administrators and Debugger Users on the server.
>
>Hope someone can help.
>
>Thanks in advance
>Serdar KALAYCI
>
>
>




这篇关于无法开始调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆