Board index » delphi » DataSetProvider is not visible with Shared Connection

DataSetProvider is not visible with Shared Connection


2005-03-24 02:25:56 AM
delphi197
I am using the Shared Connection Example from Dan Miser with Delphi 5( i.e
Main RemoteDatamode with ChildRemoteDatamodule. Everything works fine I can
access and call methods on the main RemoteDatamodule and the Child module. I
cannot see the DataSetProviders on the CliendDataset Provider List. I can
access the ChildRemoteDatmodule and call its methods using a
sharedconnection. I can also access the datasetproviders using a regular
Dcomm or socketconnection. Everything in my code seems to mirror the Dan's
example.
What step am I missing? I'd very much appreciate any help you can give
me on this.
Thanks
Stephen
 
 

Re:DataSetProvider is not visible with Shared Connection

Are you using a ConnectionBroker? The providers should be listed in the
ProviderName drop-down once you hook up the SharedConnection to a
ConnectionBroker and then connect the ConnectionBroker to the ClientDataset.
Dan
"Martin B" <XXXX@XXXXX.COM>writes
Quote
I am using the Shared Connection Example from Dan Miser with Delphi 5( i.e
Main RemoteDatamode with ChildRemoteDatamodule. Everything works fine I
can
access and call methods on the main RemoteDatamodule and the Child module.
I
cannot see the DataSetProviders on the CliendDataset Provider List. I can
access the ChildRemoteDatmodule and call its methods using a
sharedconnection. I can also access the datasetproviders using a regular
Dcomm or socketconnection. Everything in my code seems to mirror the Dan's
example.
What step am I missing? I'd very much appreciate any help you can give
me on this.



Thanks

Stephen


 

Re:DataSetProvider is not visible with Shared Connection

Dan,
I 'm afraid I am on Delphi 5 so no ConnectionBroker component. I can run the
Downloaded Application from the Distribucon Site no problem and the
Clientdataset can "see" all the Providers, I just can not get it to work in my
own application. All the configuration of the remotedatamodules seems
correct and all other aspects seem to run fine...
Stephen
"Dan Palley" <XXXX@XXXXX.COM>writes
Quote
Are you using a ConnectionBroker? The providers should be listed in the
ProviderName drop-down once you hook up the SharedConnection to a
ConnectionBroker and then connect the ConnectionBroker to the
ClientDataset.

Dan

"Martin B" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...
>I am using the Shared Connection Example from Dan Miser with Delphi 5(
i.e
>Main RemoteDatamode with ChildRemoteDatamodule. Everything works fine I
can
>access and call methods on the main RemoteDatamodule and the Child
module.
I
>cannot see the DataSetProviders on the CliendDataset Provider List. I
can
>access the ChildRemoteDatmodule and call its methods using a
>sharedconnection. I can also access the datasetproviders using a regular
>Dcomm or socketconnection. Everything in my code seems to mirror the
Dan's
>example.
>What step am I missing? I'd very much appreciate any help you can
give
>me on this.
>
>
>
>Thanks
>
>Stephen
>
>


 

Re:DataSetProvider is not visible with Shared Connection

Ok, are you setting the RemoteServer property of the ClientDataset to the
SharedConnection?
Dan
"Martin B" <XXXX@XXXXX.COM>writes
Quote
Dan,
I 'm afraid I am on Delphi 5 so no ConnectionBroker component. I can run
the
Downloaded Application from the Distribucon Site no problem and the
Clientdataset can "see" all the Providers, I just can not get it to work in
my
own application. All the configuration of the remotedatamodules seems
correct and all other aspects seem to run fine...

Stephen
"Dan Palley" <XXXX@XXXXX.COM>writes
news:4241b85c$XXXX@XXXXX.COM...
>Are you using a ConnectionBroker? The providers should be listed in the
>ProviderName drop-down once you hook up the SharedConnection to a
>ConnectionBroker and then connect the ConnectionBroker to the
ClientDataset.
>
>Dan
>
>"Martin B" <XXXX@XXXXX.COM>writes
>news:XXXX@XXXXX.COM...
>>I am using the Shared Connection Example from Dan Miser with Delphi 5(
i.e
>>Main RemoteDatamode with ChildRemoteDatamodule. Everything works fine
I
>can
>>access and call methods on the main RemoteDatamodule and the Child
module.
>I
>>cannot see the DataSetProviders on the CliendDataset Provider List. I
can
>>access the ChildRemoteDatmodule and call its methods using a
>>sharedconnection. I can also access the datasetproviders using a
regular
>>Dcomm or socketconnection. Everything in my code seems to mirror the
Dan's
>>example.
>>What step am I missing? I'd very much appreciate any help you can
give
>>me on this.
>>
>>
>>
>>Thanks
>>
>>Stephen
>>
>>
>
>


 

Re:DataSetProvider is not visible with Shared Connection

I rebuilt the application from scratch and everything is working fine now. I
don't know what I did differently but I may have done so much trial an error
work with the type library that some Interface value was messed up.
Thanks Dan for answering so quickly
"Martin B" <XXXX@XXXXX.COM>writes
Quote
I am using the Shared Connection Example from Dan Miser with Delphi 5( i.e
Main RemoteDatamode with ChildRemoteDatamodule. Everything works fine I
can
access and call methods on the main RemoteDatamodule and the Child module.
I
cannot see the DataSetProviders on the CliendDataset Provider List. I can
access the ChildRemoteDatmodule and call its methods using a
sharedconnection. I can also access the datasetproviders using a regular
Dcomm or socketconnection. Everything in my code seems to mirror the Dan's
example.
What step am I missing? I'd very much appreciate any help you can give
me on this.



Thanks

Stephen


 

Re:DataSetProvider is not visible with Shared Connection

Glad you got it working.
Not sure if you're using Interbase as the back-end database, but Craig's
article on multi-tier stuff is an excellent reference for what you're trying
to do.
homepages.borland.com/jkaster/ccds/interbase7/craig_stuntz/interbase_in_a_multitier_world/ib_multitier.html
Dan
"Martin B" <XXXX@XXXXX.COM>writes
Quote
I rebuilt the application from scratch and everything is working fine now.
I
don't know what I did differently but I may have done so much trial an
error
work with the type library that some Interface value was messed up.

Thanks Dan for answering so quickly


"Martin B" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...
>I am using the Shared Connection Example from Dan Miser with Delphi 5(
i.e
>Main RemoteDatamode with ChildRemoteDatamodule. Everything works fine I
can
>access and call methods on the main RemoteDatamodule and the Child
module.
I
>cannot see the DataSetProviders on the CliendDataset Provider List. I
can
>access the ChildRemoteDatmodule and call its methods using a
>sharedconnection. I can also access the datasetproviders using a regular
>Dcomm or socketconnection. Everything in my code seems to mirror the
Dan's
>example.
>What step am I missing? I'd very much appreciate any help you can
give
>me on this.
>
>
>
>Thanks
>
>Stephen
>
>


 

Re:DataSetProvider is not visible with Shared Connection

Dan,
As it happens I am using Interbase...Thanks for the tip ...I'll check it out
Stephen
"Dan Palley" <XXXX@XXXXX.COM>writes
Quote
Glad you got it working.

Not sure if you're using Interbase as the back-end database, but Craig's
article on multi-tier stuff is an excellent reference for what you're
trying
to do.


homepages.borland.com/jkaster/ccds/interbase7/craig_stuntz/interbase_in_a_multitier_world/ib_multitier.html

Dan

"Martin B" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...
>I rebuilt the application from scratch and everything is working fine
now.
I
>don't know what I did differently but I may have done so much trial an
error
>work with the type library that some Interface value was messed up.
>
>Thanks Dan for answering so quickly
>
>
>"Martin B" <XXXX@XXXXX.COM>writes
>news:XXXX@XXXXX.COM...
>>I am using the Shared Connection Example from Dan Miser with Delphi 5(
i.e
>>Main RemoteDatamode with ChildRemoteDatamodule. Everything works fine
I
>can
>>access and call methods on the main RemoteDatamodule and the Child
module.
>I
>>cannot see the DataSetProviders on the CliendDataset Provider List. I
can
>>access the ChildRemoteDatmodule and call its methods using a
>>sharedconnection. I can also access the datasetproviders using a
regular
>>Dcomm or socketconnection. Everything in my code seems to mirror the
Dan's
>>example.
>>What step am I missing? I'd very much appreciate any help you can
give
>>me on this.
>>
>>
>>
>>Thanks
>>
>>Stephen
>>
>>
>
>


 

Re:DataSetProvider is not visible with Shared Connection

The DSP needs to have Exported := True;
Martin B writes:
Quote
I rebuilt the application from scratch and everything is working fine now. I
don't know what I did differently but I may have done so much trial an error
work with the type library that some Interface value was messed up.

Thanks Dan for answering so quickly


"Martin B" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...

>I am using the Shared Connection Example from Dan Miser with Delphi 5( i.e
>Main RemoteDatamode with ChildRemoteDatamodule. Everything works fine I

can

>access and call methods on the main RemoteDatamodule and the Child module.

I

>cannot see the DataSetProviders on the CliendDataset Provider List. I can
>access the ChildRemoteDatmodule and call its methods using a
>sharedconnection. I can also access the datasetproviders using a regular
>Dcomm or socketconnection. Everything in my code seems to mirror the Dan's
>example.
>What step am I missing? I'd very much appreciate any help you can give
>me on this.
>
>
>
>Thanks
>
>Stephen
>
>