Skip to Content

Exception thrown: 'System.Runtime.InteropServices.COMException' in CrystalDecisions.ReportSource.dll

Hi there,

We are having an issue with a project in Visual Studio 2017 when attempting to open reports.

This is the error shown in Visual Studio:

Exception thrown: 'System.Runtime.InteropServices.COMException' in CrystalDecisions.ReportSource.dll

What am I missing here?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 06, 2019 at 03:27 PM

    Select each of the Crystal references in your project. In the properties, there is an option called "Embed Interop Types". By default, this is set to True, but it needs to be False for your application to run. Also, you need to make sure that you're using the full version of the .NET framework, not a client or core version.

    -Dell

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.