Solved

IIS 6 Directory browsing and default document not working after update to .Net 4

Posted on 2011-02-27
3
1,129 Views
Last Modified: 2012-05-11
Hi

On my dev machine running IIS6 on Win 2003 Server I recently installed the .Net 4 framework. (Previously was running .Net 3.5)  Since then directory browsing no longer works.  I get this error:
===============================
Server Error in '/' Application
The resource cannot be found etc etc
===============================

Same goes for default documents.  Rather than loading the default document I get the error message above.  

Anyone know what the deal is with that?  Thanks!
0
Comment
Question by:Danzigger
3 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
ID: 34992992
Check to see what version of ASP.NET the site is using and put it back to v1.1 if available and that might resolve the issue.

The ASP.NET tab should be available on the properties of the Website in IIS.
0
 
LVL 2

Expert Comment

by:ramiss
ID: 34993004
You need to gather a bit more info before we can determine what "resource" cannot be found. By default IIS will not show detailed errors to remote clients.

The first step is to get the detailed error by visiting the site from the browser on the server. Report back what you discover.
0
 

Author Closing Comment

by:Danzigger
ID: 34993142
Thanks - that did it!  The site I did it on was set to 2.0.  I set it back to 1.1 and the dir browsing / default doc started working again.  I put it back to 2.0 and it still works.  

And doing that to that one site has resolved the issue for all other sites - except the one running 4.0.  Will need to look further at that.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Receiving a string from a WebService Push 21 47
Help with C#, MVC, razor. 6 34
Gridview selected row 9 43
ASP.net show message while code is running 3 17
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

815 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

9 Experts available now in Live!

Get 1:1 Help Now