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)