Thursday, June 18, 2009

ASP.NET error: Unable to start debugging on the web server




Please visit my new Web Site WWW.Codedisplay.com



Unable to start debugging on the web server is a most common error in our arena. If it comes means something wrong in your web server configuration. Unable to start debugging on the web server error appears for many reason. If you check the next line of this error message commonly you will get two information like:

1. The web server is not configured correctly.
2. You do not have permission to debug the application.


Ok now find the solution for the above two errors.

The web server is not configured correctly:
Most of the times i found that in IIS Asp.net Framework version was wrong. So ensure appropriate version for your application is mandatory. If you use VS 2005 then you application never run on the version of 2003 or 2008. Follow the follwing steps to set appropriate framework for your web application in IIS:

1. Right click on my computer.
2. Click on Manage
3. Expand Internet information services.
4. Find your application.
5. Right click to go to Properties.
6. Click on Asp.Net Tab & select appropriate version.




One another problem i found is some times the application directory does not registered as a web application. To fix this problem follow the below steps:

1. Follow up to 5 steps from above stated steps for solution 1.
2. By default you found Virtual Directory tab selected. If you found Create button next to the application name then click. After the completion of registration the button caption will be changed to Remove.




Do not have permission to debug the application:
Add asp.net account to the Debugger Users group. To do that go to the control panel then select users. Now check whether the user Asp.net within the Debugger group or not. If not then select as a debugger.

If you found "The URL for this project is in the Internet zone" within the error message then the solution is:

1. Open IE. Tools--> Internet Options.
2. Click on Security tab. Select Internet then click on Custom level button.
3. Go to the User Authentication Section.
4. Select "Automatic logon with current username and password".
5. Click OK OK.



0 comments:

Want to say something?
I WOULD BE DELIGHTED TO HEAR FROM YOU

Want To Search More?
Google Search on Internet
Subscribe RSS Subscribe RSS
Article Categories
  • Asp.net
  • Gridview
  • Javascript
  • AJAX
  • Sql server
  • XML
  • CSS
  • Free Web Site Templates
  • Free Desktop Wallpapers
  • TopOfBlogs
     
    Free ASP.NET articles,C#.NET,VB.NET tutorials and Examples,Ajax,SQL Server,Javascript,Jquery,XML,GridView Articles and code examples -- by Shawpnendu Bikash