Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have setup a website in IIS 7.5 on a Windows 2008 machine. The website is sitting on C:/websites/

Then I added a virtual directory called "/uploads" that points to "d:/websites/uploads". This directory holds all the images/media.

When I browse the website in browser, I dont see any images etc. When I browse an image directly I notice that it's throwing a 401 error.

401 - Unauthorized: Access is denied due to invalid credentials.

I have searched Google quite a lot and I am pretty sure I am have all the permissions setup correctly.

Can anyone tell me what I could be doing wrong here?

share|improve this question
    
I have enabled IIS Detailed error display and I notice that it's trying to LOGON as Anonymous. I went ahead and added Anonymous to have 'Full Control' on that physical path. Still no go!!! –  Jimmy Dec 23 '10 at 12:07

1 Answer 1

up vote 0 down vote accepted

Found a solution. http://www.anujgakhar.com/2010/12/23/iis-7-5-virtual-directory-error-401-unauthorized/ It was to do with Windows 2008 encrypting files that are zipped on a Mac.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.