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

Help - how to debug classic asp on w2k3 using vsnet2003

23 views
Skip to first unread message

Invalidlastname

unread,
Sep 5, 2003, 1:38:28 PM9/5/03
to
Hi,
I used to be able to attach dllhost or inetinfo, I even tried wp_xxx, using
Visual Studio.NET 2003 to debug classic ASP 3.0 application on Windows
2000/IIS5. However, I am having trouble to find the right process can be
attached with from VS.NET 2003 while running Windows 2003/IIS6 (I also tried
to use Visual InterDev, and I still cannot find the right process can be
attached). The ASP.NET debugging works like a charm, but not classic ASP
application

Any help will be appreciated

ILN


Invalidlastname

unread,
Sep 5, 2003, 2:45:55 PM9/5/03
to
I think I solve the problem=). it looks like that if I enabled the ii5 isolation mode in IIS 6, the right dllhost appeared on the available processes list box in the vsnet 2003, then I can attach the debugger to debug the running documents.
 
am I correct about the solution ?
 
 
FYI - the step to enable the IIS 5  isolation mode (extracted from IIS help )

To configure IIS for worker process isolation mode

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

Invalidlastname

unread,
Sep 5, 2003, 3:43:56 PM9/5/03
to
Hi,
Me again. Now I can step through the asp code, but I got
"Unable to evaluate the expression. The remote debugger is not an acceptable version." error when I tried to evaluate the value from command window and watch window.
 
Any suggestion?
 
ILN
 
 
I think I solve the problem=). it looks like that if I enabled the ii5 isolation mode in IIS 6, the right dllhost appeared on the available processes list box in the vsnet 2003, then I can attach the debugger to debug the running documents.

am I correct about the solution ?


FYI - the step to enable the IIS 5  isolation mode (extracted from IIS help )
To configure IIS for worker process isolation mode

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


"Invalidlastname" <
invalid...@toomanyvalidations.page> wrote in message news:OdP$NP9cDH...@TK2MSFTNGP11.phx.gbl...

Semenov Stas

unread,
Sep 8, 2003, 4:35:24 AM9/8/03
to
Try to use Ultimate Script Debugger IDE for debugging ASP/HTML/WSH from
http://www.script-debugger.com


Tian Min Huang

unread,
Sep 8, 2003, 6:55:49 AM9/8/03
to
Hi ILN,

Based on my experience and research, I did not find any known issue about
this problem. I recommend you create a dummy ASP .NET project to debug the
ASP pages:

1. Create an ASP .NET project in VS .NET 2003, add ASP pages to the project.
2. In Solution Explorer, right-click the project and select Properties.
3. Go to Configuration Properties -> Debugging.
4. Set Enable ASP Debugging to True.
5. Input an ASP page to Start Page.

Please check it on my side. I look forward to your response.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! – www.microsoft.com/security
This posting is provided “as is” with no warranties and confers no rights.

Invalidlastname

unread,
Sep 9, 2003, 12:19:31 PM9/9/03
to
Hi,
Thanks for the response. I followed the steps you suggested and here are what happened:
 
1- Created an empty web project and used a virtual directory located under wwwroot
2- added an ASP page and set it to start page
3- enabled the asp debugging in the configuration properties
4- started the application with debugging and got the error
"Error while trying to run project: Unable to start the debugging.
ASP debugging is disabled because the ASP process is running as a user that does not have debug permissions."
5- added  "network service" to "debugger users" group
6- started the application again and got different error:
"Error while trying to run the project: Unable to start debugging on the web server. The project is not configured to be debugged". I verified the Enable ASP debugging was checked in the configuration properties setting and I also enabled the asp debugging from IIS MMC still got the same error.
 
I stopped here. The good news is as I posted before, I can easily attach the debugger to dllhost process if I change the IIS 6 isolation mode to "Run WWW service in IIS 5.0 isolation mode". In that case, I just need to fire the vs.net and attach the debugger to process, no need to create an empty web project for debugging. I also have no trouble to debug the ASP.NET applications from vs.net
 
any suggestions?
 
ILN 
 
 
 
> Hi ILN,
>
> Based on my experience and research, I did not find any known issue about
> this problem. I recommend you create a dummy ASP .NET project to debug the
> ASP pages:
>
> 1. Create an ASP .NET project in VS .NET 2003, add ASP pages to the project.
> 2. In Solution Explorer, right-click the project and select Properties.
> 3. Go to Configuration Properties -> Debugging.
> 4. Set Enable ASP Debugging to True.
> 5. Input an ASP page to Start Page.
>
> Please check it on my side. I look forward to your response.
>
> Have a nice day!
>
> Regards,
>
> HuangTM
> Microsoft Online Partner Support
> MCSE/MCSD
>
> Get Secure! ¨C www.microsoft.com/security

Tian Min Huang

unread,
Sep 10, 2003, 5:49:16 AM9/10/03
to
Hi,

Thanks for your response. Please refer to the article below where there is
a list we should check when we fail to debug on the web server:

Error: Unable to Start Debugging on the Web Server
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/htm
l/vxtbshttpservererrors.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! – www.microsoft.com/security

0 new messages