Exchange 2010 – Wrong path for kerbauth.dll in IIS config

Exchange unattended installs can sometimes misfire, and I had an instance where the install path specified in the install script became

D:\EXCHANGE,SERVER\

instead of

D:\EXCHANGE SERVER\

with a comma “,” replacing the space. As a result the PowerShell provider broke and local management functions were impaired.

Eventually I decided to uninstall and take the space out, since various combinations of singe and double quotes were interpreted differently across multiple machines and remove the spaces in the path entirely.

Actions thus far were to: Uninstall, Reboot, Reinstall, Reboot.

The Application event log showed a ton of errors generated by IIS-W3SVC-WP, specifically pointing to Kerberos and IIS.

The Module DLL D:\Exchange,Server\V14\Bin\kerbauth.dll failed to load.  The data is the error.

EXBPA confirmed the same thing

Incorrect kerbauth.dll loaded

The kerbauth.dll module loaded in IIS points to an incorrect location: ‘D:\Exchange,Server\V14\Bin\kerbauth.dll’. It should point to ‘D:\ExchangeServer\V14\Bin\kerbauth.dll’.

This isn’t something you can fix in the registry. The path to kerbauth.dll is specified in

C:\Windows\System32\inetsrv\config\applicationHost.config

which is a text file editable via Notepad. A search for the wrong path quickly revealed the wrong path, specifically:

<add name=”kerbauth” image=”D:\Exchange,Server\V14\Bin\kerbauth.dll” />

After correcting and saving  the file, the next step required is to issue an

IISRESET /NOFORCE

on the command line.

Nicolas Blank

Nicolas is an Architect, author, and speaker focused on all things Exchange and Cloud at NBConsult. With over 16 years of experience on Exchange, Nicolas consults to customers globally on cloud based and on-premises Exchange as well as ISVs building Exchange focused products. Nicolas has extensive experience using Azure to create public and private Azure based offerings leveraging cloud based principles and common sense. Nicolas currently holds status of MCM Exchange 2010, Office 365 (Microsoft Certified Master), MCSM Exchange 2013, and has been awarded Microsoft MVP (Most Valuable Professional) for Microsoft Exchange since March 2007. Nicolas has co-authored "Microsoft Exchange Server 2013: Design, Deploy and Deliver an Enterprise Messaging Solution," published by Sybex. Nicolas blogs regularly on Exchange and messaging topics at blankmanblog.com, tweets at @nicolasblank, and is the founder of and a contributor to IT Pro Africa itproafrica.com and @itproafrica

nicolasblank has 99 posts and counting.See all posts by nicolasblank

Pin It on Pinterest