I have an asp.net mvc 3 app installed on IIS6 and I am getting ACL errors (401.3 errors) when trying to access it. It is running as a virtual app under the default web. I have gone through what I believe are the correct security setting on the respective folders.
我在IIS6上安装了一个asp.net mvc 3应用程序,并且在尝试访问它时遇到ACL错误(401.3错误)。它作为默认Web下的虚拟应用程序运行。我已经完成了我认为相应文件夹上的正确安全设置。
I have given the Network Service and in IUSER_ users access to the root folder of the default web. I have also given access to the microsoft.net, temp and system32 folders under c:\windows.
我已经给网络服务和IUSER_用户访问默认Web的根文件夹。我还可以访问c:\ windows下的microsoft.net,temp和system32文件夹。
I still get the 401.3 error. When I set the app to use both anonymous and windows authentication I get prompted for credentials. Entering the credentials allows me to access the app. This means that there is some file/folder that needs permissions.
我仍然得到401.3错误。当我将应用程序设置为同时使用匿名和Windows身份验证时,系统会提示我输入凭据。输入凭据允许我访问该应用程序。这意味着有一些文件/文件夹需要权限。
So I used FileMon to see what was going on. I hit the site and get the ACL error but I see no ACCESS DENIED errors in FileMon nor so I see any reference to the site itself. It is like I never made a request. (Yes I cleared my cache).
所以我用FileMon来看看发生了什么。我点击了网站并获得了ACL错误但我在FileMon中看不到ACCESS DENIED错误,因此我看到对网站本身的任何引用。就像我从未提出过要求一样。 (是的,我清除了我的缓存)。
I am tapped out on what to do next. Any suggestions on where to look to determine what resources needs permissions?
我接下来要做什么。有关在哪里查看以确定哪些资源需要权限的任何建议?
Thanks in advance!
提前致谢!
1 个解决方案
#1
0
In order for MVC to work on IIS6, you need to do some configuration changes in IIS. Specifically, you should tell IIS to handle all request, in order to ensure that the .NET routing engine kicks in.
为了使MVC能够在IIS6上运行,您需要在IIS中进行一些配置更改。具体来说,您应该告诉IIS处理所有请求,以确保.NET路由引擎启动。
http://haacked.com/archive/2010/12/21/asp-net-mvc-3-extensionless-urls-on-iis-6.aspx/
http://haacked.com/archive/2010/12/21/asp-net-mvc-3-extensionless-urls-on-iis-6.aspx/
This is one of the best tutorials on getting MVC to work with IIS6.
这是使MVC与IIS6一起工作的最佳教程之一。
#1
0
In order for MVC to work on IIS6, you need to do some configuration changes in IIS. Specifically, you should tell IIS to handle all request, in order to ensure that the .NET routing engine kicks in.
为了使MVC能够在IIS6上运行,您需要在IIS中进行一些配置更改。具体来说,您应该告诉IIS处理所有请求,以确保.NET路由引擎启动。
http://haacked.com/archive/2010/12/21/asp-net-mvc-3-extensionless-urls-on-iis-6.aspx/
http://haacked.com/archive/2010/12/21/asp-net-mvc-3-extensionless-urls-on-iis-6.aspx/
This is one of the best tutorials on getting MVC to work with IIS6.
这是使MVC与IIS6一起工作的最佳教程之一。