无法转换类型的COM对象(不支持此类接口(HRESULT的异常:0x80004002(E_NOINTERFACE))) [英] Unable to cast COM object of type (No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)))

查看:1019
本文介绍了无法转换类型的COM对象(不支持此类接口(HRESULT的异常:0x80004002(E_NOINTERFACE)))的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法将类型为"CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass"的COM对象转换为类型为"CrystalDecisions.ReportAppServer.Controllers.ISCRReportSource"的接口.

在我的本地计算机上,一切正常运行.当我在水晶报表中发布该错误时,我尝试解决所有类型的令牌问题,但是在解决了令牌问题后,它显示了这种类型的问题.但是我什么也没得到解决方案的类型这类问题.

In my local machine everything work properly.When i published it it the error in the crystal report i try to solve all type of token problem but after solving token problem its show this type of problem .But i don't get any type of solution this type of problem.

推荐答案

我解决了我的问题.

  1. 首先,您检查报告文件夹,所有报告都将发送到服务器. 如果不转到服务器,请将报告 Build Action 设置为 Content

  1. At first you check your report Folder and all reports goes to the server. if don't go to the server please set report Build Action as Content

然后检查您引用的dll.并设置 所有 Crystal Decisions 参考 Copy Local True 都像

Then Check you you reference and dll. And set all Crystal Decisions reference Copy Local True like asenter image description here

然后检查您的计算机 Crystal Reports Service Pack (如果安装了Service Pack 22),则必须在虚拟PC中安装 RUNTIME Service Pack 22 我希望一切正常,然后一切正常.

Then check you Computer Crystal Reports Service Pack if you install Service Pack 22 then in your virtual pc must be install RUNTIME Service Pack 22 I hope if every thing is ok then it work properly.

这篇关于无法转换类型的COM对象(不支持此类接口(HRESULT的异常:0x80004002(E_NOINTERFACE)))的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