BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Remote DataModule (DCOM) "Provider is not exported"?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Bernhard Buschinger
Guest





PostPosted: Fri Jul 09, 2004 9:26 am    Post subject: Remote DataModule (DCOM) "Provider is not exported"? Reply with quote



Hi all,

I have written a three-tier database application system (IB server,
DCOM-server as middle tier, client application with client data sets with
Delphi 7) which works very well.
The server consists of one rather simple remote data module with a
TIBDatabase, some IBQueries plus a provider for each query.

Now I have to add a new query plus provider to the server. Everything seems
fine, server is running and in the Delphi IDE I can see the new provider
(with all field names and params) when I set the ProviderName to the new
client data set.
However, when I want to get data from the new provider I get an exception
once I try to open the clientdataset. Error message ist "provider is not
exported"
Of course I have set the provider.exported := true in the remote data
module, and I also tried to unregister the old version of the DCOMserver
with tregsvr.exe.

Is there any thing I might have forgotten, in the server or in the client?

Thanks for any comments!

Bernhard


Back to top
Bernhard Buschinger
Guest





PostPosted: Fri Jul 09, 2004 12:08 pm    Post subject: Re: Remote DataModule (DCOM) "Provider is not exported"? Reply with quote



Hi all,

some additional things I tried today:
If I use the same CDS (with the new provider) an put a TDataSource and e.g.
a TDBGrid to it, then I can see data both in IDE and in the compiled app, no
exception occurrs. But only as long as I have the CDS.active=true in the
Object inspector.
If I set the CDS.active to false and then try to activate at run time, the
exception comes.

Regards, Bernhard


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.