Главная страница | назад





Article #15331: Error: 'Missing Data Provider or Data Packet'

 Question and Answer Database

FAQ331D.txt   Error: 'Missing Data Provider or Data Packet'
Category   :DCOM/MultiTier/ActiveForm
Platform    :All
Product    :Delphi 3.x  

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).


7/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99