Consultor Eletrônico



Kbase 21342: Using RB Engine w/ DB Already Connected in Single-user Mode
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

SYMPTOM(s):

** The database <file-name> is in use in single-user mode. (263)

Error 263 when using the Report Builder Engine to print a report against a database

User is connected to database in single-user mode

CAUSE:

The Report Builder Engine always makes another connection to the Database to print the report.  If user is already connected in single-user mode, the print request fails with the 263 error.

FIX:

Use the parameter -RO in the RB-DB-CONNECTION parameter.

This example demonstrates:

1) Connect to the Database with prowin32 sports -1.

2) Build a report using the logical_dbname = physical_dbname = sports.

3) In the RB-DB-CONNECTION parameter of _printrb use:

"sports = -db sports -RO"

("<logical_dbname>= -db <physical_dbname> -RO")