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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Run the Test Data Transfer Tool (beta) for Dynamics AX (AX 2012)

(0) ShareShare
ReportReport
Posted on by 10

Hi, 

When I run the command DP.exe EXPORT C:\TEMP serverName serverAddress I get the error below on three of four environments. The only installation where I am able to export is the TEST environment. My user has the SysAdmin role on the SQL server and is Local Administrator on the SQL server. I'm running the command where the SQL server is. 

The Event viewer just tells me that the DP.exe terminated due to an unhandled exception.

Error message in the command prompt running as Administrator.

Direction: Export
Database : MicrosoftDynamicsAX
Executing pre-export command: EcpPresentationPreImport

Unhandled Exception: System.ArgumentException: Name has unexpected characters
   at Microsoft.Dynamics.AX.Dataport.SqlName..ctor(String original, String brack
eted) in e:\bt\110700\Source\DataPort\Dataport\Library\SqlHelper.cs:line 120
   at Microsoft.Dynamics.AX.Dataport.SqlHelper.<GetTableNames>b__e(String t) in
e:\bt\110700\Source\DataPort\Dataport\Library\SqlHelper.cs:line 751
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   at Microsoft.Dynamics.AX.Dataport.DataportDatabase.get_Tables() in e:\bt\1107
00\Source\DataPort\Dataport\Model\DataportDatabase.cs:line 160
   at Microsoft.Dynamics.AX.Dataport.DataportDatabase.get_FilteredTables() in e:
\bt\110700\Source\DataPort\Dataport\Model\DataportDatabase.cs:line 203
   at Microsoft.Dynamics.AX.Dataport.DataportDatabase.AddToExportQueue(DataportA
ction action, String folder) in e:\bt\110700\Source\DataPort\Dataport\Model\Data
portDatabase.cs:line 281
   at DP.Program.Execute(String currentDirectory, DataportDirection direction, S
tring directory, String database, String server, DataportAction action) in e:\bt
\110700\Source\DataPort\DP\Program.cs:line 151
   at DP.Program.Main(String[] args) in e:\bt\110700\Source\DataPort\DP\Program.
cs:line 98

*This post is locked for comments

I have the same question (0)
  • Anton Venter Profile Picture
    20,657 Super User 2026 Season 1 on at

    Is seems there is table with an invalid name. Check in SQL if you can see anything strange.

  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at

    Hi Codrin,

    Have you used any special character like a space in the server name or other parameters on the command prompt? If so, use quotation mark around them like "server name"

  • Codrin Birjoveanu Profile Picture
    10 on at

    the command is: dp.exe C:\temp RANDOMTEXT SERVER/DW_WW_SA this is the format of the command. RANDOMTEXT = database, SERVER/DW_WW_SA = server.

    I have tried to run it with "SERVER/DW_WW_SA" . But it still doesn't work.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
GL-01081504-0 Profile Picture

GL-01081504-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans