I appyed the OI 9.4.6 patch from november 2020.
the readme makes reference to it now can use OECGI4.exe
#1) My OI directory does not have OECGI4.exe
#2) when I do get OECGI4.exe do I create a new OECGI4 entry in REGEDIT that looks like OECGI3
#3) And after that do I just change my URL Rewrite from:
/oecgi3.exe/O4W_MAIN1FORM
- to -
/oecgi4.exe/O4W_MAIN1FORM
Am I missing a lot or what else needs to be done ?
tx
Bri
Hi Brian
<#1 My OI directory does not have OECGI4.exe>
have a look in your sub-folder O4W and see if it has snuck in there, else if you have a copy of OIv10 you will likewise find it there. If all that doesnt work for you, just send in a request with license serial.
<#2 when I do get OECGI4.exe do I create a new OECGI4 entry in REGEDIT that looks like OECGI3>
The REGEDIT setting will still work (as a default fall-back BUT suggest relocating from the WOW6432 branch (ie x32) to the main x64 ie Software\Revsoft\. You may need to change port - se Quick Start guide for OECGI4.
<#3 And after that do I just change my URL Rewrite from….>
Yes
Also look at the Quick Start guide to OECGI4.exe which is found in \Documents folder in the OIv10 install or can be accessed from this website - See OIv10 and spin thru various documents till it comes up.
HTH Richard
Brian - Are you still trying to make this work for OI 9.4.x or OI 10? You posted the question in the OI 64-bit category, and most of Richard's answers are specific to OI 10, but I suspect you need an OI 9.4.x answer, correct?
Brian - Are you still trying to make this work for OI 9.4.x or OI 10? You posted the question in the OI 64-bit category, and most of Richard's answers are specific to OI 10, but I suspect you need an OI 9.4.x answer, correct?
AFAIK as a cheat, you can just rename OECGI4 to OECGI3 and overwrite your existing.
Following on from everyone's comment, and assuming you mean to use this with OI 9.4.x:
- there should be an oecgi4.exe in the 9.4.6 you downloaded, in the o4w subfolder…?
- I believe it's a 32 bit version of OI 10's oecgi4.exe (which is 64 bit), so you should NOT move the registry settings out of WOW6432. However, you can copy the OECGI3 tree into OECGI4, or not, as you choose, as OECGI4 will look in the OECGI3 "tree" if it doesn't find its values in OECGI4;
- Yes, as an easy cheat you can just rename the OECGI4.EXE as OECGI3.EXE, and use it without any other changes.
Hope that helps,
- Bryan Shumsky
TX Richard -
I don't want to mess with much until I run it thru someone.
Currently my OECGI3 is set up for and it works including file uploads:
filemode=2
filepath=C:\RevSoft\OpenInsight\o4w\Uploads
serverport=8088
shutdownflags=1
startupflags=1
Do you see any reason this will not work with file uploads along with serverport=18088 in OECGI4:
filemode=2
filepath=C:\RevSoft\OpenInsight\o4w\Uploads
serverport=18088
shutdownflags=1
startupflags=1
Somewhere in the docs it states the path needs to end with a '\' but I must be compensating for that in the code. and also the file path is relative to the O4W directory.
tx
bri
Tx guys -
yes - For the short term OI 9.4.6
Yes - I ran the prog that put a new registry default entry for OECGI4 is in the Revsoft Directory
I am going to change the following to use the following in the OECGI4 key:
filemode=2
filepath=C:\RevSoft\OpenInsight\o4w\Uploads
serverport=18088
shutdownflags=1
startupflags=1
Because I am still using 9.4.6 I understand I should relocate / rename this key ?
One more explanation would be helpful.
tx
bri
Tx guys -
yes - For the short term OI 9.4.6
Yes - I ran the prog that put a new registry default entry for OECGI4 is in the Revsoft Directory
I am going to change the following to use the following in the OECGI4 key:
filemode=2
filepath=C:\RevSoft\OpenInsight\o4w\Uploads
serverport=18088
shutdownflags=1
startupflags=1
Because I am still using 9.4.6 I understand I should relocate / rename this key ?
One more explanation would be helpful.
tx
bri
OECGI4.EXE is smart enough to know to look in the registry for the settings under oecgi3 if it doesn't find its own settings in oecgi4. So if you already have settings working for oecgi3, YOU DO NOT NEED TO CHANGE THEM, COPY THEM, RENAME THEM, or anything else. LEAVE THEM ALONE.
In particular, unless you're now talking to an OI 10 engine server, you would probably keep the server port at 8088, and not 18088 (unless you manually and intentionally changed the eserver.cfg settings for your OI 9.4.6?)
And again, to be clear since you didn't address it - you initially said you didn't have an oecgi4.exe. DID YOU FIND IT IN THE 9.4.6 ROLLUP DOWNLOAD, in the O4W folder? Or are you trying to take it from an OI 10?
- Bryan Shumsky
I have a copy of OECGI4.EXE in the O4W folder dated 21 dec 2018 size 555kb. Is this the latest version?
I have updated to OI9.4.6 so not sure if OECGI4.EXE was included in the patch.
Chris
hi guys -
thanks for the clarification.
Yes - i found OECGI4.exe v. 4.0.0.3 with a 11/30/2018 date in the O4W directory as Chris indicated.
When installed OECGI4.exe resides in the RevSoft directory of the registry.
The OECGI3.exe still resides in the WOW6432Node/Revsoft directory
OECGI4.exe will have these settings:
filemode=2
filepath=C:\RevSoft\OpenInsight\o4w\Uploads
serverport=8088
shutdownflags=1
startupflags=1
And my URL rewrite will be as follows:
/oecgi4.exe/O4W_MAIN1FORM
Am I dialed in correctly now ?
tx
Bri
hi guys -
it is still not finding OECGI4.exe
www.xyzdomain.com\oecgi4.exe\O4W_MAIN1FORM delivers a 404 error
it is not finding oecgi4.exe in the revsoft directory of the registry ?
bri
If using IIS do you have the Handler Mappings set to find your OECGI4.exe ?
That points to a file on the server. I placed my oecgi4.exe under the OI\O4W folder it looks like this
Executable: D:\oi9\O4W\OECGI4.exe
Doesn't "O4W\" belong in the url?
My o4w url looks like this:
https://www.newh.net/o4w/oecgi4.exe/O4W_CSS1
I found that oecgi4.exe, since it is 64-bit, it first looks in the 64-bit part of the registry, not the WOW3263.
Dave Harmacek - Harmacek Database Systems - near Boston, MA USA
Hi Dave-
I am running 9.4.6 for the short term
in IIS I do a URL Rewrite appending:
/oecgi3.exe/O4W_MAIN1FORM
to the domain typed in like:
www.abcdefgh.com/oecgi3.exe/O4W_MAIN1FORM
where O4W_MAIN1FORM is my programming world.
I get the 404 error when I change that IIS Rewrite to :
/oecgi4.exe/O4W_MAIN1FORM
I also copied oecgi4.exe from the O4W directory to where OSCGI3.exe is in the openinsight directory with the same 404 error.
Bri
Brian, you didn't respond about "Handler Mappings" in IIS.
On my system using the RESTful api I have both oecgi3 AND oecgi4 running on the same server. the Oecgi4 is because it was written with RESTful in mind as I understand.
Dave Harmacek - Harmacek Database Systems - near Boston, MA USA
Got it Dave -
In IIS I was adding a managed handler instead of a Script Map.
tx so much.
bri