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

-2

Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass' to interface type 'CrystalDecisions.ReportAppServer.Controllers.ISCRReportSource'. enter image description here

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.

c#
asp.net
asp.net-mvc
amazon-web-services
crystal-reports
asked on Stack Overflow Jun 26, 2018 by Mohammad Neamul Islam • edited Jun 27, 2018 by Mohammad Neamul Islam

1 Answer

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.


User contributions licensed under CC BY-SA 3.0