Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 31st, 2004, 06:06 PM
Registered User
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Created New Project now get Unable to Debug messag

Ok, a few minutes ago I created the chapter 14 web form that had just the simple text input box with validation and a submit button. First time I ran it I got the Error while trying to run project: Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging. etc. I followed the instructions someone gave about running aspnet_regiis.exe and that took care of the problem. Now the button shows up and submits properly. So I go on to the Acme Loan Slicer example, create a new ASP project, follow all the steps to create the web form, and when I run it I get the same message. Is this a general problem? Every time you create a new web project you have to reinstall something or reconfigure something? I tried running the aspnet_regiis again and this time it didnt help. Any ideas? Thanks! :)

 
Old March 31st, 2004, 06:13 PM
Registered User
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If I run it from the browser at localhost it seems to work, but I cant run it from VS.

 
Old April 1st, 2004, 01:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

You shouldn't get this every time that you create a new project. Did you check the application mappings for the .aspx extensions in IIS?

If you keep having problems, you might try uninstalling VS and IIS and reinstalling them.

J
 
Old April 1st, 2004, 09:50 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Are you debugging on purpose? Try turning debugging off in the web.config file.

 
Old April 1st, 2004, 11:31 PM
Registered User
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not trying to debug the web form per se, I'm just trying to run it. It runs fine in a browser from localhost but when I hit the start button in VS it says it can't start ASP.NET. If it runs from the browser then obviously ASP is running. I have it in Release mode, I've rebuilt both the web app and the solution. I turned off debug in web.config. What is VS looking for that it thinks ASP isn't running when it is? Does something need to be configured for VS to recognize ASP? Is that what I did when I ran that reg program and if so why did it only work for that first ASP project I created? I'm baffled. I think aspx is mapped correctly. I checked in Internet Information Services. Will try uninstall and reinstall.

 
Old April 2nd, 2004, 07:21 PM
Registered User
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, I reinstalled. Now when I load a wrox project it says the project is not configured for debug. It says I need a valid web.config file and debug needs to be set to "true" in the file. There IS a vaild web.config file and debug IS set to "true". I don't understand what it wants.






Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to run my project ajeetmittal General .NET 0 June 11th, 2007 05:41 AM
Unable to get the project file from the server suryasimha ASP.NET 1.0 and 1.1 Professional 0 May 18th, 2007 01:45 PM
Unable to debug ASP.Net project... muskaanbajaj ASP.NET 1.0 and 1.1 Professional 0 December 3rd, 2005 01:24 AM
Unable to get the project etc.. MoeShall BOOK: ASP.NET Website Programming Problem-Design-Solution 1 April 8th, 2005 07:12 AM
Novice unable to debug in Visual Studio.NET hchlebowski VB.NET 2002/2003 Basics 1 February 6th, 2005 12:14 AM





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