Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DCOMConnection1 Connected wont set to True.

Status
Not open for further replies.

delphiman

Programmer
Dec 13, 2001
422
ZA
I have used D6 and IB6 to create an Application Server and my first ThinClient.

The ApplicationServer compiles and runs on its own.
(i.e. A form with a label with Caption = "Running" displays.)

The ThinClient compiles but if I try to set the DCOMConnection1 Connected = True the Application server appears to run as above - without "Running" displaying - but the Connected Propery won't set to True.

As a matter of interest I have the following:

In the Application server Project:
A form with a label on it with Caption = "Running"
A TRemoteDataModule onto which I have dropped:

TSQLConnection with:
Connected = True

TDataSetProvider with:
Constraints = True
DataSet = TIBDataSet

TSQLDataSet with:
Active = True

TIBDataSet with:
Active = True

TIBDataBase with:
Active = True

TIBDataSet
Active = True

TIBTransaction
Active = True

In the ThinClient Project:
I have a TRemoteDataModule onto which I have dropped:

DCOMConnection1 with:
ServerName = AppServer.AppServerOne (As above.)
But I cannot set Connected = True (See opening paragraph)

IBDatabase1 with:
AllowStreamedConnected = True
Connected = True
DefaultTransaction = IBTransaction1

TIBDataSet with
Active = True

TDataSource with:
DataSet = AppServer.AppServerOne

TIBTransaction with:
Active = True

TClientDataSet
But here I ALSO cannot set Connected = True (See opening paragraph)

Any guru's out there? :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top