troubleshooting Question

ASP.NET Default Document is not published properly

Avatar of Todd Stafford
Todd StaffordFlag for United States of America asked on
ASP.NET.NET Programming
3 Comments1 Solution126 ViewsLast Modified:
When I created a new ASP.Net project in VS 2055 (community), I decided to create a home page for the site called homepage_hq.aspx.
I right-clicked, and made it the default doc in VS 2015, and everything works properly when I compile and run locally.

I used the built-in "Publish" feature in VS to publish to a server running IIS 7.0.  After publishing, I am having to add the default document.  It shows as entry type "Local" after I enter it, unlike the other entries like default.htm which are "Inherited."  But, when I publish again, it gets wiped-out.

How can I get the site to keep the default document, or how can I make it part of the publish process?  I know I could just move the code to default.aspx and be done with it, but what's the fun in that...
ASKER CERTIFIED SOLUTION
Ashok
Sr. Software Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros