Dear all,
Good Wishes.
I was developing a Dot Net program. I had to do many Crystal Reports also in that. I use CR XI version. In my code in Dot Net, I had the following code.
Dim cViewer As New ReportDocument()
When I executed the project, I got the error in the above line. The error messages are given below.
-
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.
-
I have already imported these three in my code:
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Windows.Forms
Imports CrystalDecisions.Shared
Any help is appreciated.
Pls note that I am relatively new to the projects in dot net and crystal report.
With regards,
Naren.