I am trying to deploy a C# 2010 web form application using the setup and deployment project that can be used in in visual studio 2010. I am using this deployment method since that is what occurs in production today.
I deployed the web application to my workstation and I am trying to get the application to work off of the IIS that is on my workstation. However the deploy does not work all the way since the 'default document' that iis needs is not deployed.
Start - Control Panel
Administrative Tools
Internet Information Services
click on your Site on left
click Default Document on right
Add your page.ext
(this was for the Win7 setup, it will vary based on OS of server, etc) Basically it will be in the Site Properties somewhere, called Default Documents or very similar.
Have you read the book? - ASP.Net 3.5 CMS Development (now on Kindle)
v5.1 of iTracker (Inventory Tracker Starter Kit) is out, Download it now!
Marked as answer by wendy elizabeth on May 07, 2012 02:26 AM
wendy elizab...
Member
321 Points
390 Posts
determining what deploy files are needed
May 04, 2012 04:09 PM|LINK
I am trying to deploy a C# 2010 web form application using the setup and deployment project that can be used in in visual studio 2010. I am using this deployment method since that is what occurs in production today.
I deployed the web application to my workstation and I am trying to get the application to work off of the IIS that is on my workstation. However the deploy does not work all the way since the 'default document' that iis needs is not deployed.
When I do deploy, you can see something like:
111.111.1.111 - /aspnet_client/system_web/ ________________________________________ [To Parent Directory]
5/3/2012 4:07 PM <dir> 4_0_30319
I am trying to use version 2.0 since that is what is in production. The directory path is what the vs 2010 is actually using.
Thus what do you think I should try?
Curt_C
All-Star
66017 Points
7639 Posts
Moderator
Re: determining what deploy files are needed
May 04, 2012 06:10 PM|LINK
what is your default document? Is it not any of the standard files used (defalt.aspx, index.aspx, etc).
If not, you will need to configure IIS to use a new default document. No biggie to do but it is a server setting, not a site setting.
v5.1 of iTracker (Inventory Tracker Starter Kit) is out, Download it now!
wendy elizab...
Member
321 Points
390 Posts
Re: determining what deploy files are needed
May 04, 2012 07:09 PM|LINK
How do you change this on the server?
Curt_C
All-Star
66017 Points
7639 Posts
Moderator
Re: determining what deploy files are needed
May 04, 2012 08:01 PM|LINK
go to the server
Start - Control Panel
Administrative Tools
Internet Information Services
click on your Site on left
click Default Document on right
Add your page.ext
(this was for the Win7 setup, it will vary based on OS of server, etc) Basically it will be in the Site Properties somewhere, called Default Documents or very similar.
v5.1 of iTracker (Inventory Tracker Starter Kit) is out, Download it now!
wendy elizab...
Member
321 Points
390 Posts
Re: determining what deploy files are needed
May 07, 2012 02:24 AM|LINK
the default document is not one of the default names. So I need to change the server value, how?
Curt_C
All-Star
66017 Points
7639 Posts
Moderator
Re: determining what deploy files are needed
May 07, 2012 12:21 PM|LINK
Click ADD typically.... then just put in the name (ie: YOURFILE.EXT)
Then you can move it "up" the list so it's at the top, that will help.
As long as it's a .aspx or .htm you're good to go.
v5.1 of iTracker (Inventory Tracker Starter Kit) is out, Download it now!