Hello,
I recently used the migration tool to move my form, files and mappings to a new workstation. I backed up and restored the DB to this new workstation as well. Everything looks good, the form, the database tables and diagram, the DBXL mappings. But when I create a new document and submit it, I get the following error:
aught exception on shredding document (DocType = 'BIA Template 2', DocId = 11) encountered a critical error and needs attention:
System.Data.SqlClient.SqlException: Cannot insert explicit value for identity column in table 'BIA_BusinessUnitInfo' when IDENTITY_INSERT is set to OFF.
at Qdabra.Dbxl.Domain.DocumentType.SaveDocumentToTables(Document doc, XmlDocument xmlDoc, XmlNamespaceManager nsMgr)
at Qdabra.Dbxl.Domain.Document.OnSaved()
The stack trace was: at Qdabra.Dbxl.Domain.DocumentType.SaveDocumentToTables(Document doc, XmlDocument xmlDoc, XmlNamespaceManager nsMgr)
at Qdabra.Dbxl.Domain.Document.OnSaved().
For more information, see Help and Support Center at
I checked the column in the table that has Identity (it's a form ID column that is to increment by 1 as the docs are added by the form) and the Identity and Spec is set to Yes with 1 and 1 for Increment and Seed. I read some other SQL posts about manually setting the Identity_insert to on but I'm not sure if that's complete solution or a 1 time connection thing and would have to be reset every time someone wants to shred a doc. Any ideas?
Thank you!
Phil.