- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Error: 'Missing Data Provider or Data Packet'

Question:

Why does the error "Missing Data Provider or Data Packet" occur?

Answer:

The error occurs when the ClientDataSet can't resolve to a 

Provider reference on the application server or if the

Provider doesn't return records.  Check that the

TClientDataSet ProviderName is filled in.



Background info:  The error message originates in 

DBConsts.pas as a constant SNoDataProvider which in turn

shows up in DBClient.pas (the unit that supports

TClientDataSet).  The error is triggered in two situations:



 1) When the TClientDataSet.Provider can't obtain a reference

    to a provider through the RemoteServer component. 



 2) When the Provider doesn't return records to the 

    TClientDataSet (during TClientDataSet.OpenCursor).




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile