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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Import Contoso demo data for AX2012 R2 on SQL server 2008 SP3

(0) ShareShare
ReportReport
Posted on by 3,248

hi guys 

I recently downloaded AX2012 R2 from PS, and installed it on SQL server 2008 SP3 now that i have to Load contoso demo data(the .bak files) , is it a straight forward restore or do i have to run some scripts, because i read somewhere that Contoso demo data for AX2012 R2 is taken from SQL server 2008 R2, hence my question do let me know. if thats the case. 

*This post is locked for comments

I have the same question (0)
  • MukeshHirwani Profile Picture
    1,180 on at

    Hi,

    Ideally u should upgrade ur SQL version to R2 and then do the import. Else I think there shouldn't be any issues in restoring the bak files. Just make sure after restore u run the below script:

    DECLARE @NetworkDomain nvarchar(255);

    DECLARE @NetworkAlias nvarchar(80);

    DECLARE @SID nvarchar(124);

    DECLARE @InitialPartition bigint;

    select @InitialPartition=Recid from PARTITIONS where PARTITIONKEY=N'Initial'

    select @NetworkAlias=NETWORKALIAS,@NetworkDomain=NETWORKDOMAIN,@SID=SID from

    USERINFO where PARTITION=@InitialPartition AND ID = N'Admin'

    UPDATE USERINFO SET

    NETWORKDOMAIN=@NetworkDomain,NETWORKALIAS=@NetworkAlias,SID=@SID WHERE

    PARTITION != @InitialPartition AND ID = N'Admin'

    For worst case scenarios backup ur original DB..

  • Suggested answer
    fsilva-jr Profile Picture
    20 on at

    Is it not possible to restore a .bak file from a SQL R2 version into a SQL 2008 (not R2) version. You have to update your SQL Version!

  • Pradeep Itnal Profile Picture
    3,248 on at

    DID so thank you.

  • Verified answer
    MukeshHirwani Profile Picture
    1,180 on at

    Hi Pradeep,

    It's really good that u were able to sort out the issue.

    Please mark this post as answered.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans