I have successfully imported a production DB to the dev environment and ran the user re-enabling script. Then i refreshed the models in visual studio and tried to do a full model build but it failed with 160k+ errors. Now the client gives http 503 error, Batch service can't be started (Error 1067) and DBsync in visual studio is also not possible. What should i do at this point?
I broke D365 after importing database to dev environment - Model build error
There is no point synchronizing the database and trying to use the environment if the application doesn't even compile.
I would choose one of the errors and analyze what's wrong with it; it's likely that there is just one or a few causes and when you solve that, you'll solve all the errors. Maybe there is a problem with model references or so.
But don't start with errors in data entity persister classes (as in your screenshot), that's generated code that makes everything extra complex. Choose another compilation error.
The description for Event ID 110 from source Dynamics Server DynamicsAXBatchManagement cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Object Server DynamicsAXBatchManagement:
Unhandled exception
More Information: A fatal exception occured while executing kernel method xRecord::Insert()
I broke D365 after importing database to dev environment - Model build error
Did you find any specific information in event viewer?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.