Symptom
Case: I have a c# .Net solution in VS2010. The solution has multiple projects. 2 of those projects are using BO assemblies (listed below).
Problem: When the application is running and I make a call to any of the projects related to BO, everything works fine, and then when I try to use the second project with different libraries the SessionMgr can’t be created.
When I debug the code I receive an “Entry Point Not found” error, but at the end the exception thrown is because it can’t create the SessionMgr: System.Exception: Error establishing connection to BusinessObjects CMS '<Server name>:6401'. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {6670DE06-3F39-4C5D-9238-71FF984D2654} failed due to the following error: 8007007f The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)
The exact line when the code breaks is: SessionMgr sessionMgr = new SessionMgr();
Is it possible to have 2 projects pointing to different versions of BO dlls in the same solution?
I have installed both Business Objects Versions in the GAC and I am sure each project is using the right libraries (I confirmed that during debug) My solution is as follows:
UAM Solution c# .Net 4.0 Visual Studio 2010
- CrystalDecisions.Enterprise (12.0.1100.0)
- CrystalDecisions.Enterprise.Desktop.User (12.0.1100.0)
- CrystalDecisions.Enterprise.Desktop.UserGroup (12.0.1100.0)
- CrystalDecisions.Enterprise.Framework (12.0.1100.0)
- CrystalDecisions.Enterprise.InfoStore (12.0.1100.0)
- CrystalDecisions.Enterprise.PluginManager (12.0.1100.0)
Project BOE4.2 References
- CrystalDecisions.Enterprise.Desktop.User (14.0.2000.0)
- CrystalDecisions.Enterprise.Desktop.UserGroup (14.0.2000.0)
- CrystalDecisions.Enterprise.Framework (14.0.2000.0)
- CrystalDecisions.Enterprise.InfoStore (14.0.2000.0)
- CrystalDecisions.Enterprise.PluginManager (14.0.2000.0)
Read more...
Environment
Businessobject Enterprise .NET SDK
Product
Keywords
side by side, .net, boe sdk , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.