473,320 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

QUERY: debugging ASP VBScript

I am currently developing a website in ASP (VBScript) using MS Visual C#.NET
IDE. I just create a new "ASP.NET Web Application" and point to my local
webserver (IIS) of my website address. Then I just go through each
file/folder and right-click, selecting "Include in project". The IDE is nice
in that it checks, verifies id tags, etc. What am wondering is whether it's
possible to debug my ASP website using the MS Visual Studio.NET's debugger.

I did a google search for 'debugging ASP VBScript' and got:

http://www.microsoft.com/windows2000...p/iiwadbug.htm

It seems possible, however I can't seem to get it working.

Anyway knows how to debug ASP scripts efficiently?
Jan 23 '06 #1
6 2473
See if this article Helps. It outlines what you have to do. Ask if you are
not able to understand the settings
http://www.devx.com/tips/Tip/18204

Regards,

Trevor Benedict R
MCSD

"KevinGPO" <ke******@hotmail.com> wrote in message
news:e2****************@TK2MSFTNGP12.phx.gbl...
I am currently developing a website in ASP (VBScript) using MS Visual
C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my
local webserver (IIS) of my website address. Then I just go through each
file/folder and right-click, selecting "Include in project". The IDE is
nice in that it checks, verifies id tags, etc. What am wondering is whether
it's possible to debug my ASP website using the MS Visual Studio.NET's
debugger.

I did a google search for 'debugging ASP VBScript' and got:

http://www.microsoft.com/windows2000...p/iiwadbug.htm

It seems possible, however I can't seem to get it working.

Anyway knows how to debug ASP scripts efficiently?

Jan 23 '06 #2
Excellent article. I followed it through exactly to the instructions.
However I get this:

Unable to automatically configure and launch remote debugging because of an
incompatibility between versions of Internet Information Server (IIS) on the
client and the server. The usual cause for this error is attempting to debug
ASP pages on an IIS4 server from a Windows 2000 client. In order to debug
ASP pages, you should not continue launching the debugger. Instead, you
should enable debugging manually on the server as described in the
Troubleshooting topic of the Visual Studio documentation.

Unable to set server into correct debugging state automatically. You may not
be able to debug ASP pages. Do you want to continue launching the debugger?

Yes No Help

Error while trying to run project: Unable to start debugging on the web
server. The server does not support debugging of ASP.NET or ATL Server
applications. Run setup to install the Visual Studio .NET server components.
If setup has been run verify that a valid URL has been specified.

You may also want to refer to the ASP.NET and ATL Server debugging topic in
the online documentation. Would you like to disable future attempts to debug
ASP.NET pages for this project?

"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:OT**************@tk2msftngp13.phx.gbl...
See if this article Helps. It outlines what you have to do. Ask if you are
not able to understand the settings
http://www.devx.com/tips/Tip/18204

Regards,

Trevor Benedict R
MCSD

"KevinGPO" <ke******@hotmail.com> wrote in message
news:e2****************@TK2MSFTNGP12.phx.gbl...
I am currently developing a website in ASP (VBScript) using MS Visual
C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my
local webserver (IIS) of my website address. Then I just go through each
file/folder and right-click, selecting "Include in project". The IDE is
nice in that it checks, verifies id tags, etc. What am wondering is
whether it's possible to debug my ASP website using the MS Visual
Studio.NET's debugger.

I did a google search for 'debugging ASP VBScript' and got:

http://www.microsoft.com/windows2000...p/iiwadbug.htm

It seems possible, however I can't seem to get it working.

Anyway knows how to debug ASP scripts efficiently?


