473,386 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Visual Studio 2005 to use IIS

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.
Nov 19 '05 #1
4 1124
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
Nov 19 '05 #2
What are the pros and cons of both?

Regards

"Ben Amada" <be*@REpoMOweVErpick.com> wrote in message
news:uN**************@tk2msftngp13.phx.gbl...
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

Nov 19 '05 #3
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.

"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:Oy**************@TK2MSFTNGP14.phx.gbl...
What are the pros and cons of both?

Regards

"Ben Amada" <be*@REpoMOweVErpick.com> wrote in message
news:uN**************@tk2msftngp13.phx.gbl...
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


Nov 19 '05 #4
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

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Maziar Aflatoun" <ma***@rogers.com> wrote in message
news:oL********************@rogers.com...
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.

"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:Oy**************@TK2MSFTNGP14.phx.gbl...
What are the pros and cons of both?

Regards

"Ben Amada" <be*@REpoMOweVErpick.com> wrote in message
news:uN**************@tk2msftngp13.phx.gbl...
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

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Shapper | last post by:
Hello, I am starting 2 new projects to deliver in January 2006. I want to create them in Asp.Net 2.0 using Visual Studio 2005. All my clients web sites are Visual Studio 2003 projects in...
0
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the...
8
by: WT | last post by:
Is it normal that Visual Studio sets the PreInit handler for a Page from the OnInit code ? No chance to fire it as OnPreInit is run befor OnInit. ??? CS
3
by: Edwin Smith | last post by:
I have a 2 form project in VS2005 that now hangs whenever I try to do anything with the second form. This seems to have started when I added some SQL tables from a Pervasive v.9 database using the...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.