Barry Clark Guest
|
Posted: Mon May 08, 2006 5:16 pm Post subject: Help with TWEBComponent - don't get a GUID when selecting th |
|
|
Hi - using Delphi 6 with all service packs
Problem Description
LOCAL (XP Pro, SP2, SQL server 2000 personal version, IIS5)
I build a simple "3-tier" server with a TRemoteDataModule, ADO connection,
ADOQuery and DataProvider, compile and register it locally.
I build a simple client with a TWebconnection added to the datamodule and
the URL points to my localhost IIS server (http://localhost/httpsrvr.dll) -
XP Pro, IIS5
In the client, when I click on "Servername" in TWebComponent inspector, the
registered server appears in the drop down list, and on selecting, a GUID is
added.
When I run the client, all seems well, and the "server notification window"
appears, and I get the correct data back from the DB.
REMOTE (SQL 2000 server, Windows 2000 server, IIS 5, not locked down)
I install the same server on our remote Windows 2000 IIS5, SQL 2000 server
and register it and add IUSR_username execute rights. THe folder holding
the httpsrvr.dll is configured as a virtual directory with IUSR execution
rights and "script and executables" permissions.
I open the client in Delphi and point the URL to the remote host httpsrvr
location.
It shows the remote server in the dropdown list, but NO GUID appears when I
select the server.
However, the client application seems to work perfectly with multiple users
EXCEPT - the server process name appears in the Task mamanger process list,
BUT the "server window" does not appear to advise you it is running - so the
server also behaves differently on the remote server.
What have done wrong (does something need configured on the server which
isn't required locally?) , and is the GUID really necessary for
TWEbcomponents (I get the GUID no problem from the remote server if I use
DCOM, but I need to use TWebConnection as this what the client wants).
Any help would be really appreciated. Weve wasted a whole day on this so
far.
TIA
Barry
Dr Barry Clark
Director of VALE and Senior Lecturer in Medical Education
(Virtual Administration and Learning Environment)
Wolfson Medical School Building
University of Glasgow
Glasgow G12 8QQ
Phone: 0141-330-4248 (international +44-141-330-4248)
Email: b.clark (AT) clinmed (DOT) gla.ac.uk |
|