Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 07, 2012 12:21 PM by Curt_C
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:
18.104.22.168 - /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?
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.
May 04, 2012 07:09 PM|LINK
How do you change this on the server?
May 04, 2012 08:01 PM|LINK
go to the server
Start - Control Panel
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.
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?
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.