简体   繁体   中英

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."

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

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"

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:

[Error]This tool is not supported on this version of Windows. Administrators should instead install/uninstall Windows Communication Foundation features using the 'Turn Windows Features On/Off' dialog....

I have windows server 2012 and this IIS version: 在此处输入图片说明

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.

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. 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.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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