General information
Category:
The Mere Mortals .NET Framework
Title:
Using SaveDataSet via Custom Acess Classes
Environment versions
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only