I’ve copied the live DB to the production one a million times, without any issues. But this time after the copy, I get an error when launching Company Config (where I change the company name and disable tax connect) in the Test company.
Application Error
Exception caught in: Epicor.ServiceModel
Error Detail
Message: An error occurred while executing the command definition. See the inner exception for details.
Inner Exception Message: Invalid object name ‘Erp.Part_UD’.
Program: Epicor.ServiceModel.dll
Method: ShouldRethrowNonRetryableException
I can close error message, and everything else seems to run fine.
I do all sorts of testing and experimenting in the test company(UI customizations, UD fields, BPM’s etc …). None of that is retained after a DB restore, correct?
I’ve tried clearing the cache, but the error still persists.
I ALWAYS run the Regen Data Model and restart the Appserver immediately after I do the DB restore over my Test DB . To me it sounds like the Data Model and DB are not in synch
I think the data model is independent of the database. Since the APIs and such would be built off of the data model rather than the database, I think it would need to be synced and regenerated in order to work properly. I could be completely wrong tho