ISAPI Filter ‘C:\Windows\Microsoft.NET\Framework\v4.0.30319\\aspnet_filter.dll’ could not be loaded due to a configuration problem


After monthly server patching, I also made some security enhancements to the web.config files in the C:\Windows\Microsoft.NET\FrameworkXX\vXXX\CONFIG\ directories. It was therefore important that I test both 32bit and 64bit application pool modes. I found that tests running 64bit mode were suddenly failing with the following error message:

ISAPI Filter ‘C:\Windows\Microsoft.NET\Framework\v4.0.30319\\aspnet_filter.dll’ could not be loaded due to a configuration problem. The current configuration only supports loading images built for a AMD64 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see

It was of no surprise what so ever that the link included in the error message was 100% useless (thanks again Microsoft). One article I found suggested I uninstall .NET 4 – that’s like turning a monitor off to fix a dead pixel.


Upon closer inspection of the error message I noticed the problem:


Windows doesn’t handle double slashes very well as opposed to Linux. What is strange is none of these settings are manually changed which suggests it was perhaps a Windows update that caused this, however I have no evidence beyond change control logs.

I fixed with the following process:

Opened IIS Manager and selected the IIS web server node:

In the middle pane, browse to the IIS section and select ISAPI Filters:

Expand the columns as required, looking for an Executable path with \\ in it, then click Edit:

From the above screenshot, change the \\ to \ so the path reads:


Just keep in mind that the folders Framework and Framework64 or the .NET version may change depending on your implementation.

After clicking OK, all my testing started to work again and the 500 Internal Server errors went away.


A possible Microsoft update (exact cause unknown) made an error updating an existing or installing a new ISAPI handler to IIS. By mishandling the path, it inserted \\ instead of \ into the executable path causing IIS to be unable to load the filter.

This caused 500 Internal Server errors to sites/applications running application pools in 64bit mode.

Hopefully this helps someone out. If it does, leave me some feedback! Thanks all!

Similar Posts:

VN:F [1.9.22_1171]
Rating: 5.0/5 (27 votes cast)
VN:F [1.9.22_1171]
Rating: +39 (from 39 votes)
ISAPI Filter 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\\aspnet_filter.dll' could not be loaded due to a configuration problem, 5.0 out of 5 based on 27 ratings
Tags: , , , .

92 Responses to ISAPI Filter ‘C:\Windows\Microsoft.NET\Framework\v4.0.30319\\aspnet_filter.dll’ could not be loaded due to a configuration problem

  1. Arathy says:

    Thanks a lot..!! I have been searching for the solution for past one day. Your post solved my problem . :)

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

What are your thoughts?