Sunday, February 20, 2005

Using Active4D 3.0, 4D Client 2003 as web server.

The 4D Client web server seems to be working fine; I can access it, and
Active4D seems to be serving up the requested pages. I can call 4D methods
that are in my code, and they execute correctly. All licenses are in place,
and everything seems A-OK.

Except...

Any command that attempts to access data doesn't seem to work. That is, code
like the following:

QUERY([Table];[Table]Field="value")

where "value" is known to exist, returns zero records.

Now, running Active4D on standalone 4D works perfectly. The exact same code
listed above returns the correct record, and all works fine. I've changed
nothing between standalone and client as the web server, so it's not
something like SET QUERY DESTINATION(Into set;"set name") preventing the
query from executing.

It just seems that running under 4D Client is not working correctly for some
reason. (I sure hope it's something simple I'm overlooking! :-)

Things that I've checked:

client is web server = true (in the Active4D.ini file)

<>A4D_ClientIsWebServer:=True (in A4D_Init method)

$ioClientIsWebServer->:=True (in A4D_InitHook method)

Again, I'm getting pages out of the system when running on 4D Client, and I
can call my code (and it executes), so the only problem here is that it's
not accessing data, regardless whether from the HTML pages performing the
search, or a call to a method performing the search. And again, the entire
system works perfectly well in single-user 4D.

What am I doing wrong?

Many, many thanks for your help! (5:30 am here, been a *very* long night
trying to track this down... :-( )

Michael Larue

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to