on 04-14-2023 2:47 PM
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
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.