General information
Category:
The Mere Mortals .NET Framework
Title:
SaveDataSet PK Error
Enjoying using MM! However, i am receiving a strange error when i attempt to SaveDataSet (used in a business object, update method). The error is:
Server Error in '/Support' Application.
--------------------------------------------------------------------------------
Column 'AgencyTypePK' is read only.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.ReadOnlyException: Column 'AgencyTypePK' is read only.
Source Error:
Line 53: dao = this.GetDataAccessObject();
Line 54:
Line 55: if(this.SaveDataSet(ds, tableName) == OakLeaf.MM.Main.Business.mmSaveDataResult.RulesPassed)
Line 56: {
Line 57: return;
---------------------------------------------------------------------------
Any advice on what i'm doing wrong would be greatly appreciated.
Thanks.
NK
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