RE: Unable to start debugging
From: Jim Cheshire [MSFT] (jamesche_at_online.microsoft.com)
Date: 08/16/04
- Next message: Joerg Jooss: "Re: 1_0_3705_288 vs 1_1_4322"
- Previous message: Frank S: "Custom handler gets web.config type load error"
- In reply to: Bengt Jax: "RE: Unable to start debugging"
- Next in thread: Bengt Jax: "RE: Unable to start debugging"
- Reply: Bengt Jax: "RE: Unable to start debugging"
- Reply: thor2001: "Re: Unable to start debugging"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 16 Aug 2004 20:25:27 GMT
Hi Bengt,
If you look at the bottom of the article, it lists a workaround for VS.NET
2002 (which also applies to VS.NET 2003.) It tells you to do exactly what
you did to make this work. Hope that clears it up.
Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
jamesche@online.microsoft.com
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------
>Thread-Topic: Unable to start debugging
>thread-index: AcSDvhEbeG5Ird3hRGyE6Tgl585HrA==
>X-WBNR-Posting-Host: 213.238.211.15
>From: =?Utf-8?B?QmVuZ3QgSmF4?= <Bengt Jax@discussions.microsoft.com>
>References: <#gl3CDIgEHA.396@TK2MSFTNGP12.phx.gbl>
<wfU98kJgEHA.3212@cpmsftngxa06.phx.gbl>
<64152618-42D3-4854-99F4-F024DFBE39D8@microsoft.com>
<SHRJnFLgEHA.3212@cpmsftngxa06.phx.gbl>
<DD9DFAB6-A5C7-4D17-8D87-0BE4B21A4536@microsoft.com>
<cv9DyxUgEHA.752@cpmsftngxa06.phx.gbl>
<D466A34F-5D78-4324-B111-746E70FE54FA@microsoft.com>
<1hjfbbWgEHA.2100@cpmsftngxa06.phx.gbl>
>Subject: RE: Unable to start debugging
>Date: Mon, 16 Aug 2004 11:23:02 -0700
>Lines: 382
>Message-ID: <512ACAA6-3381-404C-94E3-B8CC7314D19E@microsoft.com>
>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:254559
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Hello Jim
>
>I'm not sure that I agree that the content of article solves my problem.
>This is for two reasons:
>1. Configure the ICF is not a problem for me as I have disabled the ICF.
>Text from article:
>"If ICF is off, you may not have to configure a firewall."
>
>2. Configuring COM Security in the Component Services part is only
relevant
>if you are not an Administrator of the client or the server. I'm on both
the
>client and the server.
>Text from article:
>"If you run the debugger as a normal user (not as an Administrator), you
>must give full access rights to the folder where the executables are
>located." and
>"In addition, if you are not an Administrator of the remote computer, you
>must have access permissions and launch permissions."
>
>What I did to make it work was not to add myself as user, I had to allow
>Remote Access for ANONYMOUS LOGON.
>
>One thing that could solve my issue could be that I haven't installed SP1
>for .Net framework on the server since I do not have the distribution
package
>for Win 2003 Server only for XP.
>
>I also received a mail today from MS regarding Biztalk 2004 and XP SP2.
>http://support.microsoft.com/default.aspx?scid=kb;en-us;841893
>I think the problem with remote debugging is very similar to the Biztalk
>problem. This explains the change of the RPC behaviour in SP2 and why it
work
>with ANONYMOUS LOGN, this was the default before SP2.
>
>Regards
>Bengt
>
>"Jim Cheshire [MSFT]" wrote:
>
>> Hi,
>>
>> That is something that often has to be done. See this article:
>>
>> http://support.microsoft.com/?id=833977
>>
>> Jim Cheshire [MSFT]
>> MCP+I, MCSE, MCSD, MCDBA
>> Microsoft Developer Support
>> jamesche@online.microsoft.com
>>
>> This post is provided "AS-IS" with no warranties and confers no rights.
>>
>> --------------------
>> >Thread-Topic: Unable to start debugging
>> >thread-index: AcSBXLOFlzjcjZlhTcOmJLnQyCPCGw==
>> >X-WBNR-Posting-Host: 213.238.211.15
>> >From: =?Utf-8?B?QmVuZ3QgSmF4?= <Bengt Jax@discussions.microsoft.com>
>> >References: <#gl3CDIgEHA.396@TK2MSFTNGP12.phx.gbl>
>> <wfU98kJgEHA.3212@cpmsftngxa06.phx.gbl>
>> <64152618-42D3-4854-99F4-F024DFBE39D8@microsoft.com>
>> <SHRJnFLgEHA.3212@cpmsftngxa06.phx.gbl>
>> <DD9DFAB6-A5C7-4D17-8D87-0BE4B21A4536@microsoft.com>
>> <cv9DyxUgEHA.752@cpmsftngxa06.phx.gbl>
>> >Subject: RE: Unable to start debugging
>> >Date: Fri, 13 Aug 2004 10:41:02 -0700
>> >Lines: 279
>> >Message-ID: <D466A34F-5D78-4324-B111-746E70FE54FA@microsoft.com>
>> >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:254227
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >
>> >Hi again Jim
>> >
>> >I'm an Administrator on both machines and Windows Integrated
>> authentication,
>> >it worked just fine before the upgrade.
>> >
>> >But actually I have get it up and running by doing this:
>> >1. Installed SP1 for 1.1 .Net framework (not sure if it's needed)
>> >2. Changed the settings for Component Services -> My Computer ->
>> Properties
>> >-> COM Security -> Access Permissions -> Edit Limits...
>> >For ANONYMOUS LOGON I allowed Remote Access
>> >
>> >I believe I have opened a potential security hole, hopefully temporary,
>> but
>> >at least I can debug.
>> >Same for my colleauge which also upgraded to SP2 today. Remote
debugging
>> >didn't work but after performing these steps he got it working.
>> >
>> >Maybe someone more outthere could give the workaround a try and see if
it
>> >works. Please post feedback if this get you up and running again.
>> >
>> >Regards
>> >Bengt
>> >
>> >"Jim Cheshire [MSFT]" wrote:
>> >
>> >> Hi Bengt,
>> >>
>> >> Are you an Administrator on the server? Is Windows Integrated
>> >> authentication enabled?
>> >>
>> >> Jim Cheshire [MSFT]
>> >> MCP+I, MCSE, MCSD, MCDBA
>> >> Microsoft Developer Support
>> >> jamesche@online.microsoft.com
>> >>
>> >> This post is provided "AS-IS" with no warranties and confers no
rights.
>> >>
>> >>
>> >> --------------------
>> >> >Thread-Topic: Unable to start debugging
>> >> >thread-index: AcSAuu23A9j7wDUMTVKAVwndYW8Yjg==
>> >> >X-WBNR-Posting-Host: 213.238.211.15
>> >> >From: =?Utf-8?B?QmVuZ3QgSmF4?= <Bengt Jax@discussions.microsoft.com>
>> >> >References: <#gl3CDIgEHA.396@TK2MSFTNGP12.phx.gbl>
>> >> <wfU98kJgEHA.3212@cpmsftngxa06.phx.gbl>
>> >> <64152618-42D3-4854-99F4-F024DFBE39D8@microsoft.com>
>> >> <SHRJnFLgEHA.3212@cpmsftngxa06.phx.gbl>
>> >> >Subject: RE: Unable to start debugging
>> >> >Date: Thu, 12 Aug 2004 15:23:01 -0700
>> >> >Lines: 187
>> >> >Message-ID: <DD9DFAB6-A5C7-4D17-8D87-0BE4B21A4536@microsoft.com>
>> >> >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:254021
>> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >> >
>> >> >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/using/understanding/security/default.aspx?
>> >> >> pull=/library/en-us/dnwxp/html/xpsp2remotedebug.asp
>> >> >>
>> >> >> Jim Cheshire [MSFT]
>> >> >> MCP+I, MCSE, MCSD, MCDBA
>> >> >> Microsoft Developer Support
>> >> >> jamesche@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
Jax@discussions.microsoft.com>
>> >> >> >References: <#gl3CDIgEHA.396@TK2MSFTNGP12.phx.gbl>
>> >> >> <wfU98kJgEHA.3212@cpmsftngxa06.phx.gbl>
>> >> >> >Subject: RE: Unable to start debugging
>> >> >> >Date: Thu, 12 Aug 2004 11:57:03 -0700
>> >> >> >Lines: 99
>> >> >> >Message-ID: <64152618-42D3-4854-99F4-F024DFBE39D8@microsoft.com>
>> >> >> >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
>> >> >> >> jamesche@online.microsoft.com
>> >> >> >>
>> >> >> >> This post is provided "AS-IS" with no warranties and confers no
>> >> rights.
>> >> >> >>
>> >> >> >> --------------------
>> >> >> >> >From: "Serdar Kalaycý"
<serdarkalayci@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: <#gl3CDIgEHA.396@TK2MSFTNGP12.phx.gbl>
>> >> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >> >> >> >NNTP-Posting-Host: 212.175.3.140
>> >> >> >> >Path:
>> >> >> >>
>> >> >>
>> >>
>>
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.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
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >>
>> >>
>> >
>>
>>
>
- Next message: Joerg Jooss: "Re: 1_0_3705_288 vs 1_1_4322"
- Previous message: Frank S: "Custom handler gets web.config type load error"
- In reply to: Bengt Jax: "RE: Unable to start debugging"
- Next in thread: Bengt Jax: "RE: Unable to start debugging"
- Reply: Bengt Jax: "RE: Unable to start debugging"
- Reply: thor2001: "Re: Unable to start debugging"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|