By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 701 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

Classic ASP Debugging with VS.NET installed

P: n/a
Can someone tell me to what process I need to attach to be able to step
through my classic ASP code in VS.net 2003. I'm working on an XP box with
IIS installed. I also have VS.net 2005 (The final, never installed beta)
installed on this box if it makes a difference (I did not install VS
Development Web Server as I'm already using the XP web server).

I've seen that I need to attach to the native IIS engine, but I don't know
what it's called for XP Pro's version of it.

I still have Interdev installed but I have aspx pages and project in that
virtual web, so I'm assuming that I cannot use it to attach to the ASP,
since I believe it is no longer a FrontPage web. It was never a ASP virtual
web but to save a little time I wanted to use the classic ASP pages from
another one of our applications. It's turning out to be not so easy as I
need to add a field to one of the tables and cannot step through the code.

Thanks in advance!
Velvet
Nov 30 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
http://www.devx.com/tips/Tip/18204

--
Daniel Fisher(lennybacon)
http://www.lennybacon.com
"Velvet" <ve****@newsgroups.nospam> wrote in message
news:O5**************@TK2MSFTNGP09.phx.gbl...
Can someone tell me to what process I need to attach to be able to step
through my classic ASP code in VS.net 2003. I'm working on an XP box with
IIS installed. I also have VS.net 2005 (The final, never installed beta)
installed on this box if it makes a difference (I did not install VS
Development Web Server as I'm already using the XP web server).

I've seen that I need to attach to the native IIS engine, but I don't know
what it's called for XP Pro's version of it.

I still have Interdev installed but I have aspx pages and project in that
virtual web, so I'm assuming that I cannot use it to attach to the ASP,
since I believe it is no longer a FrontPage web. It was never a ASP
virtual web but to save a little time I wanted to use the classic ASP
pages from another one of our applications. It's turning out to be not so
easy as I need to add a field to one of the tables and cannot step through
the code.

Thanks in advance!
Velvet

Nov 30 '05 #2

P: n/a
Hi Velvet,

Welcome to ASPNET newsgroup.
Regarding on the classic ASP page debugging question you mentioned, based
on my experience, this is possible in VS.NET 2003 ide. However, due to the
difference from classic ASP and asp.net or other strong code based
application, (ASP is script based server application , so its debugging is
script debugging... while other application is strong code which has symbol
with the compiled native code image....). So when doing script debugging,
the IDE will need to do some initialization operation for supporting script
debugging while it is not done when we manually attach the ASP
component(asp.dll)'s host process (dllhost.exe... or w3wp on IIS6)..

If you do need to debug ASP page in VS.NET 2003 IDE, you can just set the
Eable ASP debugging in the asp.net project's properties to true and make
sure the process idenitity in IIS has the sufficient permission. After
that, just hit F5 to debug the asp page.....

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Velvet" <ve****@newsgroups.nospam>
| Subject: Classic ASP Debugging with VS.NET installed
| Date: Tue, 29 Nov 2005 16:39:22 -0800
| Lines: 20
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| Message-ID: <O5**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: c-67-182-150-8.hsd1.wa.comcast.net 67.182.150.8
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP09.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:361662
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Can someone tell me to what process I need to attach to be able to step
| through my classic ASP code in VS.net 2003. I'm working on an XP box
with
| IIS installed. I also have VS.net 2005 (The final, never installed beta)
| installed on this box if it makes a difference (I did not install VS
| Development Web Server as I'm already using the XP web server).
|
| I've seen that I need to attach to the native IIS engine, but I don't
know
| what it's called for XP Pro's version of it.
|
| I still have Interdev installed but I have aspx pages and project in that
| virtual web, so I'm assuming that I cannot use it to attach to the ASP,
| since I believe it is no longer a FrontPage web. It was never a ASP
virtual
| web but to save a little time I wanted to use the classic ASP pages from
| another one of our applications. It's turning out to be not so easy as I
| need to add a field to one of the tables and cannot step through the code.
|
| Thanks in advance!
| Velvet
|
|
|

Nov 30 '05 #3

P: n/a
HI Steven,
I have the same kind of problem. I too have a similar situation but
don' thave visual interdev to debug my classic ASP pages. I have visual
studio.net 2003 and i have created a VB project and attached all of my
files(downloaded from VSS) now i have a solution file too. I have
enabled ASP debugging on the project properties wizard and hit F5 but
it still complaining about
"Error while trying to run project:Unable to start debugging on the
webserver. The project is not configured to be debugged"

Any clue on how to resolve this issue?
thanks
-L
Steven Cheng[MSFT] wrote:
Hi Velvet,

Welcome to ASPNET newsgroup.
Regarding on the classic ASP page debugging question you mentioned, based
on my experience, this is possible in VS.NET 2003 ide. However, due to the
difference from classic ASP and asp.net or other strong code based
application, (ASP is script based server application , so its debugging is
script debugging... while other application is strong code which has symbol
with the compiled native code image....). So when doing script debugging,
the IDE will need to do some initialization operation for supporting script
debugging while it is not done when we manually attach the ASP
component(asp.dll)'s host process (dllhost.exe... or w3wp on IIS6)..

If you do need to debug ASP page in VS.NET 2003 IDE, you can just set the
Eable ASP debugging in the asp.net project's properties to true and make
sure the process idenitity in IIS has the sufficient permission. After
that, just hit F5 to debug the asp page.....

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Velvet" <ve****@newsgroups.nospam>
| Subject: Classic ASP Debugging with VS.NET installed
| Date: Tue, 29 Nov 2005 16:39:22 -0800
| Lines: 20
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| Message-ID: <O5**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: c-67-182-150-8.hsd1.wa.comcast.net 67.182.150.8
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP09.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:361662
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Can someone tell me to what process I need to attach to be able to step
| through my classic ASP code in VS.net 2003. I'm working on an XP box
with
| IIS installed. I also have VS.net 2005 (The final, never installed beta)
| installed on this box if it makes a difference (I did not install VS
| Development Web Server as I'm already using the XP web server).
|
| I've seen that I need to attach to the native IIS engine, but I don't
know
| what it's called for XP Pro's version of it.
|
| I still have Interdev installed but I have aspx pages and project in that
| virtual web, so I'm assuming that I cannot use it to attach to the ASP,
| since I believe it is no longer a FrontPage web. It was never a ASP
virtual
| web but to save a little time I wanted to use the classic ASP pages from
| another one of our applications. It's turning out to be not so easy as I
| need to add a field to one of the tables and cannot step through the code.
|
| Thanks in advance!
| Velvet
|
|
|


Nov 30 '05 #4

P: n/a
Thank you so much!!!! this helped a bunch!
"Daniel Fisher(lennybacon)" <in**@lennybacon.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
http://www.devx.com/tips/Tip/18204

--
Daniel Fisher(lennybacon)
http://www.lennybacon.com
"Velvet" <ve****@newsgroups.nospam> wrote in message
news:O5**************@TK2MSFTNGP09.phx.gbl...
Can someone tell me to what process I need to attach to be able to step
through my classic ASP code in VS.net 2003. I'm working on an XP box
with IIS installed. I also have VS.net 2005 (The final, never installed
beta) installed on this box if it makes a difference (I did not install
VS Development Web Server as I'm already using the XP web server).

I've seen that I need to attach to the native IIS engine, but I don't
know what it's called for XP Pro's version of it.

I still have Interdev installed but I have aspx pages and project in that
virtual web, so I'm assuming that I cannot use it to attach to the ASP,
since I believe it is no longer a FrontPage web. It was never a ASP
virtual web but to save a little time I wanted to use the classic ASP
pages from another one of our applications. It's turning out to be not
so easy as I need to add a field to one of the tables and cannot step
through the code.

Thanks in advance!
Velvet


Nov 30 '05 #5

P: n/a
Hi Learner,

There is actually no ASP project in VS2003, only asp.net project. So your
asp pages should be put in an ASP.NET project, then make sure both ASP
debugging and ASP.NET debugging is enabled. After that, try again to see
whether it works or get any other errors(e.g secuirty related....)
Also, you can have a look at the article Daniel has provideded:

http://www.devx.com/tips/Tip/18204

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Learner" <pr****@gmail.com>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: Classic ASP Debugging with VS.NET installed
| Date: 30 Nov 2005 10:16:04 -0800
| Organization: http://groups.google.com
| Lines: 85
| Message-ID: <11*********************@f14g2000cwb.googlegroups. com>
| References: <O5**************@TK2MSFTNGP09.phx.gbl>
| <Bb*************@TK2MSFTNGXA02.phx.gbl>
| NNTP-Posting-Host: 12.20.109.210
| Mime-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-1"
| X-Trace: posting.google.com 1133374569 3493 127.0.0.1 (30 Nov 2005
18:16:09 GMT)
| X-Complaints-To: gr**********@google.com
| NNTP-Posting-Date: Wed, 30 Nov 2005 18:16:09 +0000 (UTC)
| In-Reply-To: <Bb*************@TK2MSFTNGXA02.phx.gbl>
| User-Agent: G2/0.2
| X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
..NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
| Complaints-To: gr**********@google.com
| Injection-Info: f14g2000cwb.googlegroups.com; posting-host=12.20.109.210;
| posting-account=irju6Q0AAAC5V-HoPeMK27QXbNHYCIpW
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.d ca.giganews.com!nntp.gigan
ews.com!postnews.google.com!f14g2000cwb.googlegrou ps.com!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:361833
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| HI Steven,
| I have the same kind of problem. I too have a similar situation but
| don' thave visual interdev to debug my classic ASP pages. I have visual
| studio.net 2003 and i have created a VB project and attached all of my
| files(downloaded from VSS) now i have a solution file too. I have
| enabled ASP debugging on the project properties wizard and hit F5 but
| it still complaining about
| "Error while trying to run project:Unable to start debugging on the
| webserver. The project is not configured to be debugged"
|
| Any clue on how to resolve this issue?
| thanks
| -L
| Steven Cheng[MSFT] wrote:
| > Hi Velvet,
| >
| > Welcome to ASPNET newsgroup.
| > Regarding on the classic ASP page debugging question you mentioned,
based
| > on my experience, this is possible in VS.NET 2003 ide. However, due to
the
| > difference from classic ASP and asp.net or other strong code based
| > application, (ASP is script based server application , so its debugging
is
| > script debugging... while other application is strong code which has
symbol
| > with the compiled native code image....). So when doing script
debugging,
| > the IDE will need to do some initialization operation for supporting
script
| > debugging while it is not done when we manually attach the ASP
| > component(asp.dll)'s host process (dllhost.exe... or w3wp on IIS6)..
| >
| > If you do need to debug ASP page in VS.NET 2003 IDE, you can just set
the
| > Eable ASP debugging in the asp.net project's properties to true and make
| > sure the process idenitity in IIS has the sufficient permission. After
| > that, just hit F5 to debug the asp page.....
| >
| > Hope helps. Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | From: "Velvet" <ve****@newsgroups.nospam>
| > | Subject: Classic ASP Debugging with VS.NET installed
| > | Date: Tue, 29 Nov 2005 16:39:22 -0800
| > | Lines: 20
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| > | X-RFC2646: Format=Flowed; Original
| > | Message-ID: <O5**************@TK2MSFTNGP09.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: c-67-182-150-8.hsd1.wa.comcast.net 67.182.150.8
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP09.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:361662
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Can someone tell me to what process I need to attach to be able to
step
| > | through my classic ASP code in VS.net 2003. I'm working on an XP box
| > with
| > | IIS installed. I also have VS.net 2005 (The final, never installed
beta)
| > | installed on this box if it makes a difference (I did not install VS
| > | Development Web Server as I'm already using the XP web server).
| > |
| > | I've seen that I need to attach to the native IIS engine, but I don't
| > know
| > | what it's called for XP Pro's version of it.
| > |
| > | I still have Interdev installed but I have aspx pages and project in
that
| > | virtual web, so I'm assuming that I cannot use it to attach to the
ASP,
| > | since I believe it is no longer a FrontPage web. It was never a ASP
| > virtual
| > | web but to save a little time I wanted to use the classic ASP pages
from
| > | another one of our applications. It's turning out to be not so easy
as I
| > | need to add a field to one of the tables and cannot step through the
code.
| > |
| > | Thanks in advance!
| > | Velvet
| > |
| > |
| > |
|
|

Dec 1 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.