An IIS 404.3 error occurs when a web server is requested to serve a file with a MIME type that is not configured in the Internet Information Services (IIS) manager. This issue affects Windows Server administrators managing websites hosted on IIS.
Before you begin
You will need:
Administrator access to the Windows Server
Access to the Internet Information Services (IIS) Manager console
The specific file extension causing the error (e.g., .json, .woff, .webp)
Identify the missing MIME type
To resolve the error, you must identify which file extension is triggering the 404.3 response and add the corresponding MIME type to the IIS configuration.
Open Internet Information Services (IIS) Manager.
In the Connections pane, select the specific website or the server node.
Double-click MIME Types in the center pane.
Locate the file extension causing the issue in the list.
If the extension is not listed, click Add... in the Actions pane on the right.
Enter the Extension (e.g.,
.json) and the MIME Type (e.g.,application/json).Click OK.
Verify the configuration
After adding the MIME type, you may need to restart the application pool or the IIS service to ensure the changes are active.
In IIS Manager, select the Application Pools icon.
Select the pool assigned to your website.
Click Recycle in the Actions pane.
Refresh the website in a web browser to confirm the file loads correctly.
If the error persists after adding the MIME type
If the file still returns a 404.3 error after you have added the MIME type to the server, the issue may be caused by a restriction in the web.config file.
Open the
web.configfile located in the website's root directory.Locate the
<system.webServer>section.Look for a
<remove MIMEType="..."/>or a specific<staticContent>block that might be overriding the global IIS settings.Ensure the specific MIME type is explicitly allowed within the
<staticContent>section of theweb.config.Save the file and refresh the site.
Limitations
Adding a MIME type allows IIS to serve the file, but it does not guarantee that the file is valid or accessible by the browser. Ensure the MIME type matches the standard for the file format to ensure proper browser rendering.
