CrystalReport 2008 发布时出现 1455942 错误

来源:互联网 发布:stc单片机 宏晶 编辑:程序博客网 时间:2024/05/16 18:14

如题,在google上狂搜,连篇中文的都没有,真是的,贴到csdn上来,有需要的同志看一下:

 

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433353335333933343332%7D.do

 

 

帖子内容:

 

 

Symptom

  • Using the Crystal Reports .NET SDK to create a new instance of a ReportDocument.
  • Error: Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.
System.Runtime.InteropServices.COMException was unhandled by user code
  Message="Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003."
  Source="CrystalDecisions.CrystalReports.Engine"
  ErrorCode=-2147483645
  StackTrace:
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at _Default.ConfigureCrystal() in c:/Inetpub/wwwroot/reportingApp/Default.aspx.cs:line 26
       at _Default.Page_Load(Object sender, EventArgs e) in c:/Inetpub/wwwroot/reportingApp/Default.aspx.cs:line 17
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  InnerException:

 

Environment

  • Crystal Reports 2008, SP2
  • Visual Studio 2008

 

Reproducing the Issue

CrystalDecisions.CrystalReports.Engine.ReportDocument boReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();

 

Cause

  • The {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} is the GUID for clientdoc.dll.
  • The clientdoc.dll COM library has become unregistered on the system.

 

Resolution

  1. Go to Start > Run. Then type in:
regsvr32 "C:/Program Files/Business Objects/BusinessObjects Enterprise 12.0/win32_x86/clientdoc.dll"
  1. Click OK.
  2. Restart the application server, or the entire server for the change to take effect.
原创粉丝点击