Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Getting error while running Capture and preserve legacy IDs (Customers), code upgrade checklist (AX 2009 to AX 2012 R3 upgrdare)

(0) ShareShare
ReportReport
Posted on by

HI All,

I am getting below error while running Capture and preserve legacy IDs (Customers) command.

Reference : Microsoft Dynamics AX 2012 Upgrade Guide, page 178

Environment : Single AOS environment, SQL server is on different machine, SQL server 2016 version 

Error : can not bulk load because file could not be opened. operating system error code 5(Access denied)

I have given folder access to sql server service account, but still getting same error. 

pastedimage1627653650510v2.png

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    293,302 Super User 2025 Season 1 on at
    RE: Getting error while running Capture and preserve legacy IDs (Customers), code upgrade checklist (AX 2009 to AX 2012 R3 upgrdare)

    Hi tomarsachin87,

    SQL server 2012 SP2 alone is not supported. You need SQL server 2012 SP2 including Cumulative update 2. I can recall there were several issues. So, try CU2 on top of SQL 2012 SP2. Depending on the R3 version you have to use CU3 for SQL Server 2012 SP2.

    You can find compatible software in the System requirements document for AX 2012: www.microsoft.com/.../details.aspx

  • Community Member Profile Picture
    on at
    RE: Getting error while running Capture and preserve legacy IDs (Customers), code upgrade checklist (AX 2009 to AX 2012 R3 upgrdare)

    Yes I have try every thing

    I have also try to run with the sql service account user, in our case (SVC_AXAdmin).

    I am running this command on my AOS server, (SVC_AXAdmin) user have admin access in AX and SQL.

    I am using SQL 2012 SP2, do you think that may be an issue.

  • André Arnaud de Calavon Profile Picture
    293,302 Super User 2025 Season 1 on at
    RE: Getting error while running Capture and preserve legacy IDs (Customers), code upgrade checklist (AX 2009 to AX 2012 R3 upgrdare)

    Hi tomarsachin87,

    Can you check if the permissions are correct for the user executing the command and if these files are open in another program?

    Have you opened the Command prompt with administrator elevated rights? (right click icon, run as Administrator)

  • Community Member Profile Picture
    on at
    RE: Getting error while running Capture and preserve legacy IDs (Customers), code upgrade checklist (AX 2009 to AX 2012 R3 upgrdare)

    I am running below command

    axutil idkeep /idfile:"\\sw10dax11-D\ki\SysUpgradeExportIdMap.csv" /renamefile:"\\sw10dax11-D\ki\MicrosoftElementsRenamed62.csv" /verbose

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,302 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,114 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans