Home » Developer & Programmer » Forms » REP-52005: The specified key BSTI does not exist in key map file.
REP-52005: The specified key BSTI does not exist in key map file. [message #280844] Thu, 15 November 2007 00:39 Go to next message
dbhossain
Messages: 155
Registered: August 2007
Location: Dhaka
Senior Member

Dear Experts,

i face the problem when i use keyname entry to
display reports.

when i type the command as

web.show_document('/reports/rwservlet?BSTI&server=newserver&paramform=no&
MODULE=D:\BSTICM_REPORTSHOUSE\CM_COMMODITY_LIST.rdf',' ');

but i got the error message as:

REP-52005: The specified key BSTI does not exist in key map file.


please help me.


i configured my
cgicmd.dat file structures as follows
for keyname entry "BSTI":



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ;
; Oracle9iAS Reports Services ;
; CGICMD.DAT ;
; ;
; Example CGICMD.DAT Mapping file ;
; ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;

; Syntax:
; KEY : VALUE
BSTI : USERID=BSTICM/BSTI@SDWH DESTYPE=CACHE
DESFORMAT=PDF %*

; Where:
; KEY - the first argument of the rwservlet URL request (case insensitive).
; VALUE - command line parameters and/or special parameters.
;
; Keys can be referenced in the following ways:
;
; 1. Parameter on command line to the reports servlet
; e.g. http://machine/servlet/rwservlet?KEY
;
; 2. Parameter on command line to a reports jsp
; e.g. http://machine/mydir/myreport.jsp?KEY
;
; 3. Within a reports jsp - in the rw:report custom tag
; e.g. <rw:report parameters="KEY">

.
.
.
.
.


Re: REP-52005: The specified key BSTI does not exist in key map file. [message #281179 is a reply to message #280844] Fri, 16 November 2007 00:16 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You forgot to specify the report name.

David
Re: REP-52005: The specified key BSTI does not exist in key map file. [message #281193 is a reply to message #281179] Fri, 16 November 2007 01:26 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Quote:

web.show_document('/reports/rwservlet?BSTI&server=newserver&paramform=no&
MODULE=D:\BSTICM_REPORTSHOUSE\CM_COMMODITY_LIST.rdf',' ');

?
Re: REP-52005: The specified key BSTI does not exist in key map file. [message #281445 is a reply to message #280844] Fri, 16 November 2007 22:18 Go to previous messageGo to next message
dbhossain
Messages: 155
Registered: August 2007
Location: Dhaka
Senior Member

Dear Mr. David,

i didn't forget to mention the report name, the report
name is "CM_COMMODITY_LIST.rdf'" please check out my code:1


Should i mention report name in the keymap file (cgicmd.dat)?
if so, please help me how can i do that?

code:1
-------------------------------------------------
web.show_document('/reports/rwservlet?BSTI&server=newserver&paramform=no&
MODULE=D:\BSTICM_REPORTSHOUSE\CM_COMMODITY_LIST.rdf',' ');
-------------------------------------------------

my problem is, the same command execute and display
my report if i dont use the key name BSTI that i
configured in the keymap file (cgicmg.dat).

code:2
--------------------------------------------------
web.show_document('/reports/rwservlet?USERID=BSTICM/BSTI@SDWH DESTYPE=CACHE DESFORMAT=PDF&server=newserver&paramform=no&
MODULE=D:\BSTICM_REPORTSHOUSE\CM_COMMODITY_LIST.rdf',' ');
-----------------------------------------------

Code: 2 is running and displaying my report successfully named "CM_COMMODITY_LIST.rdf"
as i didn't use the key name BSTI that holds
"USERID=BSTICM/BSTI@SDWH DESTYPE=CACHE DESFORMAT=PDF".
For my security reason i want to hide the userid and password as well and to do so i need to use the keyname in the keymap file.
but i dont know why its not working.


please help me.


Re: REP-52005: The specified key BSTI does not exist in key map file. [message #281707 is a reply to message #281445] Mon, 19 November 2007 01:20 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry, I have not used this 'mixed mode' style before. See if it works when you specify the report name in the BSTI key area and just invoke BSTI without specifying the report name in your form.

David
Previous Topic: Time Operations
Next Topic: Detail+post_query
Goto Forum:
  


Current Time: Sun Feb 02 22:06:34 CST 2025