IIS only requests credentials in a specific folder

I have a site on IIS 7 that has several subfolders. The site was built using .net 2 and runs in a pool in integrated mode.

the whole site works fine except for all aspx files under the Reports folder. when a user tries to access any aspx page in this folder (i.e. http: //domain/Reports/page1.aspx ), he gets a 401 response, and the browser asks for the user and password.

this occurs when accessing the site remotely and locally. when trying to search the IIS log files, the request is not specified, as if it were blocked by something.

I did the following tests to try to solve this problem:

  1. I renamed the folder to R1, and then I was able to access any page on it.
  2. I took another working folder and renamed it to Reports, and then I could not access any of the files inside it.
  3. I have reset permissions again and again without success
  4. I was thinking about filtering requests, but I donโ€™t see a filter for the URL containing the word โ€œReportsโ€. also, we did not set any filter, so I have to work with the default IIS settings.
  5. I created a simple html file and could not access it. error 401 again

It looks like IIS just doesn't like the Reports folder. Any ideas on what I'm missing here?

+6
source share
1 answer

Is SQL Server installed on the server, in particular SQL Server Reporting Services? Apparently may cause problems with the Reports folder

A completely separate idea, so a separate answer

+9
source

Source: https://habr.com/ru/post/893439/


All Articles