web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error Open AX after Restore Database from Live to Demo Enviroment

(0) ShareShare
ReportReport
Posted on by 2,075

Dear All,

I had restored my live database to demo environment.

later when I open AX-Demo , this message occurs.

I already synchronize from AX, already compiled all application from AOT.

the problem still same,

could anyone tell me how to remove the customization field, its seem my senior has did some customization.

my senior said, the customization should be remove first.

thank you, need your advice.

Error-Open-AX.png

*This post is locked for comments

I have the same question (0)
  • Verified answer
    AX 2012 r3 Profile Picture
    2,426 on at
    RE: Error Open AX after Restore Database from Live to Demo Enviroment

    1.Restart AOS.

    2.If still error populates then.go to that particular table or view and compile and see what is error and take action.

  • Mahmoud Hakim Profile Picture
    17,887 on at
    RE: Error Open AX after Restore Database from Live to Demo Enviroment

    Did you make any development in SQL server in this database?

  • Verified answer
    Amir Nazim Profile Picture
    5,994 on at
    RE: Error Open AX after Restore Database from Live to Demo Enviroment

    you might have code difference in your Dev and Prod environment, You probably need to refresh model + transaction DB both, You may take the backup of new changes from Dev and manually merge them after refreshing model and transaction db.

    If the error is on View, you can simply drop them from SQL server and re-sync from AX. You dont have to do above steps.

    In case of table; drop of table will delete the data, if you are Ok with deleting the data -from these tables then you can drop table also from SQL and re-sync form AX.

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at
    RE: Error Open AX after Restore Database from Live to Demo Enviroment

    Hi,

    As you stated there is some customized field causing this problem, navigate to the table shown on the message and either delete the field(shown in infolog) (or) delete the data in

    that field.  

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: Error Open AX after Restore Database from Live to Demo Enviroment

    You should have restored 2 databases, since the AX environment consists of a business data, and a code (model) database.

    In case you only restore the data, that potentially means your SQLDictionary table carried over contains wrong object identifiers and will not match your AX Application Object Tree contents (model DB).

    If you have synched, most likely got the same or similar errors.

    You need to run an ID fix to sort it out and put SQLDictionary in line with the AOT again, you can find a tool for this on my blog:

    [View:https://www.daxrunbase.com/2017/06/26/fix-table-and-field-id-synchronization-conflicts-in-ax/:750:50]

  • vijaysharma Profile Picture
    2 on at
    RE: Error Open AX after Restore Database from Live to Demo Enviroment

    HI,

    follow the below setups

    1. Remove the XPPL folder

    2. Incremental CIL (Check Errors)

    3. Compile Full CIL

    4. Compile

    5. Sync Database

    Hope Fix All Problem

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: Error Open AX after Restore Database from Live to Demo Enviroment

    The above recommendation is not going to fix an ID conflict, save yourself the trouble of not going through that. Get your SQLDictionary right.

  • benjamin84 Profile Picture
    2,075 on at
    RE: Error Open AX after Restore Database from Live to Demo Enviroment

    Yes Mahmoud, my supervisor did

  • benjamin84 Profile Picture
    2,075 on at
    RE: Error Open AX after Restore Database from Live to Demo Enviroment

    Thank you sukrut

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans