hi,
3 methods
1) clean only db structure
delete all company in your db, after rebuild applications objects, try to restore company again after rebuild
2) create new db first way
Once you create the db you can not delete system objects, I suggest you create a new dev db (actually, you could also delete it, the table metadata on sql server etc.).
NAV 2013 Developer environment> Create Db> load the license in the db if you do not use a license server
The new db created will contain only the tables from 2000000004 to 2000000203 created from scratch and managed on the new db
Then do a backup applications with objects, commons given only the company that you need to bring in the new db> backup.fbk
Go into the new db created> run the Restore backup file> then do build server application objects> should work
3) create new db with restoring objects before, according to mo
or if the first way does not work try the second way
create new db (db created will contain only the new tables from 2,000,000,004 to 2,000,000,203) as above
import all the objects from the production db with an import objects (except tables from 2000000004 to 2000000203)
restore the company as above
build server application objects
> Should work (first difference is that we import the objects and then the data)