cancel
Showing results for 
Search instead for 
Did you mean: 

can .net run/view Crystal report using Business View Manager layer

Former Member
0 Kudos

Heard that Visual Studio.net with BOE/Crystal SDK's cannot handle a Crystal Report that is using the BOE Business View Manager layer to abstract complexity of data sources.

I have a VB.net viewer that can handle Crystal reports that do not go through this layer, but it fails on those that use this layer. Maybe I need a smarter viewer?

Running such a report in the Crystal 11 designer client, I am prompted for Central Management Server id and password (and a dynamic connect choice of test or prod DB defined by Business Manager layer) before rendering report. I have tried (without success so far) to establish a CMS session before calling the viewer, but even if I get this to work, perhaps I am wasting my time if the SDK's cannot handle a report using Business Manager layer.

alan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for pointing out problem is installation of SDK. For reasons unknown to me, I have multiple versions of dll's on workstation and by creating reference to different version I was able to successfully open an enterprise session.

former_member208657
Active Contributor
0 Kudos

A Crystal Report that uses a Business View needs to be published and managed in Enterprise. The Enterprise .NET SDK can easily preview a report that is published to BusinessObjects Enterprise.

You'll want to look at our [SDK Library |http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]on Diamond. Plus, check out [code samples|https://boc.sdn.sap.com/codesamples].

Former Member
0 Kudos

Thank you for your quick response. You have given me the motivation to keep trying to accomplish this.

Given that this should work, my next question is what does an error 80040154 mean? I have not yet found any explanation that I can comprehend.

I have followed a BOE SDK VB.net tutorial to open a session. I am able to create variables of types defined in referenced libraries including SessionMgr type variable. I keep getting 80040154 error as soon as I try to create an instance of SessionMgr. This logon page collects information to log into remote server (with ID and password I know works in CMC).

My environment: Crystal Reports Server XI r2 on remote hardware installed using all defaults including Tomcat and up and running and available to console and Business View Manager and Crystal reports; Visual Studio 8 on my workstation; using VS development server to debug project (don't know how to point to other server since option screen only seems to allow IIS alternative to VS development server); references to libraries on remote server with imports of System.Web.Security and CrystalDecisions.Enterprise

alan

former_member208657
Active Contributor
0 Kudos

Alan,

Please re-post new questions as new threads. We limit threads to only one question.

Thanks

ted_ueda
Employee
Employee
0 Kudos

Enterprise .NET SDK uses COM interop. That exception number arises from that layer, indicating it can't load the COM objects.

Have the Enterprise .NET SDK been installed on your development machine?

Sincerely,

Ted Ueda