Unable to cast COM object of type (No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)))

你离开我真会死。 提交于 2020-01-14 07:01:34

问题


Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass' to interface type '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:


I solved my problem.

  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

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

  3. 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.



来源:https://stackoverflow.com/questions/51041379/unable-to-cast-com-object-of-type-no-such-interface-supported-exception-from-h

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!