我的代码:
var utility = new CrystalDecisions.ReportAppServer.Utilities.Conversion();
var ortpstring = utility.ToString(orpt);
我收到以下错误:
{System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {08497EE6-2ABB-4E1A-A41E-37D2C26E72B6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at CrystalDecisions.ReportAppServer.Utilities.Conversion.ToString(ISCDReportClientDocument m_rptClientDoc)
at eSiteWeb.frmViewer2.InitializeCrystalReportRAS() in c:\Users\rarch\Development\Amsi-v7.5.2\Product\Production\eSiteWeb\frmviewer2.aspx.cs:line 203}
我正在使用非托管 RAS 2012 Embedded。文档似乎表明这是支持的。
有谁知道我为什么会得到这个,而不是显而易见的。我缺少什么 .dll/功能?