The information in this article applies to:
- DOVICO Timesheet
- Windows Server 2008 64-bit
- Windows Server 2008 SBS
- Microsoft Exchange Server 2007
Symptoms:
You receive one of the following errors:
"HTTP Error 503. The service is unavailable."
or
HTTP Error 500.0 - Internal Server Error
Calling LoadLibraryEx on ISAPI filter "C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\auth\owaauth.dll" failed
Cause:
When an IIS 7 application pool has enabled 32-bit mode set to True it attempts to load 64-bit modules. These modules require the preCondition directive set to bitness64 so that they are only loaded in application pools that have enabled 32-bit mode set to False.
Resolution:
- Locate the applicationhost.config file on the IIS 7 server ( located by default in C:\Windows\System32\Inetsrv\config\ )
- Search for the following sections:
<add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" />
<filter name="Exchange OWA Cookie Authentication ISAPI Filter" path="C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\auth\owaauth.dll" enabled="true" />
<filter name="Exchange ActiveSync ISAPI Filter" path="C:\Program Files\Microsoft\Exchange Server\ClientAccess\sync\bin\AirFilter.dll" enabled="true" />
-
Append the preCondition="bitness64" directive to the end of the values above immediately before />
-
The modified values should look like the examples below:
<add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" preCondition="bitness64"/>
<filter name="Exchange OWA Cookie Authentication ISAPI Filter" path="C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\auth\owaauth.dll" enabled="true" preCondition="bitness64"/>
<filter name="Exchange ActiveSync ISAPI Filter" path="C:\Program Files\Microsoft\Exchange Server\ClientAccess\sync\bin\AirFilter.dll" enabled="true" preCondition="bitness64"/>
-
Save the file
-
Restart IIS, type iisreset in the run dialog box
-
Launch Dovico TImesheet
NOTE: There could be additional 64-bit modules that are installed by other applications which may also require the preCondition="bitness64" directive.
Windows Server 2008 SBS
If you are installling on Windows Server 2008 SBS and have applied the above fix. You will receive the follwoing error.
http error "500.19 - Internal Server Error"
This error is caused because Windows Update Services uses Http Dynamic Compression. Http Dynamic Compression is not supported in 32bit mode.
In order to resolve the problem Http Dynamic Compression must be disabled. Perform the following to disable Http Dynamic Compression.
1. Navigate to Start, Run,
2. In the Run command type cmd.
3. In the DOS Prompt run the following command.
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
After this command is applied Http Dynamic Compression is disabled. However, both Windows Update Services and DOVICO Timesheet will now work.