all groups > visual studio .net debugging > july 2004 >
You're in the

visual studio .net debugging

group:

Repost: Help-Debug classic ASP with VS.NET and Windows Server 2003


Repost: Help-Debug classic ASP with VS.NET and Windows Server 2003 Brent
7/24/2004 10:28:44 AM
visual studio .net debugging:
This was posted yesterday as well...but am reposting logged in with my MSDN
subscription

We're trying to debug classic ASP from a Windows XP Professional
workstation - remote server is Windows 2003 Server (which means of course
it's IIS 6.0)

We're able to debug ASP.NET no problem. Debugger also starts okay with
classic ASP but we simply don't hit our breakpoints. We get the dreaded
"The breakpoint will not currently be hit. No symbols are loaded"

We've checked the project properties (ie: ASP debugging is enabled) and
we've checked the items in the following articles:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vxoriremotedebuggingsetup.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vxtskaspremotedebuggingsetup.asp


What are we missing? I've been down this road when developing on Windows
2000 Professional and debugging remotely on Windows 2000 Server/IIS 5.1.
Since I'm now on XP Professional and Windows 2003 Server/IIS 6.0, it's got
to be something minor....

Thanks.

Re: Repost: Help-Debug classic ASP with VS.NET and Windows Server 2003 Jason
7/24/2004 3:08:16 PM
Hi

I am having a similar issue
My problem seems a bit more quirky than yours

I cannot even debugg classic ASP on the local machine

I have tried this on 2 different servers
Both are Windows 2003 Standard Servers

I get an error that says

Unable to attach to the process. There is no debuggable script code running in the application you are debugging. This is most likely because the debugger is not able to contact the 'Machine Debug Manager' service. See help for more information

Help has no relavant topics

I have ensured that the MDM service is running and that I am in the VS Developers and VS debuggers groups, although I shouldn't even have to be since I am in the administrators group

For the love of god man, can somebody please point us in the right directions

Thanks
Jason

---
RE: Repost: Help-Debug classic ASP with VS.NET and Windows Server 2003 v-schang NO[at]SPAM online.microsoft.com
7/27/2004 2:50:01 AM
Hi Brent,

Thank you for posting here. Regarding on the issue, I am
finding proper resource to assist you and we will update as soon as posible.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security(This posting is provided "AS IS",
with no warranties, and confers no rights.)
RE: Repost: Help-Debug classic ASP with VS.NET and Windows Server 2003 v-schang NO[at]SPAM online.microsoft.com
7/28/2004 8:24:46 AM
Hi Brent,

I'm sorry for keeping your waiting. After some tests on my side, here are
some of my findings and suggestions:

In addition to the break point not hitting, have you ever got any other
error messages ? And have you have a look at the VS.NT's debug window to
see whether the asp's process have been correctly attached?

Thought you've mentioned that you've done the steps in the
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/htm
l/vxtskaspremotedebuggingsetup.asp

I'd like to confirm the following two registry which is most important for
enabling the remote debuging component on the serverside.


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{6EB22881-8A19-11D0-81B6-00A0C923
1C29}]
@="Catalog Class"
"DllSurrogate"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6EB22881-8A19-11D0-81B6-00A0C923
1C29}]
@="Catalog Class"
"AppID"="{6EB22881-8A19-11D0-81B6-00A0C9231C29}"


Well, if not other obvious error messages. I think here is one thing
specified to IIS6 we may have a check. In IIS6, the web site can be
configured to run under either of the following two processModel:
1. IIS6's worker process isolation model
2. IIS5's worker process isolation model

From our test, when the site is under IIS5's process isolation Model, the
remote debugging can work well and the break points can be hit correctly.
However, when under the IIS6's isolation mode, we need to rebuild the
project before F5 debug and sometimes the break point won't hit. So please
have a try under both the two models(and try rebuilding the project when
test under IIS6 model) to see whether the behavior is same with our test.

And here is the referece on configuring IIS for running IIS5 isolation mode:
========================================
Configuring IIS for IIS 5.0 Isolation Mode

You must use IIS 5.0 isolation mode for applications that conflict with
worker process isolation mode until the applications are modified.

The following application characteristics conflict with worker process
isolation mode:

Dependency on Inetinfo.exe: If the application must run in the Inetinfo.exe
process, it must be run in IIS 5.0 isolation mode because applications do
not run in Inetinfo.exe in worker process isolation mode.
Requires Read Raw Data Filters: Read Raw Data Filters are available in IIS
5.0 isolation mode only.
Requires Dllhost.exe: Applications that must be run in a Dllhost.exe
environment can be run only in IIS 5.0 isolation mode because Dllhost.exe
is not available in worker process isolation mode.
If the IIS 6.0 service is running in worker process isolation mode (the IIS
6.0 default mode), and you must run applications that do not meet the
requirements for worker process isolation mode, switch to IIS 5.0 isolation
mode. This means you will not be able to take advantage of worker process
isolation and the other features of worker process isolation mode.

After you complete the following procedure, you must restart the WWW
service, which will temporarily interrupt the service.

To configure IIS for IIS 5.0 isolation mode

In IIS Manager, expand the local computer, right-click Web Sites, and then
click Properties.
Click the Service tab, select the Run WWW service in IIS 5.0 isolation mode
check box, and then click OK.
To start the WWW service, click Yes.
===============================================

Also, don't forget to set the "Enable ASP Debugging" in the web application
project's property and the
"Enable ASP ServerSide script debuging" option in the IIS site's
HomeDirectory--->configuration->debugging Panel.

Please have a check on the above items. If you have any other findings,
please also feel free to post here. Thank.s

Regards,

Steven Cheng
Microsoft Online Support

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

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx





RE: Repost: Help-Debug classic ASP with VS.NET and Windows Server BMeyer
7/29/2004 1:39:07 PM
Thanks for the reply. Had the registry settings. Changed service for isolation mode to run in IIS 5.0 mode. Now, I get different error when I try to start debugging, so I might be getting somewhere (note, I can debug ASP.NET)

Error is: Unable to location Microsoft Transaction Server administration package. Unable to set serve into correct debugging state automatically. You may not be able to debug ASP pages. Do you want to continue launching the debugger?


When I click "Yes" it just skips the breakpoint and loads the asp page...thoughts?



[quoted text, click to view]
RE: Repost: Help-Debug classic ASP with VS.NET and Windows Server v-schang NO[at]SPAM online.microsoft.com
7/30/2004 6:23:29 AM
Hi Brent,

Thanks for your response. As for the error you mentioned, we've also
encountered it in your testing process. Not sure whether your problem is
the same with us, but we got the important info from the machien's
EventLog. So please have a check in the eventlog, there must be some
information helpful for you.

Regards,

Steven Cheng
Microsoft Online Support

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

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
AddThis Social Bookmark Button