Monday, December 24, 2007

Unable to start debugging on the web server. The web server is not configured correctly. See help for the configuration errors..............

Unable to start debugging on the web server. The web server is not configured correctly. See help for the configuration errors. Running the web page out side of the debugger may provide further information.

The above message may caused due to following reasons
1. Web.config is not available in the web project
2. Compilation Debug in web.config is not set to 'true'

web.config file is the main configuration file of the asp.net application and this file is not available in your application. You can copy the web.config file from other location, and put it in the web project directory. If you cant find the web.config for your project, you can easily add a new web.config file to the web project from the visual studio.Please follow the link How to: Create Web.config Files

If the web.config is available in the web application, then this error is due to the compilation debug settings. To debug a web application we need to set the compilation debug = true in web.config file. "< compilation debug="true">"

The visual studio will give the following message:

Related Posts:

  • Changing the Page Title from server side in ASP.NETSome times we need to change the page title of the page from the server side code. For this, there are two simple methods to set the the page title.We can directly assign the page title form server side as Page.Title="MyPageT… Read More
  • Modifying Query String in .net Sometimes we need to modify the query string values of URL. For Example : Consider our Current URL is : http://www.mysite.com/MyHomePage.aspx?Value=x and, we want to change it as : http://www.mysite.com/MyHomePage.aspx?… Read More
  • Windows Authentication in WCF Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 … Read More
  • Cairngorm and MVVMNow everybody is changing to RIA(Rich Internet Application). Formally there was only one a matured platform, ie Abode Flex. But in .net framework 3.0 Microsoft came up with new technology SilverLight. After a one and half yea… Read More
  • new keyword in C# In C# the “new” keyword can be used in 3 different ways, as operator, modifier and constraint. We all are familiar with new operator usage, i.e. for creating object and invoking constructor.  But other two usages are n… Read More

0 comments: