OECGI2 and IIS 7 (OpenInsight 32-Bit)
At 27 MAY 2010 06:32:16PM Sandra D'Angelo wrote:
I am trying to setup a website where the web frontend is on Windows 2007 server with IIS 7 running and the openingsight database is on a Windows 2003 server. I setup IIS 7 which is drastically different than IIS 6. I created the weboi virtual directory and setup a handler mapping for OECGI2 which points back to the oecgi2.exe on the 2003 server. I setup the registries on both servers: 2003 points to the IP address of the 2007 server and the 2007 server points to the servername of the 2003 server.
The problem is that the OECGI2 requests are returning the index.html page in the weboi directory vs executing the command. I ran the oeserver in debug mode and see the INET stored procedure request being processed. It finds an engine, does the CALL, then returns the contents of the index.html page in the weboi directory. The INET function worked before we upgraded to the 2007 server under IIS 6 so I know we don't have something configured correctly.
Any ideas??? Thanks
At 28 MAY 2010 02:36PM Robert Catalano wrote:
Sandra,
The OECGI2.EXE and WebOI folder should reside on the Windows 2007 server. Your virtual directory should point to that folder. The registry settings on the Win 2007 web server should point to the EngineServer and OI database that resides on the Win2003 server.
At 28 MAY 2010 07:18PM Sandra D'Angelo wrote:
Our virtual directory and the registry settings are correctly configured. We had the application running under IIS 6 and we set the IIS 7 registry and virtual directory the same way. The problem is that under IIS 6 you can make a virtual directory an application too. In IIS 7 these two functions are separate. We created a virtual directory called weboi under our application virtual directory. Then we created a weboiapp application under the weboi virtual directory. The weboiapp is in the default app pool. However, we are still getting the Weboi index.html content as the return string to any oecgi2 requests. We also tried making weboi an application vs. a virtual directory and still no luck. Thanks.
At 29 MAY 2010 01:39AM Warren Auyong wrote:
Did you use Microsoft's IIS migration tool? I found you have to delete the default document setting and add them back in on the virtual directories. The settings show in the tab but aren't recognized otherwise.
At 01 JUN 2010 10:16AM Sandra D'Angelo wrote:
No, we did not use the migration tool. However, the default document is not on the virtual directory, it is on the website and on the app. We did not see a way to set the default document on the virtual directory under IIS 7.
At 01 JUN 2010 12:43PM Warren Auyong wrote:
At 01 JUN 2010 02:42PM Sandra D'Angelo wrote:
Thank you for your help. It turned out to be an extra slash being passed with RUN_OECGI_REQUEST command. This was fixed in 9.1.1. Thanks, Sandra