Sorry, we cannot tell you what may be wrong right away. There must be a eXpressAppFramework.log file created in the same folder where your EXE is located. Please run the application, recreate the issue, close the application and post the log file here for further investigation.
The resolution is at the database level. In MS SQL 2005 / 2008 do the
First - Using SQL Manager or another tool; right click on the TABLE which
is giving the error. In the table properties there is an element called
IDENTITY. Set this to the COLUMN fieldname that you want to auto
Second - Execute the following SQL statement on your table:
Set Identity_Insert db.TableName ON;
Replace db.TableName with your tablename.
That's it. You do not have to select, show, update, or do anything to that
column going forward. It will automatically update / increment whenever a
new row is added. And the error described will go away.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.