Default document no longer recognized after updating .NET from 2.x to 4.0

Posted on 2013-10-13
Medium Priority
Last Modified: 2013-10-14
I just upgraded my web server's .NET framework from 2.x to 4.0 and now none of the websites defined on that web server recognize a default document.

Any attempt to visit a site purely by its site name, without explicitly specifying the page name (such as index.aspx) results in the following message:
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /eurl.axd/4eb02f017f0f2e46abc4363cdbf98865/

Open in new window

Any thoughts on what may have happened?

thanks experts!
Question by:rascal
  • 2
  • 2
LVL 23

Expert Comment

by:Roopesh Reddy
ID: 39570503

I think both the Default Documents and Directory Browsing is disabled, and hence you are receiving the 404 error!

You can check this MSDN article on how to enable Default Documents in IIS7 - http://technet.microsoft.com/en-us/library/cc753615(v=ws.10).aspx

Hope it helps u...

Author Comment

ID: 39571277
Neither my Default Documents or Directory Browsing are disabled, they are both enabled and a default document is specified. They were always there before the upgrade to .Net 4.0

I am using IIS 6 on Windows Server 2003 by the way.
LVL 23

Expert Comment

ID: 39571597
LVL 23

Accepted Solution

ambience earned 2000 total points
ID: 39571602

Author Closing Comment

ID: 39571650
Perfect, that fixed it!

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…

587 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