Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Using SaveDataSet via Custom Acess Classes
Versions des environnements
Network:
Windows 2003 Server
I am trying to save my data via the MM SaveDataSet method to a backend FoxPro database. I have created my own custom data access classes as per the instructions in the MM.NET Deveopers Guide. When I execute the SaveDataSet method I get the following error:
...SoapException:Server was unable to process request.--> System.InvalidOperationException:OleDbCommand. Prepare method requires all parameters to have an explicitly set type followed by the stack trace.
When I created my custom server via the Data Adapter Configuration Wizard, the wizard only created code for the Select command and the Insert command. Do you need the code for Delete and Update? It so happens that my application only needs to insert the data into the database but the stack trace contains messages thus:
"......
at System.Data.OldDb.OleDbCommandBuilder.GetUpdateCommand()
at Oakleaf.MM.Main.Data.mmDataAccessOleDb.CreateUpdateCommand()
at Oakleaf.MM.Main.Data.mmDataAccessOleDb.SaveDataSet(etc....)
"
Could anyone throw any light on this and point me in the right direction,
Many thanks.
Suivant
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