English 中文(简体)
经典ASP突然给我许可(401.3)错误
原标题:Classic ASP suddenly giving me permissions (401.3) error

背景: 我支持经典的 ASP 环境。 作为这种支持的一部分, 我在当地的机器上设置了一个开发装置。 我正在运行 IIS 7 。

为了进入我的环境,我使用“http://localhost:99999/”(为隐私目的伪造的 # 港口),直到今天,我一直对此没有异议。

我创建了一个应用程序, 准备在这个环境中运行。 应用程序是 ASP. NET v. 4. 0 (例如, 我会说它叫做“ http:// localhost: 99999// DotNetApp / ” 。 当然, 为了运行这个程序, 我不得不建立环境应用程序库来支持它( 它现在这样做了 ) 。

问题:在配置了这个之后,我现在得到的是:

Server Error in / Application.

Access is denied. Description: An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources.

错误信息401.3: 您没有权限使用您提供的证书查看此目录或页面( 访问权限因访问控制列表被拒绝 ) 。 请 Web 服务器管理者允许您访问 [ filepath] 源Files 。

我在设置 IIIS 配置之前没有拿到这个 为什么我现在要拿到这个?

注意:这只发生在“http://localhost:99999//”中;如果我尝试“http://localhost:99999/default.asp”(页面没有问题),就不会发生这种情况。

有人有洞察力吗?

提前感谢。 。 。

Edit: 额外症状: 我尝试玩过应用程序池设置。 如果我将.NET Framed 版本修改为2.0. 50727 或“ 无管理代码 ”, 问题就会消失。 将它修改为4. 0.31319 打破它。 当然, 如果我使用其它两个版本中的任何一个版本, 我的 ASP.net 应用程序将无法运行 。

Edit # 2: 这个问题发生在文件夹或目录的所有链接上(例如“http://localhost:99999/ some folder/”),而不仅仅是网络根。

Edit #3: I have a work roid: set "http://localhost:99999/" and "http://localhost:99999/DotNetApp/" 在单独的应用池中设置“http://localhost:999999/DotNetApp/” 。第一个在.NET 2. 0 中运行, 而后者运行.NET 4.0. 0 。 (一旦我的8小时限制到期,我将将此作为答覆) 可能不是最佳的答案 -- 我更喜欢一些不及于klojud的东西 -- 但目前,它会完成它的任务。 但是,如果有人有解决方案可以让我在同一个应用池中运行所有东西, 以各种方式, 邮寄出去!

最佳回答

您可能必须在 IIS 7 中的“ 默认文档” 设置中指定“ 默认. asp ” 允许的“ 默认文档” 。

EDIT: 检查是否安装了 ASP: 控制面板 - & gt; 程序与功能 - & gt; Windows 特性 - & gt; Internet 信息服务 - & gt; Www 服务 - & gt; 应用开发特性 & gt; ASP

""https://i.sstatic.net/AUPEk.png" alt="此处输入图像描述"/ >

EDIT 最后解决方案: IUSR 账户在网站上的文件夹中丢失了 。

问题回答

在 IIS 中设置网站的默认页面 。

尝试为文件夹属性中其它用户名和组设置目录“ [文件路径] 源文件/ ” 或/ 和“ ALlow” 的“ 每个人” 权限 。





相关问题
How to import excel file in web page useing Classic ASP?

We are trying to open an existing excel file (2003) from server location in a web page and save it again in the same location using following syntax. Set ExcelReportApp = CreateObject("Excel....

What s the best method to do paging in my ASP page

What s the best method to do paging in my ASP page when displaying a list of items? I knew that there is no equivalent to MySQL s LIMIT clause present in SQL Server, either 2000 or 2005. How can I ...

Using Classes in a Dictionary in Classic ASP

I usually do C# but have inherited a classic ASP project. I have defined a class: Class clsPayment Public Name End Class Set objPayment = New clsPayment objPayment.Name = "...

Response.Redirect HTTP status code

Why is it that ASP/ASP.NET Response.Redirect uses a HTTP-302 status code ("Moved Temporarily") even though in most cases a HTTP-301 status code ("Moved Permanently") would be more appropriate?

form inside form serialize problem

I am trying to submit a form inside another form because I will need first form s outcome in the second form. I tried using form serialize as advised in some other threads. Problem here is, I dont ...

热门标签