locked
Crystal Report Error. RRS feed

  • Question

  • User-336511135 posted

    Hi,

    I used crystal report in my project that is host on production server and work fine but in few day when i generate crystal report the exception is occured which is mentioned below....

    Error Message:Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 8007007e.
    Stack Trace:   at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()

     

    I dont know why this is happen I re-start the IIS and Windows Server but cant find any solution....

    If you have some solution so please let me know...

    Thanks in Advance

    Wednesday, February 8, 2012 1:13 AM

Answers

  • User1196771204 posted

    hi gurdeep_677

    It is quite normal if you are experiencing issues when deploying Crystal Report 2010 on a server. Based on the error message you experienced,  it seems that you have not properly setup/configured your Crystal Report on the PC/server:


    1. If you see this error message: "Type 'CrystalDecisions.Shared.CrystalReportsException' in assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable", this is due to the fact that your PC is unable to find the right Crystal Report version on your PC. Please try to UNINSTALL any previous Crystal Report version that you have on your system and then, please install Crystal Report for VS 2010 there. You can go tohttp://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0_1.zip (for 64 bit machine) ORhttp://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_1.zip (for 32 bit machine) ORhttp://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_1.exe (FULL package)

    2. Once you have the CR installed on your system, please make sure you set your Crystal Report to operate on LOCAL SERVICE permission. Please check your application pool and make sure it runs under this permission

    3. Please make sure the FULL TRUST read and write permission is set on your working folder

    4. Please make sure you copy the CR aspnet_client folder to your working folder

    Once you have done all the steps above, your crystal report 2010 should work fine. If you are still experiencing problems with your host, I would truly recommend you to migrate your service to asphostcentral.com. This host has supported Crystal Report for VS 2010 and any earlier Crystal Report version.

    If this post helps you, please mark it as an answer. Good luck!

    P.S: Please always make sure you have one Crystal Report version running on your own server. If you have multiple different CR version, your report will not work! 

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 10, 2012 10:10 PM

All replies

  • User339993961 posted

    Did you add the references?

    Wednesday, February 8, 2012 1:15 AM
  • User-336511135 posted

    Yes reference is added and its also working in production server but from last two days issue is occured.

    Wednesday, February 8, 2012 1:30 AM
  • User-37275327 posted

    http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/c0a40e76-7bd9-4113-85a7-190873318c07

    Wednesday, February 8, 2012 11:38 PM
  • User1196771204 posted

    hi gurdeep_677

    It is quite normal if you are experiencing issues when deploying Crystal Report 2010 on a server. Based on the error message you experienced,  it seems that you have not properly setup/configured your Crystal Report on the PC/server:


    1. If you see this error message: "Type 'CrystalDecisions.Shared.CrystalReportsException' in assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable", this is due to the fact that your PC is unable to find the right Crystal Report version on your PC. Please try to UNINSTALL any previous Crystal Report version that you have on your system and then, please install Crystal Report for VS 2010 there. You can go tohttp://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0_1.zip (for 64 bit machine) ORhttp://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_1.zip (for 32 bit machine) ORhttp://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_1.exe (FULL package)

    2. Once you have the CR installed on your system, please make sure you set your Crystal Report to operate on LOCAL SERVICE permission. Please check your application pool and make sure it runs under this permission

    3. Please make sure the FULL TRUST read and write permission is set on your working folder

    4. Please make sure you copy the CR aspnet_client folder to your working folder

    Once you have done all the steps above, your crystal report 2010 should work fine. If you are still experiencing problems with your host, I would truly recommend you to migrate your service to asphostcentral.com. This host has supported Crystal Report for VS 2010 and any earlier Crystal Report version.

    If this post helps you, please mark it as an answer. Good luck!

    P.S: Please always make sure you have one Crystal Report version running on your own server. If you have multiple different CR version, your report will not work! 

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 10, 2012 10:10 PM
  • User-593237760 posted

    Hi, i followed the instructions of necro_mancer, but, it didn't solve entirely the problem.

    In my case, i don't know how, my web.config has been modified with the installation of the CR for VS2010. You have to comment or suppress the sections added in your web.config during the installation for efficient correction:

    <sectionGroup name="businessObjects">
    		<sectionGroup name="crystalReports">
    			<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null"/>
    		</sectionGroup>
    	</sectionGroup>
    
    <buildProviders>
          <add extension=".rpt" type="CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    	</buildProviders>
    
    
    <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    
    <businessObjects><crystalReports><rptBuildProvider><add embedRptInResource="true"/></rptBuildProvider></crystalReports></businessObjects>

    Finally, it solved my problem. But you need to follow necro_mancer instructions first.

    Tuesday, March 13, 2012 6:42 AM