Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Deploy Enterprise .Net SDK to web server

Can someone tell me the correct way to install the Enterprise .Net SDK dlls on a web server? I am working on a Visual Studio 2005 website that displays a web intelligence report on an aspx page. In order to fetch the web intelligence report in my .net code I had to run the BOE X1 R2 installer on my local computer to get the correct dlls. I selected the server installation option and deselected all of the items except for the .Net SDK. The website runs fine on my local machine, but when I push it out to the web server I get the following error message.

COMException (0x80040154): Retrieving the COM class factory for component with CLSID {BD984C67-258F-426A-AA6C-925C63BE6CC5} failed due to the following error: 80040154

CrystalDecisions.Enterprise.SessionMgr..ctor() +13

I believe it is failing because the Enterprise .Net SDK dlls are not installed on the web server. I tried putting the BusinessObjects.ReportEngine and CrystalDecisions.Enterprise.Framework dlls in the Bin folder, but it did not work.

I already installed the Crystal Reports for Visual Studio 2005 merge modules on the web server. We have several websites on the server that have embedded Crystal Reports that were created in the Crystal Reports that came with VS2005. We did not create these reports with BOE X1 R2.

Is there a merge module that would have the Enterprise .Net SDK dlls in it that I could install on the web server? Or, do I have to run the BOE X1 R2 installer on the web server? Will the installation of these Enterprise .Net SDK dlls on the web server cause problems with the existing Crystal Reports that are embedded in the Visual Studio 2005 websites. We do not want to upgrade these reports to the new 11.5 format.

Listed below are my assemblies from my web.config file.

<add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.Enterprise.Framework, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="BusinessObjects.ReportEngine, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

Thanks for your help.

Mitch

replied

Hi Mitch,

1) Yes, you would need to deploy the Enterprise runtimes just like you did on your dev box.

2) You have mixed references in your project. We do not support running applications in that manner (ie have 10.2 and 11.5 runtimes running in the same app)

You will need to change your references to all 11.5.3300.

And if you are going to use the .NET 2.0 framework, then your .web and .shared need to be 11.5.3700.

You would also need to deploy the Crystal Reports XI R2 runtimes on the server to get the 11.5.3700 versions of those dlls on there since they do not get installed off of the Enterprise CD.

Jason

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question