473,651 Members | 2,635 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to Start Debugging Error

Hello,

When I try to run my aspx web page using Start>Debug I receive the following
error: "Error while trying to run project : Unable to start debugging on the
web server. Would you like to disable future attempts to debug ASP.NET pages
for this project?" I have found some KB Articles that provide a resolution to
this issue but nothing seems to work; I continue to get the error. So far I
have
done the following:
1.Repaired the IIS Mapping using the aspnet_regiis.e xe -i command.
2.Re-registered the aspnet_isapi.dl l file
3.Ran the iisreset command.
4.Added myself as a user to the debugger users group
5.In IIS I have gone to the properties for the default web site\project
folder and made sure that the application name was entered in the Application
Name field on the Directories Tab.
6. Also in IIS default web site\project folder properties I have clicked on
the Configure button and made sure that aspx files are properly mapped on the
mapping tab.
I don't know what else to do to resolve this. I can run the application
without any errors if I choose to start without debugging. My OS is XP Pro
SP2 with IE6 SP1. Any help in resolving this issue will be greatly
appreciated.

Dave Y
Nov 19 '05 #1
5 1590
Do you have a special account in the processmodel section of your
machine.config?

Make sure it is part of the debugger, VS developer and admin groups. May
need a reboot as well.
"Dave Y" <Da***@discussi ons.microsoft.c om> wrote in message
news:83******** *************** ***********@mic rosoft.com...
Hello,

When I try to run my aspx web page using Start>Debug I receive the
following
error: "Error while trying to run project : Unable to start debugging on
the
web server. Would you like to disable future attempts to debug ASP.NET
pages
for this project?" I have found some KB Articles that provide a resolution
to
this issue but nothing seems to work; I continue to get the error. So far
I
have
done the following:
1.Repaired the IIS Mapping using the aspnet_regiis.e xe -i command.
2.Re-registered the aspnet_isapi.dl l file
3.Ran the iisreset command.
4.Added myself as a user to the debugger users group
5.In IIS I have gone to the properties for the default web site\project
folder and made sure that the application name was entered in the
Application
Name field on the Directories Tab.
6. Also in IIS default web site\project folder properties I have clicked
on
the Configure button and made sure that aspx files are properly mapped on
the
mapping tab.
I don't know what else to do to resolve this. I can run the application
without any errors if I choose to start without debugging. My OS is XP Pro
SP2 with IE6 SP1. Any help in resolving this issue will be greatly
appreciated.

Dave Y


Nov 19 '05 #2
Hi Ken,

Below is the line of code from the ProcessModel section of the
machine.config file:

<section name="processMo del"
type="System.We b.Configuration .ProcessModelCo nfigurationHand ler, System.Web,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"
allowDefinition ="MachineOnl y"/>

I'm new to IIS and ASP.NET so I'm not sure what should be in this section.
The administrator, ASPNET, Debugger Users and my username are all set as
users to the project folder in the C:\Inetpub\wwwr oot\projectname folder. In
the meantime, I will reboot and see what happens from there. I am running IIS
on my local machine if that helps to provide any more possible necessary
information. Thank you for your reply and any further suggestions you may
have.

Dave Y

"Ken Cox [Microsoft MVP]" wrote:
Do you have a special account in the processmodel section of your
machine.config?

Make sure it is part of the debugger, VS developer and admin groups. May
need a reboot as well.
"Dave Y" <Da***@discussi ons.microsoft.c om> wrote in message
news:83******** *************** ***********@mic rosoft.com...
Hello,

When I try to run my aspx web page using Start>Debug I receive the
following
error: "Error while trying to run project : Unable to start debugging on
the
web server. Would you like to disable future attempts to debug ASP.NET
pages
for this project?" I have found some KB Articles that provide a resolution
to
this issue but nothing seems to work; I continue to get the error. So far
I
have
done the following:
1.Repaired the IIS Mapping using the aspnet_regiis.e xe -i command.
2.Re-registered the aspnet_isapi.dl l file
3.Ran the iisreset command.
4.Added myself as a user to the debugger users group
5.In IIS I have gone to the properties for the default web site\project
folder and made sure that the application name was entered in the
Application
Name field on the Directories Tab.
6. Also in IIS default web site\project folder properties I have clicked
on
the Configure button and made sure that aspx files are properly mapped on
the
mapping tab.
I don't know what else to do to resolve this. I can run the application
without any errors if I choose to start without debugging. My OS is XP Pro
SP2 with IE6 SP1. Any help in resolving this issue will be greatly
appreciated.