Jan 24 '06 #3
To manually attach, follow the steps.
1. Browse to one of the Pages within the website that you are trying to
debug. This will start the IIS Process if not already started.
2. Within Visual Studio, Click on Debug--> Process Menu
3. Make sure that Show System Process is checked.
4. ASP Applications are hosted by the dllhost.exe process. If you have
defined an application name in IIS (Virtual directory properties, then you
shouold see it here, else sort by the process and click on the dllhost.exe
(all if you are not sure) and click on attach. You have to do this one by
one.
5. Click on the Close button
6. Set the Breakpoints in the ASP code
7. Navigate to the page.
8. Click on Visual Studio, sometimes you might get a message box which has
to be dismissed before the page can continue to the breakpoint.

Let me know what you get. I use this method all the time. When applications
becomes complex, you don't want to Login, locate the menu, make a couple of
dropdown selections to hit the break point. Hence I have the web application
running and whenever I want to debug I follow these steps and when I don't
want the debugger, I click on the Stop button or the dettach all menu from
the Debug Menu.

Regards,

Trevor Benedict R
MCSD
"KevinGPO" <ke******@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP09.phx.gbl...
Excellent article. I followed it through exactly to the instructions.
However I get this:

Unable to automatically configure and launch remote debugging because of
an incompatibility between versions of Internet Information Server (IIS)
on the client and the server. The usual cause for this error is attempting
to debug ASP pages on an IIS4 server from a Windows 2000 client. In order
to debug ASP pages, you should not continue launching the debugger.
Instead, you should enable debugging manually on the server as described
in the Troubleshooting topic of the Visual Studio documentation.

Unable to set server into correct debugging state automatically. You may
not be able to debug ASP pages. Do you want to continue launching the
debugger?

Yes No Help

Error while trying to run project: Unable to start debugging on the web
server. The server does not support debugging of ASP.NET or ATL Server
applications. Run setup to install the Visual Studio .NET server
components. If setup has been run verify that a valid URL has been
specified.

You may also want to refer to the ASP.NET and ATL Server debugging topic
in the online documentation. Would you like to disable future attempts to
debug ASP.NET pages for this project?

"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:OT**************@tk2msftngp13.phx.gbl...
See if this article Helps. It outlines what you have to do. Ask if you
are not able to understand the settings
http://www.devx.com/tips/Tip/18204

Regards,

Trevor Benedict R
MCSD

"KevinGPO" <ke******@hotmail.com> wrote in message
news:e2****************@TK2MSFTNGP12.phx.gbl...
I am currently developing a website in ASP (VBScript) using MS Visual
C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my
local webserver (IIS) of my website address. Then I just go through each
file/folder and right-click, selecting "Include in project". The IDE is
nice in that it checks, verifies id tags, etc. What am wondering is
whether it's possible to debug my ASP website using the MS Visual
Studio.NET's debugger.

I did a google search for 'debugging ASP VBScript' and got:

http://www.microsoft.com/windows2000...p/iiwadbug.htm

It seems possible, however I can't seem to get it working.

Anyway knows how to debug ASP scripts efficiently?



Jan 24 '06 #4
Make sure the HTTP Keep-Alives Enabled is checked for the default website. I
normally have this unchecked so that I do not hit the connection limit.
Seems like Visual Studio Debugger does not work with this unchecked.

I also found another article
http://www.gotdotnet.com/team/csharp...erproblems.doc .

Regards,

Trevor Benedict R
MCSD

"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:eB**************@TK2MSFTNGP11.phx.gbl...
To manually attach, follow the steps.
1. Browse to one of the Pages within the website that you are trying to
debug. This will start the IIS Process if not already started.
2. Within Visual Studio, Click on Debug--> Process Menu
3. Make sure that Show System Process is checked.
4. ASP Applications are hosted by the dllhost.exe process. If you have
defined an application name in IIS (Virtual directory properties, then you
shouold see it here, else sort by the process and click on the dllhost.exe
(all if you are not sure) and click on attach. You have to do this one by
one.
5. Click on the Close button
6. Set the Breakpoints in the ASP code
7. Navigate to the page.
8. Click on Visual Studio, sometimes you might get a message box which has
to be dismissed before the page can continue to the breakpoint.

Let me know what you get. I use this method all the time. When
applications becomes complex, you don't want to Login, locate the menu,
make a couple of dropdown selections to hit the break point. Hence I have
the web application running and whenever I want to debug I follow these
steps and when I don't want the debugger, I click on the Stop button or
the dettach all menu from the Debug Menu.

Regards,

Trevor Benedict R
MCSD
"KevinGPO" <ke******@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP09.phx.gbl...
Excellent article. I followed it through exactly to the instructions.
However I get this:

Unable to automatically configure and launch remote debugging because of
an incompatibility between versions of Internet Information Server (IIS)
on the client and the server. The usual cause for this error is
attempting to debug ASP pages on an IIS4 server from a Windows 2000
client. In order to debug ASP pages, you should not continue launching
the debugger. Instead, you should enable debugging manually on the server
as described in the Troubleshooting topic of the Visual Studio
documentation.

Unable to set server into correct debugging state automatically. You may
not be able to debug ASP pages. Do you want to continue launching the
debugger?

Yes No Help

Error while trying to run project: Unable to start debugging on the web
server. The server does not support debugging of ASP.NET or ATL Server
applications. Run setup to install the Visual Studio .NET server
components. If setup has been run verify that a valid URL has been
specified.

You may also want to refer to the ASP.NET and ATL Server debugging topic
in the online documentation. Would you like to disable future attempts to
debug ASP.NET pages for this project?

"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:OT**************@tk2msftngp13.phx.gbl...
See if this article Helps. It outlines what you have to do. Ask if you
are not able to understand the settings
http://www.devx.com/tips/Tip/18204

Regards,

Trevor Benedict R
MCSD

"KevinGPO" <ke******@hotmail.com> wrote in message
news:e2****************@TK2MSFTNGP12.phx.gbl...
I am currently developing a website in ASP (VBScript) using MS Visual
C#.NET IDE. I just create a new "ASP.NET Web Application" and point to
my local webserver (IIS) of my website address. Then I just go through
each file/folder and right-click, selecting "Include in project". The
IDE is nice in that it checks, verifies id tags, etc. What am wondering
is whether it's possible to debug my ASP website using the MS Visual
Studio.NET's debugger.

I did a google search for 'debugging ASP VBScript' and got:

http://www.microsoft.com/windows2000...p/iiwadbug.htm

It seems possible, however I can't seem to get it working.

Anyway knows how to debug ASP scripts efficiently?



Jan 24 '06 #5
I think this solved it. I used this and it seemed to work. I managed to stop
at a breakpoint. Without the dllhost.exe attached, it would not stop at the
breakpoint.

Thanks ever so much. Your help most appreciated!

Kev
"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:eB**************@TK2MSFTNGP11.phx.gbl...
To manually attach, follow the steps.
1. Browse to one of the Pages within the website that you are trying to
debug. This will start the IIS Process if not already started.
2. Within Visual Studio, Click on Debug--> Process Menu
3. Make sure that Show System Process is checked.
4. ASP Applications are hosted by the dllhost.exe process. If you have
defined an application name in IIS (Virtual directory properties, then you
shouold see it here, else sort by the process and click on the dllhost.exe
(all if you are not sure) and click on attach. You have to do this one by
one.
5. Click on the Close button
6. Set the Breakpoints in the ASP code
7. Navigate to the page.
8. Click on Visual Studio, sometimes you might get a message box which has
to be dismissed before the page can continue to the breakpoint.

Let me know what you get. I use this method all the time. When
applications becomes complex, you don't want to Login, locate the menu,
make a couple of dropdown selections to hit the break point. Hence I have
the web application running and whenever I want to debug I follow these
steps and when I don't want the debugger, I click on the Stop button or
the dettach all menu from the Debug Menu.

Regards,

Trevor Benedict R
MCSD
"KevinGPO" <ke******@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP09.phx.gbl...
Excellent article. I followed it through exactly to the instructions.
However I get this:

Unable to automatically configure and launch remote debugging because of
an incompatibility between versions of Internet Information Server (IIS)
on the client and the server. The usual cause for this error is
attempting to debug ASP pages on an IIS4 server from a Windows 2000
client. In order to debug ASP pages, you should not continue launching
the debugger. Instead, you should enable debugging manually on the server
as described in the Troubleshooting topic of the Visual Studio
documentation.

Unable to set server into correct debugging state automatically. You may
not be able to debug ASP pages. Do you want to continue launching the
debugger?

Yes No Help

Error while trying to run project: Unable to start debugging on the web
server. The server does not support debugging of ASP.NET or ATL Server
applications. Run setup to install the Visual Studio .NET server
components. If setup has been run verify that a valid URL has been
specified.

You may also want to refer to the ASP.NET and ATL Server debugging topic
in the online documentation. Would you like to disable future attempts to
debug ASP.NET pages for this project?

"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:OT**************@tk2msftngp13.phx.gbl...
See if this article Helps. It outlines what you have to do. Ask if you
are not able to understand the settings
http://www.devx.com/tips/Tip/18204

Regards,

Trevor Benedict R
MCSD

"KevinGPO" <ke******@hotmail.com> wrote in message
news:e2****************@TK2MSFTNGP12.phx.gbl...
I am currently developing a website in ASP (VBScript) using MS Visual
C#.NET IDE. I just create a new "ASP.NET Web Application" and point to
my local webserver (IIS) of my website address. Then I just go through
each file/folder and right-click, selecting "Include in project". The
IDE is nice in that it checks, verifies id tags, etc. What am wondering
is whether it's possible to debug my ASP website using the MS Visual
Studio.NET's debugger.

I did a google search for 'debugging ASP VBScript' and got:

http://www.microsoft.com/windows2000...p/iiwadbug.htm

It seems possible, however I can't seem to get it working.

Anyway knows how to debug ASP scripts efficiently?



Jan 25 '06 #6
Oh, I forgot to say.

I had to upgrade/install my .NET version to 1.1. Originally it was 1.0 and
the attaching host business didn't seem to have any effect. There wasn't
even any names for the dllhost application name. But after installing 1.1
..NET I was able to see the dllhost application name and attachment made an
effect to the debugging.

Maybe this should be added to that useful document and other well-known
troubleshooters.
Thanks

"KevinGPO" <ke******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I think this solved it. I used this and it seemed to work. I managed to
stop at a breakpoint. Without the dllhost.exe attached, it would not stop
at the breakpoint.

Thanks ever so much. Your help most appreciated!

Kev
"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:eB**************@TK2MSFTNGP11.phx.gbl...
To manually attach, follow the steps.
1. Browse to one of the Pages within the website that you are trying to
debug. This will start the IIS Process if not already started.
2. Within Visual Studio, Click on Debug--> Process Menu
3. Make sure that Show System Process is checked.
4. ASP Applications are hosted by the dllhost.exe process. If you have
defined an application name in IIS (Virtual directory properties, then
you shouold see it here, else sort by the process and click on the
dllhost.exe (all if you are not sure) and click on attach. You have to do
this one by one.
5. Click on the Close button
6. Set the Breakpoints in the ASP code
7. Navigate to the page.
8. Click on Visual Studio, sometimes you might get a message box which
has to be dismissed before the page can continue to the breakpoint.

Let me know what you get. I use this method all the time. When
applications becomes complex, you don't want to Login, locate the menu,
make a couple of dropdown selections to hit the break point. Hence I have
the web application running and whenever I want to debug I follow these
steps and when I don't want the debugger, I click on the Stop button or
the dettach all menu from the Debug Menu.

Regards,

Trevor Benedict R
MCSD
"KevinGPO" <ke******@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP09.phx.gbl...
Excellent article. I followed it through exactly to the instructions.
However I get this:

Unable to automatically configure and launch remote debugging because of
an incompatibility between versions of Internet Information Server (IIS)
on the client and the server. The usual cause for this error is
attempting to debug ASP pages on an IIS4 server from a Windows 2000
client. In order to debug ASP pages, you should not continue launching
the debugger. Instead, you should enable debugging manually on the
server as described in the Troubleshooting topic of the Visual Studio
documentation.

Unable to set server into correct debugging state automatically. You may
not be able to debug ASP pages. Do you want to continue launching the
debugger?

Yes No Help

Error while trying to run project: Unable to start debugging on the web
server. The server does not support debugging of ASP.NET or ATL Server
applications. Run setup to install the Visual Studio .NET server
components. If setup has been run verify that a valid URL has been
specified.

You may also want to refer to the ASP.NET and ATL Server debugging topic
in the online documentation. Would you like to disable future attempts
to debug ASP.NET pages for this project?

"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:OT**************@tk2msftngp13.phx.gbl...
See if this article Helps. It outlines what you have to do. Ask if you
are not able to understand the settings
http://www.devx.com/tips/Tip/18204

Regards,

Trevor Benedict R
MCSD

"KevinGPO" <ke******@hotmail.com> wrote in message
news:e2****************@TK2MSFTNGP12.phx.gbl...
>I am currently developing a website in ASP (VBScript) using MS Visual
>C#.NET IDE. I just create a new "ASP.NET Web Application" and point to
>my local webserver (IIS) of my website address. Then I just go through
>each file/folder and right-click, selecting "Include in project". The
>IDE is nice in that it checks, verifies id tags, etc. What am wondering
>is whether it's possible to debug my ASP website using the MS Visual
>Studio.NET's debugger.
>
> I did a google search for 'debugging ASP VBScript' and got:
>
> http://www.microsoft.com/windows2000...p/iiwadbug.htm
>
> It seems possible, however I can't seem to get it working.
>
> Anyway knows how to debug ASP scripts efficiently?
>



Jan 25 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: | last post by:
If I need to check if a certain value does exist in a field, and return either "yes" or "not" which query would be the most effestive?
2
by: Steve Anderson | last post by:
Please excuse my ignorance as I'm fairly new to ASP. We have IIS running on Win2000 and serving out an ASP application. I installed the script debugger tonight. IE6 on the machine has Disable...
14
by: John M | last post by:
Hello, In Microsoft Visual Studio .NET 2003, How can I debug javascript/vbscript codes (client side) ? Thanks :)
4
by: KevinGPO | last post by:
I am currently developing a website in ASP (VBScript) using MS Visual C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my local webserver (IIS) of my website address. Then I...
13
by: Arne Garvander | last post by:
Sometimes I get an exception in the browser and I get prompted to start Visual Studio 2005 for debugging. Sometimes I would like to start client side debugging on demand. How can I do that? --...
1
by: mm27603 | last post by:
I'm trying to do a simple query of an Oracle 10g database within some vbscript code. <% 'Get protocol information to display in dropdown list %> <!--#include file="dbconnect2.inc"--> <%...
5
by: rn5a | last post by:
Can someone please suggest me a text editor especially for DEBUGGING ASP scripts apart from Microsoft Visual Interdev? I tried using Visual Interdev & created a project but Interdev generates...
10
by: =?Utf-8?B?cmFjZTRzcGFjZQ==?= | last post by:
Hi, IIS is not displaying run time errors - the various debugging options (Enable Server Side Debugging, Send Errors to Browser) have been set to true in the IIS console. No Errors are sent to...
4
by: =?Utf-8?B?TWlrZSBHYWxl?= | last post by:
VS 2008 initially didn't debug classic ASP. SP1 fixes this in some ways. You can debug if you select the debug option to "Start Without Debugging, then either attach the debugger manually or...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.