Friday, November 30, 2007

Unable to start debugging on Web Server. Unable to connect to the web server........

Unable to start debugging on Web Server. Unable to connect to the web server.

Your IIS virtual directory is not correctly configured with your web project directory or virtual directory is not available or the IIS is stopped. First you must confirm that your IIS is running sate not in stopped state. If the IIS is in stopped state then u can hit the run button to start the IIS.
If the IIS is in running state then check your virtual directory in IIS. It may not exist or its not pointing to your asp.net project directory. Then you will get a message from the Visual Studio "Unable to start debugging on Web Server. Unable to connect to the web server.........".


You can fix the problem by changing the path of the virtual directory to your current asp.net project folder.

Related Posts:

  • 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
  • Abstract Class An abstract class refers that object cannot be instantiated using those class type, but it can initialize using it's derived classes. An abstract class can have both abstract methods and non abstract methods. Abstr… Read More
  • Metro Style apps METRO is our design language. We call it metro because it’s Modern and Clean. It’s Fast and in Motion. It’s about Content and Typography. And it’s entirely Authentic. - Microsoft's description of Metro. In Windows 8, one … Read More
  • Cannot start service from command line or a debugger. A windows service must first be installed (using installutil.exe) and....... "Cannot start service from command line or a debugger. A windows service must first be installed (using installutil.exe) and then started with ServerExplorer, Windows Services Administrative tool or the NET START command." … Read More
  • C# 3.0 - Features 1. Object and Collection Initializers Object initializers let you assign values to any accessible fields or properties of an object at creation time without having to explicitly invoke a constructor. http://msdn.microsof… Read More

0 comments: