iis 7网站不支持iis 8.5

时间:2017-07-14 22:56:37

标签: asp.net iis http-status-code-404

我在Windows Server 2008计算机上有一个由IIS 7托管的.NET Framework 4站点。它运作良好。当我在Windows Server 2012计算机上使用IIS 8.5创建一个引用相同物理路径的新站点时,新站点将返回此错误:

HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Most likely causes:
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.

Things you can try:
Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

Detailed Error Information:
Module     IIS Web Core
Notification       MapRequestHandler
Handler    StaticFile
Error Code     0x80070002
Requested URL      http://localhost:9009/Migrate/LBEService/Service1.svc/GetAuthenInfo
Physical Path      \\FILESERVER\tech_share\Sites\LBS_ADOT2\Migrate\LBEService\Service1.svc\GetAuthenInfo
Logon Method       Anonymous
Logon User     Anonymous

More Information:
This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
View more information »

可能导致错误的问题是什么?

1 个答案:

答案 0 :(得分:0)

您的IIS工作进程identity无法读取路径。

  

请确保您的应用程序池标识可以访问UNC路径   \ FILESERVER \ tech_share \网站\ LBS_ADOT2 \迁移\ LBEService \

您可以检查身份与工作机器中的身份相同

https://technet.microsoft.com/en-us/library/cc771170(v=ws.10).aspx

相关问题