Dave Y


Nov 19 '05 #3
Hi Dave,

There's an article here that describes the use of the ASPNET account:

http://msdn.microsoft.com/library/en...onfigureaspnet

"The default account for running ASP.NET, created at installation time, is a
least privileged local account and is specified in machine.config as
follows:

<processModel enable="true" userName="machi ne" password="AutoG enerate" />

This account is identified as ASPNET under Local Users and Groups, and has a
strong password secured in the Local System Authority (LSA)."
"Dave Y" <Da***@discussi ons.microsoft.c om> wrote in message
news:85******** *************** ***********@mic rosoft.com...
Hi Ken,

Below is the line of code from the ProcessModel section of the
machine.config file:

<section name="processMo del"
type="System.We b.Configuration .ProcessModelCo nfigurationHand ler,
System.Web,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"
allowDefinition ="MachineOnl y"/>

I'm new to IIS and ASP.NET so I'm not sure what should be in this section.
The administrator, ASPNET, Debugger Users and my username are all set as
users to the project folder in the C:\Inetpub\wwwr oot\projectname folder.
In
the meantime, I will reboot and see what happens from there. I am running
IIS
on my local machine if that helps to provide any more possible necessary
information. Thank you for your reply and any further suggestions you may
have.

Dave Y

"Ken Cox [Microsoft MVP]" wrote:
Do you have a special account in the processmodel section of your
machine.config?

Make sure it is part of the debugger, VS developer and admin groups. May
need a reboot as well.
"Dave Y" <Da***@discussi ons.microsoft.c om> wrote in message
news:83******** *************** ***********@mic rosoft.com...
> Hello,
>
> When I try to run my aspx web page using Start>Debug I receive the
> following
> error: "Error while trying to run project : Unable to start debugging
> on
> the
> web server. Would you like to disable future attempts to debug ASP.NET
> pages
> for this project?" I have found some KB Articles that provide a
> resolution
> to
> this issue but nothing seems to work; I continue to get the error. So
> far
> I
> have
> done the following:
> 1.Repaired the IIS Mapping using the aspnet_regiis.e xe -i command.
> 2.Re-registered the aspnet_isapi.dl l file
> 3.Ran the iisreset command.
> 4.Added myself as a user to the debugger users group
> 5.In IIS I have gone to the properties for the default web site\project
> folder and made sure that the application name was entered in the
> Application
> Name field on the Directories Tab.
> 6. Also in IIS default web site\project folder properties I have
> clicked
> on
> the Configure button and made sure that aspx files are properly mapped
> on
> the
> mapping tab.
> I don't know what else to do to resolve this. I can run the application
> without any errors if I choose to start without debugging. My OS is XP
> Pro
> SP2 with IE6 SP1. Any help in resolving this issue will be greatly
> appreciated.
>
> Dave Y



Nov 19 '05 #4
Hey Dave,

If you still can't get this going, call MS Support. If you describe this as
an installation/setup issue the support incident should be free.
"Dave Y" <Da***@discussi ons.microsoft.c om> wrote in message
news:85******** *************** ***********@mic rosoft.com...
Hi Ken,

Below is the line of code from the ProcessModel section of the
machine.config file:

<section name="processMo del"
type="System.We b.Configuration .ProcessModelCo nfigurationHand ler,
System.Web,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"
allowDefinition ="MachineOnl y"/>

I'm new to IIS and ASP.NET so I'm not sure what should be in this section.
The administrator, ASPNET, Debugger Users and my username are all set as
users to the project folder in the C:\Inetpub\wwwr oot\projectname folder.
In
the meantime, I will reboot and see what happens from there. I am running
IIS
on my local machine if that helps to provide any more possible necessary
information. Thank you for your reply and any further suggestions you may
have.

Dave Y


Nov 19 '05 #5
Hey Ken,

Thank you for the link to the article and the suggestion to call support.
I'm going to read the article first. One other wierd thing. The debug issue
seems to be project specific because I have another project that I can run
using the debugger with out getting the error. I'm baffled. Thank you for
your replies and assistance.

Dave Y

"Ken Cox [Microsoft MVP]" wrote:
Hey Dave,

If you still can't get this going, call MS Support. If you describe this as
an installation/setup issue the support incident should be free.
"Dave Y" <Da***@discussi ons.microsoft.c om> wrote in message
news:85******** *************** ***********@mic rosoft.com...
Hi Ken,

Below is the line of code from the ProcessModel section of the
machine.config file:

<section name="processMo del"
type="System.We b.Configuration .ProcessModelCo nfigurationHand ler,
System.Web,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"
allowDefinition ="MachineOnl y"/>

I'm new to IIS and ASP.NET so I'm not sure what should be in this section.
The administrator, ASPNET, Debugger Users and my username are all set as
users to the project folder in the C:\Inetpub\wwwr oot\projectname folder.
In
the meantime, I will reboot and see what happens from there. I am running
IIS
on my local machine if that helps to provide any more possible necessary
information. Thank you for your reply and any further suggestions you may
have.

Dave Y


Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4810
by: TM | last post by:
When I run an ASP.Net application I am getting the following error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged." I checked and made sure the Machine Debug Manager is running on the server, made sure the web.comfit file has debug=true. Mine is: <compilation defaultLanguage="vb" debug="true" /> I also checked the directory executions permissions and it...
11
2750
by: Claude seraphin | last post by:
I'am having this message while trying to rune my asp.net app on win3k server. I have set debug="true" in <compilation section in my web.config . Can anyone help me? Thanks in advance
16
4198
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 project in debug mode (by hitting F5) it gives an error message "Error while trying to run project: Unable to start debugging on the web server.
5
6561
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development Environment" with this message: "Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request. Make sure the server is operating correctly. Verify there are no...
1
1959
by: dorenstein | last post by:
Hi, I'm running VS.Net 2003 (I also have 2002 installed) and while working out the ASP.NET Web Service Walkthrough, I get this message if I start without debugging: Error while trying to run project: Unable to start debugging. Unable to start program 'C:\PROGRA~1\INTERN~1\TEMPIE~1.EXE'. The system cannot find the file specified. If I start with debugging, I get Error while trying to run project and nothing more. I can View in Browser...
6
6183
by: Bob Rock | last post by:
Hello, I'm using an executable (for which I do not have the source code nor the pdb file) as the startup application to load a DLL I'm writing and need to debug. If I try to debug the DLL I immediately get the error "Unable to start debugging. Unable to start program XXX.exe". If I do "Start without debugging" my startup application gets correctly executed. Is this problem due to the fact I'm missing the debugging information for the...
1
1888
markmcgookin
by: markmcgookin | last post by:
Hi Folks, this is a problem I had a few days ago, and I was able to solve it, but I thought I'd post the solution I found here incase anyone has a similar problem! I found this stuff on an MSNDN forum.
3
2356
by: =?Utf-8?B?SmVmZnJleQ==?= | last post by:
Just started to test a VB.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 am starting to build ASP.net programs now. 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...
0
3142
by: DR | last post by:
Unable to start TSQL Debugging. Could not attach to SQL Server Process on 'srvname'. The RPC server is unavailable. I get this error when I try to run a SQL Server Project with a CLR stored Procedure in it. The target DB is SQL Server 2005 and im using VS 2005. I simply create a new SQL Server Project which creates a Test.sql, i then simply added a Stored Procedure to it called the default name StoredProcedure1.cs and put a break point...
11
5376
by: benoitc | last post by:
I've been having a problem debugging an ASP.NET 1.1 application on an existing Windows XP/Visual Studio 2003 workstation that I've inherited from somebody else. The application builds fine, but when I try to debug, it gives me the message: Error When Trying to Run Project: Unable to Start Debugging on the Web Server. Debugging failed because integrated Windows authentication is not enabled. Now, the obvious solution for this of course...
0
8349
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8795
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8576
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7296
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4143
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.