Visual Studio 2005 - How to Start Debugging on the Web Server

by top54u.com on 05 Mar, 2008
   
   

If you are trying to develop web applications in Visual Studio 2005 but some errors like “unable to start debugging on web server”, “the project is not configured to be debugged” or “Integrated Windows Authentication” are irritating you then you can cool down your frustration by trying the following solutions whichever is suitable for your system:

 

  1. Create Virtual directory … click here to create the IIS Virtual Directories

  2. Apply Integrated Windows Authentication… click here to On the Anonymous access and Integrated Windows Authentication.

  3. Create the web site in Visual Studio 2005 by using following step:
    • Open Visual Studio 2005. Open its File menu and click on New Web Site…

    • Select Asp.Net Web Site. In the location dropdown select File System rather than HTTP if you have already tested the other methods to configure your web applications to e debugged.

    • Browse to place your web site. Recommended path to place your web site is (C | OS Partition):\inetpub\wwwroot\

    • Select language VB/C# in which you want to script your web application.

    • This will resolve your problem of debugging the ASP.Net code by pressing F5 key.

 

Notice that the recommended path is (C | OS Partition):\inetpub\wwwroot\ which can be used to configure the virtual directory of web project in the IIS at the right place. This virtual directory allows you to access your web site on localhost e.g. http://localhost/ project_name

 

See Also:

Visual Studio 2005 and IIS 7 configuration problems - Windows Vista

Creating IIS Virtual Directories

Integrated Windows Authentication for Visual Studio 2005 in IIS

 

Spotlight.....

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

10/14/2008 1:06:38 PM




related videos.....
recent posts.....
top54u ezines.....