Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a website with many aspx pages. Few of the aspx pages have the C# code in a separate file and many of the aspx pages have only HTML.
I have deployed the build in Windows 7 (IIS 7) and Windows Server 2003 and is working fine without any issues.

When I deployed this build on Windows Server 2008 R2 those aspx pages without C# code are working properly without any issues. But for those aspx files with C# code attached are showing the following error stating that "Authentication is required"

Even after entering the proper server authentication details still the same message is being displayed.
I think some settings are to be done in IIS for Win Server 2008 R2. Please help me to resolve this.

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.