on 10-03-2008 1:53 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Clarification to Jason's post:
If you are display Web Intelligence documents, do not install from the Crystal Reports XI Release 2 runtimes. It will not properly update the Rebean assemblies and backing COM objects.
Install from the BusinessObjects Enterprise installation medium.
Sincerely,
Ted Ueda
Thanks for the replies.
I believe that I have found an easier solution for displaying a web intelligence report on my aspx page. I am now experimenting with adding an iframe control on the page and setting the src attribute to the report path. I am using the opendocument method for displaying the webi report. Listed below is some sample code.
strLink = "http://MyServerName/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?sDoc=PhyCompProviderSummaryWindowwAD+Drill&sType=wid&sViewer=html&iDocid=5159141&sRefresh=Y"
Me.ifSummary.Attributes.Add("src", strLink)
ifSummary is the ID of the iframe control on my page.
This method does not require any BOE dlls to be installed on the web server. I can easily set the document name and ID in the path at runtime.
Mitch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have installed the crystal report server on one machine in my Office network. We are using this as our crystal reports server.
I am trying to access the crystal reports through an ASP .net application using c#, but I am getting following error.
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 have registered the EnterpriseFramework.dll on the server
However I have not installed the .net SDK and client components on my local machine from which I am trying to access the crystal reports.
What could be the problem?
If you want to use the BusinessObjects Enterprise's assemblies, you can run your Business Objects Enterprise's installation CD in order to perform a Custom installation and select "BusinessObjects
Enterprise .NET SDK" from the Developer Components listed in the
Select Features dialog box.
For your web server to run a reporting application using BusinessObjects
Enterprise for .NET, the web server must be running the .NET Framework (1.1 or/and 2.0) and
provide access to the BusinessObjects Enterprise .NET libraries. The assemblies will be normally presents not only in the managed folder under the 3.5 folder but also in the GAC (global assembly cache -c:\windows\Assembly).
Cheers
Alphonse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Enterprise .NET SDK uses COM Interop - did you install both the Enterprise .NET and COM SDKs, and have the COM objects been registered on the server?
XCopy deployments of just the .NET assemblies won't work.
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.