When trying to access any webpage (SingleSignOn or SuperAgent) on a SuperAgent Master Console that is installed on 64-bit Windows, you get the following error: Server Error in '/SuperAgent' Application. Could not load file or assembly 'NetQoS.Core.TimeZone' or one of its dependencies. An attempt was made to load a program with an incorrect format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.BadImageFormatException: Could not load file or assembly 'NetQoS.Core.TimeZone' or one of its dependencies. An attempt was made to load a program with an incorrect format.
To resolve this issue, you must configure IIS to run 32-bit applications on 64-bit Windows:
- Open a command prompt and navigate to %systemdrive%\Inetpub\AdminScripts
- Execute the following command:
cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 1
- Type the following command to install the version of ASP.NET 2.0 (32-bit) and to install the script maps at the IIS root and under:
- Make sure that the status of ASP.NET version 2.0.50727 (32-bit) is set to Allowed in the Web service extension list in Internet Information Services Manager.