Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SaveDataSet PK Error
Message
De
13/10/2004 15:56:49
Natalie Sebastian
Great Lakes Behavioral Research Institut
Cranberry Township, Pennsylvanie, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
SaveDataSet PK Error
Divers
Thread ID:
00951190
Message ID:
00951190
Vues:
40
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform