I am getting the following error when we add the Crystal Report Engine dll. The Crystal Report version we are using is V9.2. Can I get the correct code to open Crystal Report RPT file in Crystal Report Viewer?
'C:\WINDOWS\assembly\GAC\CrystalDecisions.CrystalReports.Engine\9.2.3300.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.
In application, if user tries to open a crystal report file. The PF Usgae goes high and Server almost hangs. Is the above error causing the server to Hang?