System.Runtime.InteropServices.COMException (0x80004005): 无法创建目录或文件
2014-08-04 12:50
537 查看
下单员QQ远程求助,百试不得解
调试时出错信息:
自定义工具错误: "代码生成器 'ReportCodeGenerator' 失败。异常堆积 = CrystalDecisions.Shared.CrystalReportsException: 加载报表失败。 ---> System.Runtime.InteropServices.COMException (0x80004005): 无法创建目录或文件。 在 CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
在 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
在 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- 内部异常堆栈跟踪的结尾 ---
在 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
在 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
在 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
在 CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
在 CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"
...................
现象:
原因:
临时文件目录下的空间不足,水晶报表出错。
解决方法:
将C:\Documents and Settings\Administrator\Local Settings\Temp目录下的文件删除掉就OK了。
感谢在挨踢界的同行们的支持,谢谢!
调试时出错信息:
自定义工具错误: "代码生成器 'ReportCodeGenerator' 失败。异常堆积 = CrystalDecisions.Shared.CrystalReportsException: 加载报表失败。 ---> System.Runtime.InteropServices.COMException (0x80004005): 无法创建目录或文件。 在 CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
在 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
在 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- 内部异常堆栈跟踪的结尾 ---
在 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
在 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
在 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
在 CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
在 CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"
...................
现象:
原因:
临时文件目录下的空间不足,水晶报表出错。
解决方法:
将C:\Documents and Settings\Administrator\Local Settings\Temp目录下的文件删除掉就OK了。
感谢在挨踢界的同行们的支持,谢谢!
相关文章推荐
- System.Runtime.InteropServices.COMException (0x800A03EC): 无法访问文件
- 文档管理系统 之一 doc、xls、ppt文档转换成html及System.Runtime.InteropServices.COMException (0x80004005): 360的问题
- c#程序在部分电脑运行异常解决方法(System.Runtime.InteropServices.COMException (0x80070422): 无法启动服务)
- “System.Runtime.InteropServices.COMException (0x80070422): 无法启动服务”解决方法
- System.Runtime.InteropServices.COMException (0x8004E00F): COM+ 无法与 Microsoft 分布式事务协调程序交谈 (异常来自 HRESU
- 文档管理系统 之一 doc、xls、ppt文档转换成html及System.Runtime.InteropServices.COMException (0x80004005): 360的问题
- System.Runtime.InteropServices.COMException (0x8004E00F): COM+ 无法与 Microsoft 分布式事务协调程序交谈 (异常来自 HRESU
- “System.Runtime.InteropServices.COMException”/ 其他信息: ClassFactory 无法供应请求的类 (异常来自 HRESULT:0x80040111
- “System.Runtime.InteropServices.COMException”解决之道
- Visual Studio 2008 System.Runtime.InteropServices.COMException
- 完美解决“换另一台电脑上用VS2008继续开发web项目时出现“System.Runtime.InteropServices.COMException”,然后是加载不了项目。”
- 完美解决“换另一台电脑上用VS2008继续开发web项目时出现“System.Runtime.InteropServices.COMException”,然后是加载不了项目。”
- System.Runtime.InteropServices.COMException解决办法
- 未处理的“System.Runtime.InteropServices.COMException”类型的异常出现在 comlayout.exe 中。其他信息: 检索 COM 类工厂中 CLSID 为 {0EC8CCC8-EBED-495E-9A9F-313
- System.Runtime.InteropServices.COMException (0x80040154)错误
- 解决System.Runtime.Interopservices.COMException问题
- System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory for component with CLSID
- System.Runtime.InteropServices.COMException: 拒绝访问.
- System.Runtime.InteropServices.COMException: 拒绝访问.
- 异常详细信息:System.Runtime.InteropServices.COMException: 此事务已明地或暗地被确认或终止