I have published an ASP.NET web site which targets ASP.NET 3.5 to a Windows Server 2008 machine which uses IIS 7 to serve the web pages. Some of the pages on the site work just fine. But any attempt to access the .aspx pages within a certain folder ("Reports") will cause the Windows Security login dialog to display, as if the user is trying to log onto the server.
The bizarre thing is this…if I simply rename the folder to "Reports_Test" and try to access the very same .aspx files, no Windows Security dialog appears, and the pages seem to work just fine. It is as if the name "Reports" has some special meaning to something in the configuration of the site. I have searched through the web.config file for any mention of the the work "Reports" and there are none.
The actual folder, whether named "Reports" or "Reports_Test" has all the same security settings and permissions as the other folders, which do not display the security dialog.
Does anyone have any suggestions as to how I can debug this bizarre problem?
I would check on some of your report pages, and make sure that your reports don’t have any invalid or empty image URLs. Apparently, this can cause the kind of problems that you’re experiencing, because the server will attempt to search root directory.
I would suggest using Fiddler to monitor what’s going on when you try to access these pages.
EDIT
This issue is related to SQL Server Reporting Services. These links provide the answer: