Link to home
Start Free TrialLog in
Avatar of diazluna
diazlunaFlag for United States of America

asked on

Business View Error in Dynamic DataConnection

I am having a problem displaying my report in ASP.Net.  The report is under the BOE repository and is using a parametero for the Dynamic Data Connection to be able to connecto to different environments.

I know how to pass the parameters but I'm not sure why I'm getting the following error:

"Business View error in Dynamic DataConnection. Cannot open database.  Business View error in Dynamic DataConnection.

Here is the code I'm using to pass the parameters:

        reportClientDocument.DataDefController.ParameterFieldController.SetCurrentValue("", "Dynamic Parameter", "My_Dev_Env");
        reportClientDocument.DataDefController.ParameterFieldController.SetCurrentValue("", "req_id", Int32.Parse("161981974"));
        reportClientDocument.DataDefController.ParameterFieldController.SetCurrentValue("", "os_queue_pk", Int32.Parse("161982055"));
Avatar of Mike McCracken
Mike McCracken

I don't use that product but generally the report is opened before it gets the parameters.  

Does BOE allow you to pass the data source that way?

mlmcc
Avatar of diazluna

ASKER

The report is actually opened after the parameters are set.  
Not based on the code but when the report actually opens, it needs to know where the data is and can't apply a parameter at that point.

Since I don't use BOE, I may be off base with that.

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of diazluna
diazluna
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial