Symptom
- Visual Studion 2005 or 2008 web project is deployed to a new server.
- Running the application results in the following error message:
An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll
Additional information: Unrecognized attribute 'xmlns'An unhandled exception of type 'System.TypeInitializationException' occurred in crystaldecisions.shared.dll
Additional information: The type initializer for "CrystalDecisions.Shared.a" threw an exception.An unhandled exception of type 'System.TypeInitializationException' occurred in crystaldecisions.crystalreports.engine.dll
Additional information: The type initializer for "CrystalDecisions.Shared.SharedUtils" threw an exception.
Cause
The web applicaion directory is configured for the 1.1 framework instead of 2.0.
Resolution
- As this application is built using VS .NET 2005 or 2008, the application directory must be configured to use framework 2.0.
- See Microsoft Kbase 909642
Keywords
KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To