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.