reyemsaibot

SAP BI Blog about SAP BW/4HANA, Analysis for Office and SAP HANA - by Tobias Meyer

.Net Error Interop type cannot be embedded

While developing in the Visual Studio for .Net you can get an error like this: „Interop type ‚CrystalDecisions.Enterprise.SessionMgr‘ cannot be embedded. Use the applicable interface instead.“ or
in German: „Interop Typ ‚CrystalDecisions.Enterprise.SessionMgr‘ kann nicht eingebettet werden. Verwenden Sie stattdessen die anwendbare Schnittstelle.“

 

To aviod this error, you have to change the properties of this reference. You have to switch the „Embed Interop Types“ from True to False.

 

Visual Studio Reference Properties
Visual Studio Reference Properties

After this you can compile your program without an error.

author.


I am Tobias, I write this blog since 2014, you can find me on twitter and youtube. If you want you can leave me a paypal coffee donation. You can also contact me directly if you want.

Kommentare

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert