Information générale
Catégorie:
COM/DCOM et OLE Automation
I've figured out a solution. Apparently when adding parameters to an ADO command object, the command objects tries to determine what the data types for the parameters are by running the view. This was causing the timeout problem. Instead, I manually create the parameters object and specify the data types, direction and lengths in code, then append the parameters object to the command object and this works great.
Kurt
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement