Skip to Content
0
Former Member
May 17, 2018 at 02:45 PM

Error deploying a Crystal Reports for VS 13.0.22, ASP.Net, application on a shared server

1440 Views

Error from Crystal Reports for Visual Studio 13.0.22, framework 4.52, when deployed to server 2008 x-86. All should be 32-bit. The steps I took follow:

Copied the following dlls to the bin folder:

  • CrystalDecisions.CrystalReports.Engine
  • CrystalDecisions.ReportAppServer.ClientDoc
  • CrystalDecisions.ReportSource
  • CrystalDecisions.Shared
  • CrystalDecisions.Web

    -

    ASP.Net references were recreated referencing the bin folder. Properties of the references were set to Copy Local and Specific Version: True; Embed Interop Types: False. After creating the reference, the Path changed to: C:\Program Files (x86:

    Commented out Crystal Report setting in the Web.Config except for:

<locationallowOverride="true">

<appSettings>

<addkey="CrystalImageCleaner-AutoStart"value="true"/>

<addkey="CrystalImageCleaner-Sleep"value="60000"/>

<addkey="CrystalImageCleaner-Age"value="120000"/>

</appSettings>

</location>

After running it appeared that a version of the Crystal Reports Runtime had to be installed on the server. Since there would be multiple application using different versions of Crystal Reports, I install 13.0.19.

I am now getting the following 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 '{31E7715A-8AD0-4D1C-958E-C1BE0A6F2D0C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).