简体   繁体   English

无法为页面提供HTTP错误404.3-找不到

[英]Page cannot be served HTTP Error 404.3 - Not Found

I'm new in IIS, I have asp web applications, and I must add them to the default web site, and when I run default web site, it's fine, but when I run the applications I receive the error: "HTTP Error 404.3 - Not Found" "The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map." 我是IIS的新手,我有ASP Web应用程序,必须将它们添加到默认网站,并且在运行默认网站时可以,但是在运行应用程序时收到错误消息:“ HTTP错误404.3 -找不到”“由于扩展​​名配置,无法提供您请求的页面。如果页面是脚本,请添加处理程序。如果应该下载文件,请添加MIME映射。”

In server roles I have: 在服务器角色中,我有:

在此处输入图片说明

In server Features I have: 在服务器功能中,我具有: 在此处输入图片说明

I have tried to register aspnet components: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319> .\\aspnet_regiis.exe -ir 我尝试注册aspnet组件:C:\\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319>。\\ aspnet_regiis.exe -ir

but I recieve this message: "This option is not supported on this version of the operating system. Administrators should instead install/uninstall A SP.NET 4.5 with IIS8 using the Turn Windows Features On/Off dialog" 但我收到此消息:“此版本的操作系统不支持此选项。管理员应该使用“打开/关闭Windows功能”对话框使用IIS8安装/卸载SP.NET 4.5。

I tried this too: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319> .\\ServiceModelReg.exe -ia and C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319> .\\ServiceModelReg.exe -ir but I recieve this message: 我也尝试过这个:C:\\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319>。\\ ServiceModelReg.exe -ia和C:\\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319>。\\ ServiceModelReg.exe -ir但我收到此消息:

[Error]This tool is not supported on this version of Windows. [错误]此版本的Windows不支持此工具。 Administrators should instead install/uninstall Windows Communication Foundation features using the 'Turn Windows Features On/Off' dialog.... 管理员应该使用“打开/关闭Windows功能”对话框来安装/卸载Windows Communication Foundation功能。

I have windows server 2012 and this IIS version: 我有Windows Server 2012和此IIS版本: 在此处输入图片说明

I can't remove or uninstall IIS, because this is our customer server and they uses the default web site for their Application and myapplications must run in that web site. 我无法删除或卸载IIS,因为这是我们的客户服务器,他们将默认网站用于其应用程序,而myapplications必须在该网站上运行。

What can I do?? 我能做什么?? I hope somebody please help me. 我希望有人能帮助我。

Best Regards 最好的祝福

404.3 means there is a MIME type restriction, meaning that the IIS server will not handle files with whatever type of files you are trying host. 404.3表示存在MIME类型限制,这意味着IIS服务器将不处理您尝试托管的任何文件类型的文件。 The handler has to defined under Handler Mappings (should be under your website). 处理程序必须在“ 处理程序映射”下定义(应在您的网站下)。

在此处输入图片说明

Click Add Module Mapping and add the type of the file extension. 单击添加模块映射,然后添加文件扩展名的类型。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM