Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cannot debug web app after changing computername

26 views
Skip to first unread message

JohnP

unread,
Mar 4, 2003, 4:52:08 PM3/4/03
to
I recently changed the name of my computer and I am now unable to
debug web apps. If I open up a web app in VI and set a break point and
run the site the break point is ignored and the page runs normally.
Also, if I put a stop in a page the page fails but the debugger is not
launched.

I still have my old IWAM_OLDCOMPUTERNAME user
do I need to either create a new user or do something funky with the
security?


I would greatly appreciate any helpful feedback


thank you for your help


john prokopek

Mike Moore [MSFT]

unread,
Mar 5, 2003, 9:30:14 PM3/5/03
to
Hi John,

Changing the computer name should not affect debugging. To verify this,
change the name back to the old name and test if debugging works again.

The name of your IUSR and IWAM accounts don't matter. If they were broken,
you would not be able to browse your pages.

The following article is a pointer to most of our articles on setting up
and fixing Interdev debugging.
244272 INFO: Visual InterDev 6.0 Debugging Resources
http://support.microsoft.com/?id=244272

Based on your description, I would try the following articles, in order.
Then I would look at article 244272, above.

192011 HOWTO: Configure Your Web Server for Visual InterDev 6.0 ASP
Debugging
http://support.microsoft.com/?id=192011

For NT4
196378 HOWTO: Debug ASP Applications Manually Against Windows NT 4.0 Web
Server
http://support.microsoft.com/?id=196378

For Win2000
258929 HOWTO: Debug ASP Applications Manually Against Windows 2000 Web
Server
http://support.microsoft.com/?id=258929

Please try these articles and reply with your results.

Thank you, Mike Moore
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
>From: jp...@optonline.net (JohnP)
>Newsgroups: microsoft.public.vi.debugging
>Subject: cannot debug web app after changing computername
>Date: 4 Mar 2003 13:52:08 -0800
>Organization: http://groups.google.com/
>Lines: 18
>Message-ID: <109c5afd.03030...@posting.google.com>
>NNTP-Posting-Host: 199.231.49.128
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1046814728 10215 127.0.0.1 (4 Mar 2003
21:52:08 GMT)
>X-Complaints-To: groups...@google.com
>NNTP-Posting-Date: 4 Mar 2003 21:52:08 GMT
>Path:
cpmsftngxa08.phx.gbl!cpmsftngxa06!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-onli
ne.de!t-online.de!newsfeed.freenet.de!newsfeed.news2me.com!sn-xit-02!sn-xit-
06!sn-xit-09!sn-xit-08!supernews.com!postnews1.google.com!not-for-mail
>Xref: cpmsftngxa08.phx.gbl microsoft.public.vi.debugging:3722
>X-Tomcat-NG: microsoft.public.vi.debugging

David Ellis

unread,
Mar 13, 2003, 3:56:10 PM3/13/03
to
Hi Mike Moore,

I work with John and am now working on this issue. I have some
additional information that might be helpfull in aiding us.

We are renaming the machines because we creating machines from an OS
image. We use the newsid program from sysinternals.com to create a new
sid and change the name. We have used other imageing software and have
the same problem as well, cannot debug and asp application. ASP
debugging is working just before the sid and name change.

We have noticed that is you rename the IWAM and IUSR accounts manually
to the new machine name ASP debugging somtimes works briefly. If you
reboot the computer you will then have two new user accounts with the
old names and asp debugging no longer workes.

I eliminated the old accounts showing up using two scripts in the IIs
resource kit adsutil and synciwam. The commands I used are ...

adsutil set w3svc/AnonymousUserName IUSR_name
adsutil set w3svc/WAMUserName IWAM_name
synciwam

After this, however, I still cannot debug asp.

Thanks for your help
David Ellis
dave....@pb.com


mic...@online.microsoft.com ("Mike Moore [MSFT]") wrote in message news:<XBCJUh44...@cpmsftngxa08.phx.gbl>...

Mike Moore [MSFT]

unread,
Mar 13, 2003, 6:33:13 PM3/13/03
to
Hi Dave,

If your IUSR or IWAM accounts are causing the problem, then this should fix
it:

297989 PRB: Configured Identity Is Incorrect for IWAM Account
http://support.microsoft.com/?id=297989

---
If 297989 doesn't fix the problem, then I want to find out if manually
renaming the computer causes the problem compared to using newsid to rename
it. Here's a test you can try:

1) Image a machine and try debugging locally on that machine. If it works,
then reboot and make sure it still works. Note: debug locally means that
you use only the one machine to run IIS and to run Interdev.

2) Change the machine name manually. Then reboot and try debugging again.
If it fails, then post the results. If it works, then use newsid to rename
the machine again & then reboot & retest.

Thank you, Mike Moore
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
>From: Dave....@pb.com (David Ellis)
>Newsgroups: microsoft.public.vi.debugging
>Subject: Re: cannot debug web app after changing computername
>Date: 13 Mar 2003 12:56:10 -0800
>Organization: http://groups.google.com/
>Lines: 109
>Message-ID: <b34d1f18.03031...@posting.google.com>
>References: <109c5afd.03030...@posting.google.com>
<XBCJUh44...@cpmsftngxa08.phx.gbl>


>NNTP-Posting-Host: 199.231.49.128
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit

>X-Trace: posting.google.com 1047588970 17502 127.0.0.1 (13 Mar 2003
20:56:10 GMT)
>X-Complaints-To: groups...@google.com
>NNTP-Posting-Date: 13 Mar 2003 20:56:10 GMT
>Path:
cpmsftngxa08.phx.gbl!cppssbbsa01.microsoft.com!news-out.cwix.com!newsfeed.cw
ix.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-xit-08!sn-xit-09!supernew
s.com!postnews1.google.com!not-for-mail
>Xref: cpmsftngxa08.phx.gbl microsoft.public.vi.debugging:3733
>X-Tomcat-NG: microsoft.public.vi.debugging

David Ellis

unread,
Mar 17, 2003, 3:11:46 PM3/17/03
to
Hi Mike,

I have some results of the experiments you wanted me to try. In
summary it looks as if the sid change is causing asp debugging to
break not the machine name change.

1) Image a machine and try debugging locally on that machine. – It
works
If it works, then reboot and make sure it still works. – It Works

2) Change the machine name manually. Then reboot and try debugging

again. – It works If it works, then use newsid to rename the machine
again & then reboot & retest. – Did not work

Other test I performed.

New sid and did not change machine name – Did not work

New sid, did not change machine name and replaced sid with current sid
– Machine would not boot.

New sid, did not change machine name and replaced with a new sid.
Rebooted and ran newsid again this time restoring the original sid. -
ASP debugging worked correctly.

So it looks as if there are more occurrences of the sid that need
changing with a development environment installed. Any idea what?

Thanks for you help
Dave Ellis


mic...@online.microsoft.com ("Mike Moore [MSFT]") wrote in message news:<vqgGtjb6...@cpmsftngxa08.phx.gbl>...

Mike Moore [MSFT]

unread,
Mar 17, 2003, 3:33:25 PM3/17/03
to
Hi Dave,

You didn't mention article 297989. Though I haven't seen what you are
describing (using this sid utility), this article has fixed all the account
mis-match errors that I've seen.


297989 PRB: Configured Identity Is Incorrect for IWAM Account
http://support.microsoft.com/?id=297989

If I had your problem and 297989 didn't fix it, then I would go through
article 192011 and watch for anything related to security (like all the
DCOM settings). For the specific settings that need to be added for
debugging, I would remove those entries an re-add them.

192011 HOWTO: Configure Your Web Server for Visual InterDev 6.0 ASP
Debugging
http://support.microsoft.com/?id=192011

Please repost with your results.

Thank you, Mike Moore
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.

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


>From: Dave....@pb.com (David Ellis)
>Newsgroups: microsoft.public.vi.debugging
>Subject: Re: cannot debug web app after changing computername

>Date: 17 Mar 2003 12:11:46 -0800
>Organization: http://groups.google.com/
>Lines: 60


>Message-ID: <b34d1f18.03031...@posting.google.com>
>References: <109c5afd.03030...@posting.google.com>
<XBCJUh44...@cpmsftngxa08.phx.gbl>

<b34d1f18.03031...@posting.google.com>
<vqgGtjb6...@cpmsftngxa08.phx.gbl>


>NNTP-Posting-Host: 199.231.49.128
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit

>X-Trace: posting.google.com 1047931907 12356 127.0.0.1 (17 Mar 2003
20:11:47 GMT)
>X-Complaints-To: groups...@google.com
>NNTP-Posting-Date: 17 Mar 2003 20:11:47 GMT
>Path:
cpmsftngxa08.phx.gbl!cpmsftngxa06!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-onli
ne.de!t-online.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!
sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!postnews1.google.com!not-for-mai
l
>Xref: cpmsftngxa08.phx.gbl microsoft.public.vi.debugging:3739
>X-Tomcat-NG: microsoft.public.vi.debugging

David Ellis

unread,
Mar 28, 2003, 7:50:40 AM3/28/03
to
Hi Mike,

I tried the procedure in article #297989 after I SID changed the
computer and I still could not do ASP debugging.

I also was working through the procedure in article #192011 and on the
section "Configure DCOM Permissions on Web Server", it references the
"Catalog" class, however, I do not see a "Catalog" class on my
computer using the "dcomcfg.exe" utility.

Mike Moore [MSFT]

unread,
Mar 28, 2003, 1:35:41 PM3/28/03
to
Hi Dave,

Catalog class comes from Interdev Server Components.

The Microsoft Visual InterDev Server components. If you do not see
this listed in the Add/Remove Programs utility in Control Panel, you
can install it by running Setup.exe from the VID_SS folder on Visual
Studio CD-ROM 2 or on CD-ROM 1 of the Visual InterDev standalone
version.

I hope this helps.

Thank you, Mike Moore
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
| >From: Dave....@pb.com (David Ellis)
| >Newsgroups: microsoft.public.vi.debugging
| >Subject: Re: cannot debug web app after changing computername

| >Date: 28 Mar 2003 04:50:40 -0800
| >Organization: http://groups.google.com/
| >Lines: 12
| >Message-ID: <b34d1f18.03032...@posting.google.com>


| >References: <109c5afd.03030...@posting.google.com>
<XBCJUh44...@cpmsftngxa08.phx.gbl>
<b34d1f18.03031...@posting.google.com>
<vqgGtjb6...@cpmsftngxa08.phx.gbl>

<b34d1f18.03031...@posting.google.com>
<QS1GqRM7CHA.1728@cpmsftngxa06>


| >NNTP-Posting-Host: 199.231.49.128
| >Content-Type: text/plain; charset=ISO-8859-1
| >Content-Transfer-Encoding: 8bit

| >X-Trace: posting.google.com 1048855841 29984 127.0.0.1 (28 Mar 2003
12:50:41 GMT)
| >X-Complaints-To: groups...@google.com
| >NNTP-Posting-Date: 28 Mar 2003 12:50:41 GMT
| >Path:
cpmsftngxa08.phx.gbl!cpmsftngxa06!TK2MSFTNGP08.phx.gbl!news-out.cwix.com!new
sfeed.cwix.com!news-east.rr.com!news-west.rr.com!newsfeed.news2me.com!newsfe
ed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-x
it-06!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
| >Xref: cpmsftngxa08.phx.gbl microsoft.public.vi.debugging:3761
| >X-Tomcat-NG: microsoft.public.vi.debugging

