472,325 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Classic ASP Debugging with VS.NET installed

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
5 2796
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: olav_net | last post by:
Hi I am a .NET developer, but "have to" work with some classic ASP, which I don't know much about. What is the best way to work with it/debug...
5
by: Don Hans | last post by:
Gents, Have .Net2003 Enterprise architect installed on a Win2k Server with IIS. Even logged in as administrator, I cannot run any ASP.NET app...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a...
6
by: John | last post by:
Hello. I believe I've read somewhere that classic .asp pages will still operate correctly with no problems with the .NET 1.1 framework installed...
3
by: Herb | last post by:
while trying to run this project. I recently loaded VS2005 onto my WinXP Pro computer. Prior to that I was able to start my VS2003 ASP.NET apps in...
1
by: CK | last post by:
Hello All, I have been trying to setup remote debugging for web part development by running through the steps in the following documentation:...
5
by: =?Utf-8?B?SmltIFJvZGdlcnM=?= | last post by:
My question is simple: How does one debug ASP Classic with Microsoft Visual Web Developer Express 2005 ("VWD")? Looming in the back of anyone's...
4
by: Waldy | last post by:
Hi there, I have spent the last three days trying to get b&st&rd Visual Interdev debugging again but to no avail. I also have VS 2003 and 2005...
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,...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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.