Logo 
Search:

C# Answers

Ask Question   UnAnswered
Home » Forum » C#       RSS Feeds
  Question Asked By: Hayfa Khan   on Mar 19 In C# Category.

  
Question Answered By: Marina Smith   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.

Share: 

 
 


Tagged: