asp.net

24 avril 2009

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:
 


[COMException (0x800736b1): Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 800736b1.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +207

[TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0

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: 


[COMException (0x80000000):
No error.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.VerifyDatabase() +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.VerifyDatabase() +40
CrystalDecisions.CrystalReports.Engine.ReportDocument.VerifyDatabase() +53

[LogOnException: Log on failed.]
CrystalDecisions.CrystalReports.Engine.ReportDocument.VerifyDatabase() +143

Solution : Install SQL Server 2005 Connectivity Tools.


Posté par jicy à 14:40 - Asp.Net - Commentaires [1] - Rétroliens [0] - Permalien [#]
Tags : , ,


Commentaires

Bonjour ! Je voulais juste dire que je suis tombe par hasard sur ce site et que je le trouve cool. Je reviendrais dans tous les cas.

Posté par Pierre, 21 mars 2011 à 11:16

Poster un commentaire







Rétroliens

URL pour faire un rétrolien vers ce message :
http://www.canalblog.com/cf/fe/tb/?bid=598228&pid=13497182

Liens vers des weblogs qui référencent ce message :