Solved

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

Posted on 2011-02-27
3
1,120 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

24 Experts available now in Live!

Get 1:1 Help Now