On Create New Entity Save: DB_E_ERRORSOCCURRED(0x80040E21).


I was going to create a new entity. Since I am interested in using MY IMS as a ChMS (Church Management System) I needed to recognize not only individuals and organizations but also families (consisting of multiple individuals). Thus, I added a new entity with the values of Family / tbl_family / Families and without changing any other settings chose save and close. I received an error message. Viewing the technical info provided this:
No error message available, result code: DB_E_ERRORSOCCURRED(0x80040E21).
at IMS_Cls.clsDatabase.GetSchema(Guid intType, Object[] objRestrictions) in C:\Dev\deploy\2.02.01\IMS_Cls\IMS_Cls\clsDatabase.vb:line 3276 at IMS_Cls.clsDatabase.get_TableSchema() in C:\Dev\deploy\2.02.01\IMS_Cls\IMS_Cls\clsDatabase.vb:line 112 at IMS_Cls.clsForm.ValidateForm() in C:\Dev\deploy\2.02.01\IMS_Cls\IMS_Cls\clsForm.vb:line 1128 at IMS_Cls.clsForm.UpdateSubmittedValues(Boolean& bSave) in C:\Dev\deploy\2.02.01\IMS_Cls\IMS_Cls\clsForm.vb:line 492 at IMS_Cls.clsForm.Save(Boolean& bReload, DataRow objRow_new) in C:\Dev\deploy\2.02.01\IMS_Cls\IMS_Cls\clsForm.vb:line 580 at IMS_Cls.clsForm.hdnToolbarAction_ServerChange(Object sender, EventArgs e) in C:\Dev\deploy\2.02.01\IMS_Cls\IMS_Cls\clsForm.vb:line 387


myims wrote Apr 23, 2010 at 4:42 AM

This looks like a connection error in getting table schema, try to change OLEConnectionString and use debug through the code.

wrote Feb 14, 2013 at 3:22 AM