Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Unable to start debugging on the web server


Message #1 by "Jack Dunstan" <jdunstan7@h...> on Wed, 4 Sep 2002 11:46:38 -0400
Hi, 

I can't get debugging to work with my Web applications.  I keep getting the error:

 "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 Visual Studio.Net server components.  If setup has been run verify that a valid URL has been specified. .... "

I have run setup several times I guess I keep missing something or messing something up.  All I have available is the Visual Studio
.Net Beta 2 installation disks (with the Windows Component Update Disk).  I am running Windows XP.

Can someone help point me to a few things I can check to see if I have installed what I need to, and if there are any other
configuration settings I need to set?
The Web.config file does have "debug=true" .

Thanks, any help is appreciated.
Jack

Message #2 by "Hovik Melkomian" <melvik@b...> on Thu, 5 Sep 2002 11:53:40 +0430
I have the same problem, but mine doesnot give error just doesnt stop in breakpoint
Dont know, I divided to reinstall .NET.
Any suggestion,
Hovik.
----- Original Message -----
From: "Jack Dunstan" <jdunstan7@h...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Wednesday, September 04, 2002 8:16 PM
Subject: [aspx_beginners] Unable to start debugging on the web server


Hi,

I can't get debugging to work with my Web applications.  I keep getting the error:

 "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 Visual Studio.Net server components.  If setup
has been run verify that a valid URL has been specified. .... "

I have run setup several times I guess I keep missing something or messing something up.  All I have
available is the Visual Studio .Net Beta 2 installation disks (with the Windows Component Update
Disk).  I am running Windows XP.

Can someone help point me to a few things I can check to see if I have installed what I need to, and
if there are any other configuration settings I need to set?
The Web.config file does have "debug=true" .

Thanks, any help is appreciated.
Jack


---
Beginning ASP.NET Databases using VB.NET
http://www.wrox.com/ACON11.asp?ISBN=1861006195

Beginning ASP.NET Databases using C#
http://www.wrox.com/ACON11.asp?ISBN=1861007418

These books look at how we can create data-centric ASP.NET
applications. Requiring some basic knowledge of ASP.NET,
Access and SQL the authors guide you through the process
of connecting and consuming information in a variety of
ways. They are packed full of excellent illustrative code
examples, demonstrating important fundamental principles.


Message #3 by "Michael Miner" <mminer@e...> on Mon, 16 Sep 2002 13:57:59
Jack, 

Same problem on Win2K Advanced Server. There are ZERO resources on 
Microsoft MSDN. Re-installed .NET, no change. Web.Config settings are 
correct. 

Pls let me know if you learn anything. I may have to call MS Tech Support 
and will advise if they have any idea what they're doing. Not holding my 
breath. 

MMiner


> Hi, 

I can't get debugging to work with my Web applications.  I keep getting 
the error:

 "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 Visual Studio.Net server components.  If setup has been run 
verify that a valid URL has been specified. .... "

I have run setup several times I guess I keep missing something or messing 
something up.  All I have available is the Visual Studio .Net Beta 2 
installation disks (with the Windows Component Update Disk).  I am running 
Windows XP.

Can someone help point me to a few things I can check to see if I have 
installed what I need to, and if there are any other configuration 
settings I need to set?
The Web.config file does have "debug=true" .

Thanks, any help is appreciated.
Jack

Message #4 by "Jack" <jdunstan7@h...> on Mon, 16 Sep 2002 13:44:42 -0400
Hi Michael,

Here's what I ended up doing - reformated my system drive, re-installed
everything, got the VS.Net release version (not the Beta 2 I was using) ,
and now things seem to be working fine, debugging, etc...  Sorry I can't be
of more help - I develop in multiple languages so who knows what "bit rot"
was lurking on my system drive, so I think for me it was just "cleaning" up.
Although if your having the same problem, I'm sure there's some other
"things" in the vs.net/.net sdk/IIS setup that might be the "gotchas".

Jack

----- Original Message -----
From: "Michael Miner" <mminer@e...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Monday, September 16, 2002 1:57 PM
Subject: [aspx_beginners] Re: Unable to start debugging on the web server


> Jack,
>
> Same problem on Win2K Advanced Server. There are ZERO resources on
> Microsoft MSDN. Re-installed .NET, no change. Web.Config settings are
> correct.
>
> Pls let me know if you learn anything. I may have to call MS Tech Support
> and will advise if they have any idea what they're doing. Not holding my
> breath.
>
> MMiner
>
>
> > Hi,
>
> I can't get debugging to work with my Web applications.  I keep getting
> the error:
>
>  "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 Visual Studio.Net server components.  If setup has been run
> verify that a valid URL has been specified. .... "
>
> I have run setup several times I guess I keep missing something or messing
> something up.  All I have available is the Visual Studio .Net Beta 2
> installation disks (with the Windows Component Update Disk).  I am running
> Windows XP.
>
> Can someone help point me to a few things I can check to see if I have
> installed what I need to, and if there are any other configuration
> settings I need to set?
> The Web.config file does have "debug=true" .
>
> Thanks, any help is appreciated.
> Jack
>
> ---
> Beginning ASP.NET Databases using VB.NET
> http://www.wrox.com/ACON11.asp?ISBN=1861006195
>
> Beginning ASP.NET Databases using C#
> http://www.wrox.com/ACON11.asp?ISBN=1861007418
>
> These books look at how we can create data-centric ASP.NET
> applications. Requiring some basic knowledge of ASP.NET,
> Access and SQL the authors guide you through the process
> of connecting and consuming information in a variety of
> ways. They are packed full of excellent illustrative code
> examples, demonstrating important fundamental principles.
>
Message #5 by "Michael Miner" <mminer@e...> on Mon, 16 Sep 2002 20:02:05
This is the procedure I used to get ASP.NET debugging working on a 
Win2K Advanced Server system. Your set of probs may be different. 
Microsoft is working on a bug release. Hope it helps.

----------------

1. Make sure your login (you or Administrator) is a member of the Debugger 
Users Group. Right click on My Computer, Select Manage. Under Local
Users and groups, open groups and double click on Debugger Users. Add
your login name to this group. 

2. In ASP.NET, start without debugging to confirm that IIS is running and
the URL for your aspx page is correct. Debug > Start Without Debugging. 
You may get a permissions error. 

3. Check to see whether the aspnet_wp.exe process is running. You can use
task manager under the process tab or in ASP.NET select Debug > Processes.
aspnet_wp.exe was not listed as as operating process on my box. 

4. Check that the correct extensions are present in IIS. Open the Internet
Services manager MMC snap-in and expand the server treeview until you see 
the Default Web Site. Right-click on the Default Web Site and select 
properties. Under the Home Directory tab click on the Configuration
button. Look for the extensions asax, ascx, ashx, asmx, aspx, and axd. 
They were not present on my system. 

5. Open the command line (cmd) and change the current directory to
C:\WINNT\Microsoft.NET\Framework\v1.0.3705. Enter
aspnet_regiis -i
and enter. This utility will register ASP.NET extensions in IIS.

6. Open the command line (cmd) and type 
iisreset
and enter to reset IIS. 

7. Make sure that c:\Inetpub and C:\Innetpub\wwwroot and your 
web site all have permissions for aspnet_wp account to 
allow 1) Read & Execute 2) List folder contents and 
3) Read. 

------------------------

Security Caution

8. machine.config: Security Caution
You can change the username in this file to SYSTEM, but it should be 
a last resort. Open 
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG\machine.config 
with a text editor such as Notepad. Find the XML node <processmodel>. 
Find the userName="machine" attribute and change the text string to 
userName="SYSTEM" (upper case). Save the file. 

9. Open the command line (cmd) and type 
iisreset
and enter to reset IIS. 

Break a leg - Michael

------------------------


> Hi, 

I can't get debugging to work with my Web applications.  I keep getting 
the error:

 "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 Visual Studio.Net server components.  If setup has been run 
verify that a valid URL has been specified. .... "

I have run setup several times I guess I keep missing something or messing 
something up.  All I have available is the Visual Studio .Net Beta 2 
installation disks (with the Windows Component Update Disk).  I am running 
Windows XP.

Can someone help point me to a few things I can check to see if I have 
installed what I need to, and if there are any other configuration 
settings I need to set?
The Web.config file does have "debug=true" .

Thanks, any help is appreciated.
Jack

Message #6 by ramaprasad upadhyaya <ramprasad_su@y...> on Mon, 16 Sep 2002 21:35:40 -0700 (PDT)
Hi, 
Please check this attachment containing possible debug error and their resolution. This should solve your problem. Please mail me
back if u r problem is solved.
 Jack wrote: Hi Michael,

Here's what I ended up doing - reformated my system drive, re-installed
everything, got the VS.Net release version (not the Beta 2 I was using) ,
and now things seem to be working fine, debugging, etc... Sorry I can't be
of more help - I develop in multiple languages so who knows what "bit rot"
was lurking on my system drive, so I think for me it was just "cleaning" up.
Although if your having the same problem, I'm sure there's some other
"things" in the vs.net/.net sdk/IIS setup that might be the "gotchas".

Jack

----- Original Message -----
From: "Michael Miner" 
To: "aspx_beginners" 
Sent: Monday, September 16, 2002 1:57 PM
Subject: [aspx_beginners] Re: Unable to start debugging on the web server


> Jack,
>
> Same problem on Win2K Advanced Server. There are ZERO resources on
> Microsoft MSDN. Re-installed .NET, no change. Web.Config settings are
> correct.
>
> Pls let me know if you learn anything. I may have to call MS Tech Support
> and will advise if they have any idea what they're doing. Not holding my
> breath.
>
> MMiner
>
>
> > Hi,
>
> I can't get debugging to work with my Web applications. I keep getting
> the error:
>
> "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 Visual Studio.Net server components. If setup has been run
> verify that a valid URL has been specified. .... "
>
> I have run setup several times I guess I keep missing something or messing
> something up. All I have available is the Visual Studio .Net Beta 2
> installation disks (with the Windows Component Update Disk). I am running
> Windows XP.
>
> Can someone help point me to a few things I can check to see if I have
> installed what I need to, and if there are any other configuration
> settings I need to set?
> The Web.config file does have "debug=true" .
>
> Thanks, any help is appreciated.
> Jack
>
> ---
> Beginning ASP.NET Databases using VB.NET
> http://www.wrox.com/ACON11.asp?ISBN=1861006195
>
> Beginning ASP.NET Databases using C#
> http://www.wrox.com/ACON11.asp?ISBN=1861007418
>
> These books look at how we can create data-centric ASP.NET
> applications. Requiring some basic knowledge of ASP.NET,
> Access and SQL the authors guide you through the process
> of connecting and consuming information in a variety of
> ways. They are packed full of excellent illustrative code
> examples, demonstrating important fundamental principles.
>

---
Beginning ASP.NET Databases using VB.NET
http://www.wrox.com/ACON11.asp?ISBN=1861006195

Beginning ASP.NET Databases using C#
http://www.wrox.com/ACON11.asp?ISBN=1861007418

These books look at how we can create data-centric ASP.NET 
applications. Requiring some basic knowledge of ASP.NET, 
Access and SQL the authors guide you through the process 
of connecting and consuming information in a variety of 
ways. They are packed full of excellent illustrative code 
examples, demonstrating important fundamental principles.


---------------------------------
Do you Yahoo!?
Yahoo! News - Today's headlines

  Return to Index