水晶报表调用问题
在页面中调用水晶报表总是提示无效的类别字符串
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: 无效的类别字符串
Source Error:
Line 57:
Line 58: ReportDocument rptDoc=new ReportDocument();
Line 59: rptDoc.Load(path);
第59行有错
在web.config 里
<add key="crystalpath" value="D:\\..\\report\\"/>