Create website in IIS using Web Deploy Project from VS2008
-
I have an ASP.NET website. I want to make a setup project of that, so it can be installed in IIS (Windows Server 2003 o/s) as a Web Site but NOT a Virtual Directory. How to do this?
DGtech wrote:
want to make a setup project of that, so it can be installed in IIS (Windows Server 2003 o/s) as a Web Site but NOT a Virtual Directory.
So you want to create a Web Setup project ?
DGtech wrote:
as a Web Site but NOT a Virtual Directory.
I didn't get this point. Can you please clarify me?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
-
DGtech wrote:
want to make a setup project of that, so it can be installed in IIS (Windows Server 2003 o/s) as a Web Site but NOT a Virtual Directory.
So you want to create a Web Setup project ?
DGtech wrote:
as a Web Site but NOT a Virtual Directory.
I didn't get this point. Can you please clarify me?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
Abhijit Jana wrote:
didn't get this point. Can you please clarify me?
In IIS, you have can have several Virtual Directories(web apps) under one Web Site(which is usually wwwroot). He probably wants to create a new web site folder and put his web application there.
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
Abhijit Jana wrote:
didn't get this point. Can you please clarify me?
In IIS, you have can have several Virtual Directories(web apps) under one Web Site(which is usually wwwroot). He probably wants to create a new web site folder and put his web application there.
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
Manas Bhardwaj wrote:
He probably wants to create a new web site folder and put his web application there.
Manas, you mean he wants to create web site like DefaultWebSite (By default) under the root ?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
-
Manas Bhardwaj wrote:
He probably wants to create a new web site folder and put his web application there.
Manas, you mean he wants to create web site like DefaultWebSite (By default) under the root ?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
Abhijit Jana wrote:
you mean he wants to create web site like DefaultWebSite (By default) under the root
My understanding question says yes :) I dont think this is very straight forward to do using Web Setup project. He'll probably need to tweak the vdproj file (which is not very easy to understand) for the IIS metadata.
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
Manas Bhardwaj wrote:
He probably wants to create a new web site folder and put his web application there.
Manas, you mean he wants to create web site like DefaultWebSite (By default) under the root ?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
First open the IIS from Windows Server 2003 o/s, then click the DefaultWebSite, then click New , here you will see two options create "Web Site" and "Virtual Directory". Now if you create any setup project i.e. Web Setup Project, then while you install the msi you will see that the setup creates a Virtual Directory inside IIS and installs the asp.net website pages there. But i dont want setup project to create Virtual Directory in IIS, I want setup to create a Web Site and places asp.net website pages there. Please let me know, if you still have questions.