IIS仅在特定文件夹上要求登录凭据 [英] IIS asks for login credentials only on a specific folder

查看:95
本文介绍了IIS仅在特定文件夹上要求登录凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IIS 7上有一个包含几个子文件夹的站点.该网站是使用.net 2构建的,并在集成模式下的池中运行.

i have on IIS 7 a site which has several sub folders. the site was built using .net 2 and is running in a pool in integrated mode.

除了名为"Reports"的文件夹下的所有aspx文件之外,整个网站都可以正常运行. 当用户尝试访问该文件夹下的任何aspx页面时(即 http://domain/Reports/page1.aspx ),他得到401响应,浏览器提示输入用户名和密码.

the whole site works perfectly except for all aspx files under a folder called "Reports". when the user is trying to access any aspx page under that folder (i.e. http://domain/Reports/page1.aspx) he gets a 401 response and the browser prompts for a user and password.

在远程和本地访问站点时会发生这种情况.尝试查看IIS日志文件时,未列出请求,就好像它被某些内容阻止一样.

this happens when accessing the site remotely and locally. when trying to look on the IIS log files the request is not listed as if it is blocked by something.

我已经进行了以下测试以尝试解决此问题:

i have done the following tests to try and resolve this:

  1. 我已将文件夹重命名为R1,然后我可以访问它上的任何页面
  2. 我已经获得了另一个工作文件夹,并将其重命名为报告",然后无法访问其中的任何文件
  3. 我已经一遍又一遍地重置了权限,但没有成功
  4. 我考虑过请求过滤,但是没有看到包含单词"Reports"的URL的过滤器.我们也没有设置任何过滤器,所以我应该使用默认的IIS设置
  5. 我已经创建了一个简单的html文件,也无法访问它.再次出现401错误

好像IIS只是不喜欢一个名为"Reports"的文件夹.关于我在这里缺少什么的任何想法?

seems like IIS just does not like a folder called "Reports". any ideas on what i am missing here?

推荐答案

服务器上是否已安装SQL Server,特别是SQL Server Reporting Services?显然,它可能会导致Reports文件夹出现问题

Is SQL Server installed on the server, specifically SQL Server Reporting Services? Apparently it can cause problems with a Reports folder

完全独立的想法,所以单独的答案

这篇关于IIS仅在特定文件夹上要求登录凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