Subject | Re: [IBO] ISAPI under MS Server 2003 |
---|---|
Author | Helen Borrie |
Post date | 2003-10-04T04:57:50Z |
At 04:39 AM 4/10/2003 +0000, you wrote:
1. What's the suffix of your database file name? (This REALLY matters on
XP and 2003 Server)
2. Are you using the eval version of IBO?
3. Have you checked to see what's coming back to the app in your
'ConnectStr' item?
Helen
>I'm having a hell of a time trying to migrate an ISAPI app from MSThree questions:
>2000 Advance Server to MS Server 2003. I wish they never bought this
>new server. However...
>
>I created a very simple ISAPI app. It just contains an IB_Session
>and an IB_Connection, in the proper order. Didn't set any
>properties, just dropped them on the TWebModule.
>
>Added 2 action handlers. The first returns a form with a single edit
>box where I will type in the database name.
>
>--------------
>Response.Content := '<html><body><p>Enter connect string: </p>'
> + '<form method="POST"
>action="/scripts/IBTest.dll/Connect">'
> + '<p><input type="text" name="ConnectStr"
>size="40">'
> + '<input type="submit" value="Submit"
>name="Submit"></p>'
> + '</form></body></html>';
>----------
>
>The second action takes what I type in and tries to connect to the
>database.
>
>------
> try
> ConnectStr := Request.ContentFields.Values['ConnectStr'];
> IB_Connection.DatabaseName := ConnectStr;
> IB_Connection.Connected := true;
> Response.Content := 'Ok';
> except
> on Exception do
> Response.Content := 'NOT Ok';
> end;
>-------
>
>I try to surf to my first action and nothing happens. The request
>eventually times out. This is crazy - it just returns the form. Its
>obviously having trouble loading the dll.
>
>I remove the components, recompile and try again. This time I get
>the form.
>
>My conclusion has to be that there is some sort of initialization
>code in IB_Components that is preventing the dll from even loading.
>
>Does anyone know what IBObjects might be doing?
1. What's the suffix of your database file name? (This REALLY matters on
XP and 2003 Server)
2. Are you using the eval version of IBO?
3. Have you checked to see what's coming back to the app in your
'ConnectStr' item?
Helen