Could not load file or assembly ‘TraceWrapper,
Version=1 .0.523.0, Culture=neutral,
PubhcKeyToken=31bf3856ad364e35’ or one of its
dependencies. An attempt was made to load a
program with an incorrect format.
This can occur if the application pool for SCVMM self-service portal is configured with Allow 32-bit Applications set to “True” in the Advanced Settings.
By default on a 64-bit machine, the Application pool in IIS 7 has the Allow 32-bit Applications setting set to false, however in certain environments the application pool may have Allow 32-bit Applications configured as True. In these cases we will receive error message as stated above. To resolve this issue change the Allow 32-bit Applications setting to False from True. To do that perform the following steps:
- Open the IIS admin console.
- Right-click the Application pool corresponding to SCVMM and select Advanced settings.
- Under the Advanced settings, select the Allow 32-bit Applications setting and change it to False.
For the latest version of this article please see the Knowledge Base article below:
KB2397656 – Attempting to login to the System Center Virtual Machine Manager 2008 self-service portal fails with "Could not load file or assembly"
J.C. Hornbeck | System Center Knowledge Engineer
The App-V Team blog: http://blogs.technet.com/appv/
The WSUS Support Team blog: http://blogs.technet.com/sus/
The SCMDM Support Team blog: http://blogs.technet.com/mdm/
The ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
The OpsMgr Support Team blog: http://blogs.technet.com/operationsmgr/
The SCVMM Team blog: http://blogs.technet.com/scvmm/
The MED-V Team blog: http://blogs.technet.com/medv/
The DPM Team blog: http://blogs.technet.com/dpm/
The OOB Support Team blog: http://blogs.technet.com/oob/
The Opalis Team blog: http://blogs.technet.com/opalis