dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

REP-56106 when starting Reports with VBScript - Oracle Server

This is a discussion on REP-56106 when starting Reports with VBScript - Oracle Server ; currently use a VBScript to start-up Reports and other Oracle services. Here is an example of how I do it: 'START INFRASTRUCTURE HTTP SERVER iReturn = oshell.Run("%comspec% /C C:\oracle\ora92inf\dcm\bin\dcmctl start -ct ohs", 0, TRUE) 'START REPROTS iReturn = oshell.Run("%comspec% /C ...


Home > Database Forum > Oracle Database > Oracle Server > REP-56106 when starting Reports with VBScript

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 11-21-2003, 12:38 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default REP-56106 when starting Reports with VBScript

currently use a VBScript to start-up Reports and other Oracle
services. Here is an example of how I do it:

'START INFRASTRUCTURE HTTP SERVER
iReturn = oshell.Run("%comspec% /C C:\oracle\ora92inf\dcm\bin\dcmctl
start -ct ohs", 0, TRUE)

'START REPROTS
iReturn = oshell.Run("%comspec% /C C:\oracle\ora92as\bin\rwserver
server=[rep_name]", 0, FALSE)

While Reports is starting-up, I receive the following error in a
pop-up window: "REP-56106: Engine rwEng-0 died with error:"

The odd thing about this is that I was previously using the VBScript
SendKeys method to start-up Reports. This worked well except it
required using the Sleep method in order to wait for commands to
finish rather than detecting when a call had terminated and then
moving on to the next call (this is what my new script does with Run
method). Here is an example of the old way I was doing it:

' START THE REPORTS SERVER
ws.SendKeys "cd " & AS_DIR & "\bin\{ENTER}"
ws.SendKeys REPSERVER & "{ENTER}"
WScript.Sleep 2000

I also tried starting up the other Oracle services using my new
script, then manually starting Reports server. This causes the same
error.

So, it seems like using my new script causes some problem while
starting up the other services which subsequently causes Reports to
crash. However, checking the status of the mid-tier and infrastructure
show that the appropriate services are started.

Any ideas on how I can use the VBScript Run method to start-up
services and Reports?

Or does anyone else have ideas on how to script the start-up of the
mid-tier, infrastructure and Reports that actually waits for one call
to finish before starting the next?

Thanks in advance for your help!
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 01:09 PM.