473,406 Members | 2,390 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,406 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 2915
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 it? I have VS 2003 and 2005 installed, I know VS...
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 with debugging. I always get the error "Unable to...
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 bit different from them. When I tried to run the...
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 on a Windows 2000 Server server. Does anyone know...
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 debug mode. When I attempt to do so now, I get...
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: Debugging Web Parts:...
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 mind when you see a posting like this on any...
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 installed. Should I be able to use either of those...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.