David Ellis

unread,
Apr 10, 2003, 3:49:33 PM4/10/03
to
Hi Mike,

I was able to get the images and SID changed computer to do ASP
debugging. Below is the procedure I used.

Thanks for your help.
Dave Ellis

After changing the SID using "newsid.exe" ASP script debugging will be
broken. Use the following procedure to restore this functionality.

1. Make sure the local group "Debugging Users" exists on the computer.
a. If the group "Debugging Users" does not exist, create it.
b. Add the following users to the group, your IWAM_ account, your
SYSTEM account, and Administrator.

2. Run DCOMCNFG.exe (if program is not found, see next steps)
a. If DCOMCNFG.exe is not on the computer, you need to install
the Interdev Server Components.
b. From the Visual Studio 6.0 CD #2, run /VID_SS/Setup.exe
c. Follow the screens to complete the installation.

3. Edit the properties for the "Catalog Class".

4. In the Security section, edit the custom access permissions.

5. Remove any entries of "Account Unknown".

6. Make sure the following accounts have access permissions.
Add any that are missing.
· [Computer Name]\Administrators
· [Computer Name]\IUSR_[Computer Name]
· [Computer Name]\IWAM_[Computer Name]
· Interactive
· SYSTEM

7. Edit the properties for the "Machine Debug Manager".

8. In the Security section, edit the custom access permissions.

9. Remove any entries of "Account Unknown".

10. Make sure the following accounts have access permissions.
Add any that are missing.
· [Computer Name]\Administrators
· [Computer Name]\Debugger Users
· SYSTEM

11. In the Security section, edit the launch permissions.

12. Remove any entries of "Account Unknown".

13. Make sure the following accounts have access permissions.
Add any that are missing.
· [Computer Name]\Administrators
· [Computer Name]\Debugger Users
· SYSTEM

14. Exit DCOMCNFG by pressing OK

15. Reboot the computer.

Mike Moore [MSFT]

unread,
Apr 10, 2003, 9:43:51 PM4/10/03
to
Hi Dave,

Excellent!!! Thank you for posting this! Someday it will help someone else.

Thank you, Mike Moore
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
| >From: Dave....@pb.com (David Ellis)
| >Newsgroups: microsoft.public.vi.debugging
| >Subject: Re: cannot debug web app after changing computername

| >Date: 10 Apr 2003 12:49:33 -0700
| >Organization: http://groups.google.com/
| >Lines: 61
| >Message-ID: <b34d1f18.03041...@posting.google.com>


| >References: <109c5afd.03030...@posting.google.com>
<XBCJUh44...@cpmsftngxa08.phx.gbl>
<b34d1f18.03031...@posting.google.com>
<vqgGtjb6...@cpmsftngxa08.phx.gbl>
<b34d1f18.03031...@posting.google.com>
<QS1GqRM7CHA.1728@cpmsftngxa06>

<b34d1f18.03032...@posting.google.com>
<mexJMjV9CHA.1684@cpmsftngxa06>


| >NNTP-Posting-Host: 199.231.49.128
| >Content-Type: text/plain; charset=ISO-8859-1
| >Content-Transfer-Encoding: 8bit

| >X-Trace: posting.google.com 1050004173 28972 127.0.0.1 (10 Apr 2003
19:49:33 GMT)
| >X-Complaints-To: groups...@google.com
| >NNTP-Posting-Date: 10 Apr 2003 19:49:33 GMT
| >Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!newsfeed.freenet.de!feed.news.nacamar.de!tiscali!newsfeed1.ip.tiscali.n
et!news100.image.dk!news.tele.dk!news.tele.dk!small.news.tele.dk!sn-xit-02!s
n-xit-06!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
| >Xref: cpmsftngxa06.phx.gbl microsoft.public.vi.debugging:3835
| >X-Tomcat-NG: microsoft.public.vi.debugging

0 new messages