Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SaveDataSet PK Error
Message
From
13/10/2004 15:56:49
Natalie Sebastian
Great Lakes Behavioral Research Institut
Cranberry Township, Pennsylvania, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
SaveDataSet PK Error
Miscellaneous
Thread ID:
00951190
Message ID:
00951190
Views:
39
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
Map
View

Click here to load this message in the networking platform