Send a link

IIS



Can't get Access files (MDB) to work on 64 bit Windows?

For example "Provider=Microsoft.Jet.OLEDB.4.0". (Error: "Provider cannot be found. It may not be properly installed.")
To make this work, you need to go to the site's "Application Pool Defaults" (right click application pool) and "Enable 32-bit applications".
This is tested on Windows Server 2008 R2 Standard 64 bit with IIS 7.5.

PageHandlerFactory-Integrated bad module ManagedPipelineHandler (IIS 7+)

Apparently this can break due to installing Visual Studio after installing IIS.
HTTP Error 500.21 - Internal Server Error Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list.


This is due to a bad or missing install of .NET framework in IIS.

Fix it by doing this on 64 bit OS:
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe –i


And on 32 bit OS:
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe –i


Otherwise there's a more elaborate re-install that goes like this on 64 bit OS:
%windir%\Microsoft.NET\Framework64\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart


And on 32 bit OS:
%windir%\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\setup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart


Maybe you need to restart IIS after this.

For more details and hints, see this article http://www.gotknowhow.com/articles/fix-bad-module-managedpipelinehandler-in-iis7(external link)