Visual Studio 2005 to use IIS

M

Maziar Aflatoun

Hi everyone,

Today for the first time I installed VS 2005 and it looks great. However,
everytime you create a new web project and run it, I think it runs on it's
own web server (since I stop IIS and it was still working)

Ex. when you run it you get
http://localhost:1086/site
instead of
http://localhost/site

Is it possible to switch it back to the way VS 2003 was? To use IIS by
default. So when I create a new project it would automatically add it as a
virtual directory in IIS?

Thanks
Maz.
 
B

Ben Amada

When you create a new website, on the "New Web Site" dialog window, there is
a "Location" drop-down box. By default, 'File System' is selected. If you
change it to 'HTTP', VS 2005 will create the website like VS 2003 did.

Ben
 
M

Maziar Aflatoun

How do you change it for a project that was created using VS 2003? I
upgraded it and can to change it to use IIS instead?

Thanks
Maz.
 
J

Juan T. Llibre

To specify the Web server for an already-created Web site,
open your local website with VS.NET and, in the Solution Explorer,
right-click the name of the Web site for which you want
to specify a Web server, and then click Property Pages.

In the Property Pages dialog box, click the Start Options tab.
Under Server, click Use custom server.

In the Base URL box, type the URL that Visual Web Developer
should start when running the current Web site. You can use localhost,
your machine name, or an assigned domain name for your IP.

From that point on, the VS.NET IDE will not use the internal web server,
but will use IIS to open your pages, i.e., if you are working on default.aspx,
it will be opened as : http://localhost/default.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top