Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 07 APR 2005 01:31:22PM Ian G McMillan wrote:

I posted this in the revelation NG but got absolutely no response. Would

anyone in here be able to give me any advice please? It's so frustrating

when you can't seem to get off the starting blocks…

I'm new to Openinsight and have been trying the tutorial

on creating a data aware web form and getting it to work with my

webserver. However, I do not seem to be able to get it working at all,

just keeps giving me this error message:

OECGI RevCreateEngine failed, error 3.

I have IIS, my OI install is in C:\Openinsight7. I have my IIS

configured to have this as a virtual directory and the form I want to

run I have tried in the web root, the C:\Openinsight7 directory, the

cgi-bin and scripts directories, all to no avail. I must be missing

something really simple somewhere. I have put the dlls and oecgi in

the cgi-bin and several other places but all I get is the same error.

This is quite frustrating because I have seen a demo site working fine

and could not see what had been done differently. Would anyone be able

to spell out how I setup my registry, IIS and a form just to get me

started? Until I do this I'm essentially dead in the water.

Thanks in advance,

Ian


At 07 APR 2005 01:55PM support@sprezzatura.com wrote:

Ian

The instructions in the manual should be fine - this is more likely a permissions issue - see

http://www.revelation.com/Discuss.nsf/f12696d31000b22a8525652b00831bb2/3CF61A82342D7FBC85256D10004430E3?OpenDocument

If this doesn't help post again and we'd all be glad to help.

support@sprezzatura.com

The Sprezzatura Group Web Site

World Leaders in all things RevSoft


At 07 APR 2005 02:01PM psimonsen@srpcs.com's Paul Simonsen wrote:

Ian,

I'll try and help you. First off, can you successfully make an inet_trace call? In otherwords, do you receive data when calling the webpage http://mywebserver/cgi-bin/oecgi.exe/inet_trace

This is a built in function that should give you some basic data regarding your html request. If you are unable to get the inet_trace to function, then there is a webserver configuration issue.

As for setting up your registry, below is an example of how mine is set up.

CreateFlags REG_DWORD 0x00000001 (1) - Start a new engine for each INET call

DatabaseName REG_SZ WEBAPP - Name of the OI Application

ProcedureName REG_SZ RUN_OECGI_REQUEST - Default

QueueName REG_SZ - blank for me

ServerName REG_SZ - blank for me

ShutdownSessions REG_DWORD 0x00000001 (1) - Shut down the engine when the inet call is complete

UserName REG_SZ USERNAME - The name of the user you would use to log into your OI application

UserPassword REG_SZ PASSWROD - If the above user has a password

WorkingDirectory REG_SZ C:\dirpath\webapp - Where your OI application is housed

A common problems to watch out for is if you have a single user engine and you have the CreateFlags setting to 1, you will need to have OpenInsight turned off for the web functionality to work. If not turned off, OpenInsight will not be able to spin up another engine.

These are just a few bases to cover first.

psimonsen@srpcs.com

SRP Computer Solutions, Inc.


At 08 APR 2005 10:54AM Bob Carten wrote:

Ian

To follow up the other postings, a way to prove that it is an IIS rights issue is to run OECGI without using the web server. see

a href=http://www.revelation.com/__85256DC1002A4A9E.nsf/0/A6506DA309C4070485256E2900758947?OpenDocument]

http://www.revelation.com/__85256DC1002A4A9E.nsf/0/A6506DA309C4070485256E2900758947?OpenDocument

If you get the 'this is an evaluation copy' message box when you use Openinsight, then use a 'static' engine. At static engine is one which is started outside of IIS. IIS connects to that engine when it runs a request. To start the static engine, use a command line to start OENGINE.EXE which specifies a servername and application, for example

c:\revsoft\openinsight7\oengine.exe /sn=\\.\myoe WEBAPP

You set the createparam and shutdownsessions parameters to 0 to instruct OECGI to use a static engine ( thanks Paul for the text ):

CreateFlags REG_DWORD 0x00000001 (0) - Connect to existing engine

DatabaseName REG_SZ WEBAPP - Name of the OI Application

ProcedureName REG_SZ RUN_OECGI_REQUEST - Default

QueueName REG_SZ - blank for me

ServerName REG_SZ - \\.\myoe

ShutdownSessions REG_DWORD 0x00000001 (0) - Leave the engine running after the inet call is complete

UserName REG_SZ USERNAME - The name of the user you would use to log into your OI application

UserPassword REG_SZ PASSWORD - If the above user has a password

WorkingDirectory REG_SZ c:\revsoft\openinsight7 - Where your OI application is housed

* If it runs with the static engine and / or the batch file then

* you can set who OECGI runs as by using the internet explorer service manager to browse to OECGI in the virtual directory, right click it, set it to run as a user with rights to OI files

* if our examples we use administrator. In production you make a user with the correct rights.

* If you have succeeded with all the tests and you have a full copy of openinsight ( no eval message) and you have set the rights and it STILL will not run from IIS, it could be that IIS is refusing interact with the local desktop.

Try using createparam of 64 to connect to a standing engine or 65 to create a new engine.

This runs OECGI in a mode which does not interact with the desktop.


At 08 APR 2005 03:06PM Ian G McMillan wrote:

Thanks everyone for your help. It was as you suspected a permissions problem in IIS. I have sorted that out and now I'm well on my way to developing a proof of concept. Thanks once again for your kind help.

Regards

Ian… pulling away fast from the starting blocks…

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/ddb31e78b565279985256fdc006041c7.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1