Solved

IIS 7.5 Default Document Login.aspx disappears randomly

Posted on 2013-06-17
4
946 Views
Last Modified: 2013-06-29
We have a production website running in IIS 7.5, on Windows Server 2008 R2. In IIS, in the website's settings, we added Login.aspx to the top of the Default Document list. However, on several seemingly random occasions, Login.aspx has disappeared from the Default Document list as we have had to manually re-add it after finding that the website was not loading properly due to this. Also something to note is that the Web.config file, under "<system.webServer>", specifies "<add value="Login.aspx" />". Not sure if that creates some sort of conflict, but either way, why is our Login.aspx Default Document disappearing? Thanks very much.
0
Comment
Question by:cvistas
4 Comments
 
LVL 11

Expert Comment

by:Sanjay Santoki
ID: 39256013
Hello,

Since IIS 7; there are lots of improvement done by the Microsoft so that developer don't need to relay more on Admin. There are lots of things which can be managed from within web.config file which would be loaded upon the request. Ie. Default Docs.

I would suggest you to please see if there any conflict in web.config which is causing IIS not to read that particular section.

You can try adding plain web.config file having only default docs specific code to test on IIS whether it is working or not.

Regards,
Sanjay Santoki
0
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 500 total points
ID: 39256878
Hi,

Are you sure that you haven't recreated the site etc., If not, it should be working fine. Moreover, instead of doing it manually, you can define the same in web.config file and it takes care of every thing!

http://www.iis.net/configreference/system.webserver/defaultdocument#002

Hope it helps u...
0
 
LVL 9

Expert Comment

by:tanujchandna
ID: 39276973
Hi,

After uploading web.config file on server, if you make any changes in your website thru IIS, it will applicable on your web.config as IIS7 have this facility. Its seems to me that you are directly working on your website thru IIS that's why problem is occurring. What you can do is, Add login.aspx directly in default documents on server and you should not face this issue again.
0
 

Author Closing Comment

by:cvistas
ID: 39286955
We did this and have since not had any problems.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Registering DLL 5 43
SQL Login 17 40
IIS Authorization for Web Service 2 22
Windows IIS SMTP Server Unable to relay emails 12 26
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now