Set IIS server as Default Server to Visual Studio


Monday, October 5, 2009

The ASP.NET Development Server is the default way to run the project from VS 2005.

To run the .net Application from the local IIS, Please follow the step given below.

1 Create Virtual Directory of your application in IIS on your local machine.

2 Go To Website / Start Options from the Menu or right click of project name form solution explorer and go to project property and select start option.

3 Select Start Options in the Tree on the left of the box.

4 Select Use Custom Server

5 Enter the URL of the database on the local box (http://localhost/MyWeb where "MyWeb" is the Virtual Directory.

This will put you back in the standard IIS debug.

This fixed a problem that I was having with the Infragistics controls that I am using.

Hope this post will help you,
if yes please put comment below of this page,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech Ltd (India)
rajesh@indianic.com

No comments :