Logo 
Search:

C# Forum

Ask Question   UnAnswered
Home » Forum » C#       RSS Feeds

Unable to start debugging on the web server. The project is not configured to be debugged.

  Asked By: Hayfa    Date: Mar 19    Category: C#    Views: 3226
  

I am getting following error message.

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

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Marina Smith     Answered On: Mar 19

Description: When you debug an ASP.NET application in Visual Studio .NET, you may receive the following error  message:
"Error while trying to run  project: Unable to start  debugging on the web  server. The project  is not configured to be debugged."

Cause:
1. Web Application doesnot have web.config file.
Solution: Add a new web configuration file in project.

2.The Execute Permissions property for the current website in IIS is set to None.
Solution: Run Inetmgr to open IIS > Select site/project > Right Click to open properties
> In Directory Tab >If None is selected in the Execute Permissions list, click Scripts only, and then click Apply.

 
This post is locked for further answers.




Tagged: