Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  139 Posts | 0 Stories | 1347 Comments | 659 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

When trying to run/debug my ASP.Net web app from VS.NET (2003) I get this error:

Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.

This was caused because I had renamed the virtual dir that the project resides in - and because of this IIS had decided to revert the dir from an application to a dir. 

To resolve simply make it an app again via the IIS Management tool:

  1. Within the IIS management tool, select your virtual dir.
  2. Right-click and select Properties
  3. In the Properties dialog box, click on the Create button.

HTH

Tim

posted on Wednesday, September 14, 2005 8:52 AM

Feedback

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 10/2/2005 10:27 PM Strider
THANK, thank, thank you!, a lot ^.^v

Work it!

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 10/3/2005 2:35 AM ghost
this is awsome.... thanks Tim

# re: Error while trying to run project: Unable to start debugging on the web server. 10/3/2005 4:24 AM Rizwan
plz help me i m very worried...

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 10/30/2005 6:16 AM leayoung
???2005 ts rc??,?????????????,????

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/2/2005 10:15 AM Lele
Yes it works! support.microsoft has an article, but the suggestions are useless.. This is the best

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/3/2005 11:31 AM Iris
oh..can not work.
another error came out :-

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 syntax errors in web.config by doing a Debug. Start Without Debugging. You may also want to refer to the ASP.NET and ATL server debugging topic in the online documentation.

Somebody can help me... help!!


# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/11/2005 6:00 AM Saminathan Raju
Thanks! It works

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/11/2005 6:24 AM Everoptimist
Gr8... It works...

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/23/2005 6:08 AM Eric
It doesnt work!!! :((

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/23/2005 12:37 PM Narsi
Not in a million years I would have guessed that. Thanks Tim.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/30/2005 3:07 AM Girish kumar.k
Thanks.It is working.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 12/3/2005 6:35 AM mradul
it's great. solution of above prob. is also given in microsoft site but it is useless..........
thanx a lot



# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 12/13/2005 9:42 AM Tan Chin Teong
Thanks a lot, great help!

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 12/21/2005 8:48 PM Richard Waldvogel
In win2003 server also make sure that your Execute Permissions are switched to at least "Scripts Only" as mine was set to "None" by default. Only after changing this did this issue get resolved.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 1/24/2006 5:44 AM Krishna
thanks zzz

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 1/25/2006 4:59 AM Ashish Mathur
I am facing the same problem

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 1/30/2006 10:05 PM Jakie
Thanks! It is worked

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 2/2/2006 1:08 AM harsha
Sir I have done an web application in one system and i then i copied that into my system
then it is getting the same error even after doing the procedure wht was said . i was getting applications running which i have created in the same system


# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 2/2/2006 8:03 AM ashish
its not working yet.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 2/17/2006 4:15 PM rafsi
works great, only if I am debugging the application locally on the server. When I open the same application in VS2003 from my local machine (win2K), get similar error about not being able to debug.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 2/21/2006 12:08 PM Rakesh
It's still not working for me.
I have configured DDN

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 2/24/2006 6:22 AM Abhijeet M
1. Debug=true in web.config.
2. Execute permissions = Scripts only in virtual dir properties.
3. Virtual directory name should be same as the physical directory name.


# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 3/1/2006 2:29 PM Loki
cheers mate... your words of wisdom were a big help.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 3/12/2006 11:05 PM nicholas
if that still doesn't work which it didn't for me try running this:

Aspnet_regiis.exe

found here

Allows an administrator or installation program to update the scriptmaps for an ASP.NET application to point to the ASP.NET ISAPI version associated with the tool. You can also use the tool to perform other ASP.NET configuration operations.

Note: Aspnet_regiis.exe can be found in "%windir%\Microsoft.NET\Framework\v1.1.xxxx" where xxxx is the build number of the .NET Framework you are using.

i am not entirely sure why this works but i believe it is because of a missing mapping


# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 3/16/2006 1:34 PM rahul
thanks a lot

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 4/9/2006 9:33 AM Mansoor
it worked thx mate

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 4/28/2006 7:06 PM DaveC
Bless you kind sir! I cannot thank you enough!

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 5/10/2006 3:21 PM Deepak
that's simply great

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 5/10/2006 3:22 PM deepak chawla
that's simply gr8

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 5/11/2006 8:18 PM Mayra
Muchas Gracias! Funciono!!

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 6/6/2006 5:58 PM Jerry T.
"Debug=true in web.config. "


Ah ha...how did that get reset?

ARGH!

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 6/14/2006 11:52 AM Deputy Van Halen
I had the same error displayed. The only difference is that I already had applications under IIS for this solution. I tried removing them and readding them, but this didn't work. Finally, I was looking through the tabs under the properties of the folder in IIS, the ASP.Net tab showed the version as 2.0 which was incorrect since this was an old site of mine. After reverting this back to 1.1 I was able to run the solution.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 6/17/2006 7:53 PM Kasi Krishnan
Thank you so much Deputy Van Halen ...
Have also switched back to 1.1 and the application is working fine now. Was facing this error for lots of days and nothing was working out. Thank youso much for your post.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 6/26/2006 8:04 AM Garima Sharma
Alas! it's still not working and displaying the same error.
Do I need to make some other changes as well??
Please help!!

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 6/30/2006 8:51 AM Dipak
This solution seemed to work for my colleague with the same issue, but hasnt worked for me.
---
Check that IIS authentication is using NTLM.

This can be done via a command line tool which can be downloaded via the Internet.

Or

Use IIS Resources - metabase explorer.

Open up - W3SVC
add in or set NTAuthenticationProviders to NTLM

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 7/5/2006 4:09 AM Eugene Toh
Error while trying to run project: Unable to start debugging on the web server.” Error.



Open your Internet Information Services manager and from the [your machine]/Web Sites/ Default Web Site node select the virtual folder which stores your project. Right Click and select Properties to select the ASP.NET tab page. Make sure the correct version ASP.NET Version is selected.



# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 7/19/2006 6:42 PM Sami
Thanks a lot

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 8/7/2006 4:04 PM Mahnaz Siddiqui
Thank you. The solution above didn't work for me first. I started getting the message that states: "IIS could not start in a Timely Fashion" etc. What I did was:
1. ReInstall IIS (From the Add/Remove Windows Components feature)
2. RUN aspnet_regiis -i
3. Refresh IIS services
4. Run Tim's solution.

Bingo. It worked.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 9/8/2006 4:07 PM mab
Thank you!!!!! My forehead is sore from bashing it against my monitor.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 9/15/2006 5:51 PM Omavowa G.
u are wonderful. I don't know how to appreciate what u have done but just know that u an angel.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 9/20/2006 5:36 PM wayo
u r da one

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 10/20/2006 8:33 PM KKK
Freakin awesome...

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 10/25/2006 7:50 PM Luis Fernando
Thank you. The solution above didn't work for me. I still geting this message: "Unable to start debugging on the web server".

Pz:
*The application is alredy created.
*Debug=true
*There are no syntax errors in web.config
*Execute Permissions are switched to at least "Scripts Only" in the App
*Virtual directory name is the same as the physical directory name.
*Aspnet_regiis -u
then
Aspnet_regiis -i -enable
*ReInstall IIS

Please Help






# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/2/2006 1:02 PM Jerry T.
*********************************
Open your Internet Information Services manager and from the [your machine]/Web Sites/ Default Web Site node select the virtual folder which stores your project. Right Click and select Properties to select the ASP.NET tab page. Make sure the correct version ASP.NET Version is selected.
*********************************


That did it for me! I keep forgetting about that one. SOOO many things to check to get debugging working properly....

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/7/2006 7:43 AM san
it is working fine. Thanx

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 11/22/2006 6:34 PM lelong37@gmail.com
if your are debugging an application that does not reside under "c:\inetpub\wwwroot\" possible a directory in your "c:\program files\" you need to make sure that local user account "ASPNET" has exclusive rights to this folder where the application literally resides.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 1/2/2007 4:09 AM PANKAJ SHINDE
THANKS IT IS NOW WORIKING..

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 1/8/2007 10:31 AM Sanjay kattimani
Great quick solution to my prob too. :) thanks tim.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 1/26/2007 12:06 AM Prasant Kumar Rout
I had the same error displayed.I was looking through the tabs under the properties of the folder in IIS, the ASP.Net tab showed the version as 2.0 which was incorrect . After reverting this back to 1.1 I was able to run the solution.

:) Thanks to Tim and Deputy Van Halen

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 2/12/2007 10:47 PM sergio vieira
just grant permissions in the physical web folder.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 2/27/2007 5:28 PM Ramesh
Worthy solution..nice one..

Thanks Tim.


# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 3/5/2007 3:42 AM Bala
you saved my time ... Great tips for all...

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 3/13/2007 6:52 PM Claus
Somehow had got the Web.config file into a subfolder (named as the project) to the actual solutions (and thus the webfolder alias) folder.

Don't know how this happend.

Had the error message just said something about which folder, the file was missing from, this would have saved a lot of time.

Thanks for all inputs in this thread, they really helped me!

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 3/20/2007 7:41 PM RoadRacer
Same error but i had a different solution. This was a framework 1.1 application and for some reason it was changed to 2.0. I went to the virtual dir's proprties, ASP.NET tab, set it back to 1.1 and viola! Works like a champ now. Keep this in mind if you have more than 1 version of the framework installed.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 3/21/2007 1:04 PM Greg
Your solution worked for me! Thanks.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. 3/23/2007 3:18 PM Gowr
It worked! Thanks a lot!

# re: Error while trying to run project: Unable to start debugging on the web server. server side error occured on sending debugg 9/7/2007 6:15 AM Himanshu Bhardwaj
this problem is create when i put my project in wwwroot.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged 11/21/2007 2:05 PM thinakaran
ya, thanks guys, when i change the asp version its working fine, if that one is disabled then use create button

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged 7/7/2009 5:26 PM Henry
The problem for me is, under my wwwroot folder, a default web.config file was created which was over writing my project's web.config settings. To fix it, I had to delete the web.config folder under wwwroot.

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged 7/23/2009 1:24 AM pradeepkumaryadav
it is working fine. Thanx

# re: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged 7/23/2009 1:25 AM pradeepkumaryadav
it is working fine. i am much grateful of you.
Thank you very much.

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: