Run 32-bit IIS applications on server with SharePoint installed

When SharePoint is installed and an applicatiopool is running with 32-bit Applications is true the applicationpool stops and you get a http error 503.
in the eventlog you get the following error:
The Module DLL ‘C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\isapi\spnativerequestmodule.dll’ could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture.

The solution is to configure the SPNativeRequestModule only to be loaded when the application pool is running in Integrated Mode and 64-bit application mode.

Enter the following command in an elevated dosbox:
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/globalModules /[name=’SPNativeRequestModule’].preCondition:integratedMode,bitness64

OR, if you configure everything from PowerShell as I do:

$appCmd = "C:\windows\system32\inetsrv\appcmd.exe"
& $appCmd --% set config -section:system.webServer/globalModules /[name='SPNativeRequestModule'].preCondition:integratedMode,bitness64

Geef een antwoord

Het e-mailadres wordt niet gepubliceerd.