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 a strange problem with ASP.NET MVC web application. IIS 7.5 throws back error 401 instead of 500 when application error occurs. This happens in production environment only, dev or staging works fine; the difficulty here is that I don't have access to the production environment so I have to replicate issue on my own to see what is wrong.

Any suggestions?

share|improve this question

1 Answer 1

401 means that Authorisation is required.. Do you use custom error pages? and if so does your application have access to the custom error pages? that would be my first guess.

share|improve this answer
    
Yes, I do have custom error pages, but for some reason they are ignored by IIS. I will try look into that. Thanks for a clue! –  303 Oct 3 '12 at 13:27

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.