Problem with Asp.net 2.0 Crystal Reports Deployment
I've developed an applications with asp.net 2.0, containing crytsal reports, working on dev environment, but when I installed it on integration environment, I got this error :
Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 800736b1.
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.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 800736b1.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Solution:
1. install Crystal Report redist package CRRedist2005_x86.msi
2. execute this command "regsvr32 /u C:\Program Files\Common Files\Business Objects\2.7\Bin\sacommlayer.dll"
3. execute this command "regsvr32 C:\Program Files\Common Files\Business Objects\2.7\Bin\sacommlayer.dll"
The bug is in dll file sacommlayer.dll in C:\Program Files\Common Files\Business Objects\2.7\Bin that appear to be not valid after a wondow 2003 restart.
A practical link to get Crystal Reports patchs
I hade a new error installing it on a new production environment. The difference between the other environment : SQL Server 2005 was not installed on the server hosting the web app.
Error message indicating a problem of db connexion from Crytal reports component:
Server Error in '/' Application.
No error.
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.Runtime.InteropServices.COMException: No error.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Solution : Install SQL Server 2005 Connectivity Tools.