cancel
Showing results for 
Search instead for 
Did you mean: 

Can no longer open Crystal report created with Crystal Reports for Visual Studio 2010

waldsa
Discoverer
0 Kudos

ASP.Net web application developed in Visual Studio 2010 with Crystal Reports for Visual Studio 2010 version 13.0.2000.0 on developer workstation running Windows 10 Pro with latest updates.

I can no longer open Crystal Reports in this application at design time or run time.

Design time error: The operation could not be completed. Error in the DLL

Run time error: Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass' to interface type 'CrystalDecisions.ReportAppServer.Controllers.ISCRReportSource'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{98CDE168-C1BF-4179-BE4C-F2CFA7CB8398}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

This legacy application will be upgraded, but I need to edit and run the reports in the current version.

How can I make it work?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

DonWilliams
Active Contributor
0 Kudos

See the platform info, SP 32 is the first SP to support Windows 10.

Time to upgrade:

https://www.sap.com/documents/2016/06/f871031e-757c-0010-82c7-eda71af511fa.html

See my blog to upgrade your projecct:

https://blogs.sap.com/2020/10/30/upgrading-a-visual-studio-2008-2019-.net-project-with-the-latest-cr...

Go here to read all about the upgrades and download link:

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

In the mean time you could try this to see if the new runtime will work using the redirect for your old version while you upgrade:

2719939 - Crystal Reports for Visual Studio Runtime versioning - side by side ability - what to do with WinFormCRViewer.zip from download WIKI


Answers (1)

Answers (1)

DellSC
Active Contributor
0 Kudos

Have you tried to do a repair install on the Crystal for Visual Studio SDK?

The internals of the SDK are based on COM components. It looks like they may have been unregistered or possibly overwritten. You can't have multiple versions of the SDK or runtime installed on the same computer. So, if you're getting ready to upgrade and have installed the latest version of the SDK, it might be causing this issue.

Also, you can't just copy the code or application from one computer to another. Because of the internal COM components, you MUST install either the SDK (on the computer with Visual Studio) or the runtime (on computers where your application is deployed.) Getting the assemblies from NuGet or other types of repositories will not work!

-Dell

waldsa
Discoverer
0 Kudos

I reinstalled Crystal Reports for Visual Studio 2010, but it did not help.

I do not have any other versions of Crystal Reports or runtime files on this PC.

I did not start an upgrade on this project yet.

I was able to open the reports till about about a month ago.

I think it's the Windows updates that made some changes.

DellSC
Active Contributor
0 Kudos

What type of file did you install? If it was a .exe, you need to right-click on it and select "Run as Administrator" to get everything to register correctly in VS. If it wasn't a .exe, then it was a runtime install which doesn't give you the integration with Visual Studio - runtime installs are for use ONLY when deploying your application.

-Dell

waldsa
Discoverer
0 Kudos

I executed file 'CRVS201020_0-10010309.EXE' as administrator.

DellSC
Active Contributor
0 Kudos

This is an old version of the SDK. Which version of Windows and Visual Studio are you using?

Also, I assume you're only having this issue on your development computer - is everything working ok with the deployed application?

-Dell