Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 8th, 2007, 11:09 PM
Friend of Wrox
 
Join Date: Oct 2005
Posts: 124
Thanks: 0
Thanked 1 Time in 1 Post
Default Unable to start debugging on the web server

Just start to test a VS.net 2002 project for ASP.net application.
After successfully installed the VS.net 2002 and tested the
IIS 5.1 on XP Pro SP2 for some classical
ASP programs, I started to build ASP.net programs.

For a new ASP.net project, an error message (i.e Unable to start
debugging on the web server) popped out. I disabled the ASP.net
debugging for 3-4 projects. However, I either could not see the
ASP.net Server-side design page, or could not run the
Server-side codes/buttons.

I did re-install VS.net 2002 twice; but the error message is still the
same. The complete error message is:

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 VS.net server
environment. 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 debuggiong
topic in the online documentation. Would you like to disable future
attempts to debug ASP.net pages for this project? Yes. No, Help?

My questions: 1. On the Debug menu, there are two commands, Start and
Start w/o debug. What's the difference between these two commands?
Can we run ASP.net programs without debugging the codes first?
2. How can I start VS.net 2002 debugging on my IIS 5.1?

TIA,
Jeffrey
__________________
C. Jeffrey Wang
 
Old March 9th, 2007, 09:30 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Start w/o debugging means that the code will ingore any hooks you place in code so, if you have a section of problematic code and want to see whats going on in it, you will not be able to step into it.

I have had this problem before, but, only when working with a remote server. The one time I had this problem with my machine, it had to do with the fact that I had 2 versions of .NET installed in IIS 1.1 and 2.0.

The directory that had my application (designed in 1.1) was configured to execute with the 2.0 framework and Visual Studio couldn't start debugging on my project because of this. I configured the directory to run under 1.1 and everything worked fine.

Visual Studio should give you links to the MSDN when you get that error, read EVERYTHING on that page because there are multiple reasons why this would fail.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old March 10th, 2007, 11:28 AM
Friend of Wrox
 
Join Date: Oct 2005
Posts: 124
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks.

How do I know my ASP.net applications is configured to execute with the right version of .NET Framework? Where to review the directory to run under ?

TIA,
Jeffrey
 
Old March 11th, 2007, 10:22 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Bring up the properties of the virtual folder or website in IIS there is a tab that says ASP.NET there will be a drop down box on that page that contains all versions of the framework installed on the machine. you can select the version you want to use from there.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old March 16th, 2007, 11:18 PM
Friend of Wrox
 
Join Date: Oct 2005
Posts: 124
Thanks: 0
Thanked 1 Time in 1 Post
Default

I could not see the ASP.net tab on my IIS adm desktop. I finally solved the problem. VS.net 2002 can not use .NETFramework 1.1. I had to use regiis.exe to create the mapping for my VS.net 2002 to NetFrameowrk 1.0.

Thanks for the information.

Jeffrey





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to start debugging on the web server khautinh .NET Web Services 1 November 8th, 2005 08:20 PM
Unable to start debugging on the Web server abinashpatra ASP.NET 1.0 and 1.1 Basics 1 March 31st, 2005 02:33 AM
Why unable to start debugging on the web server Lillian ASP.NET 1.x and 2.0 Application Design 6 July 29th, 2004 10:10 AM
Unable to start debugging on the web server DennisBKeith BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 4 July 11th, 2003 04:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.