I have managed to create Business Connector through visual studio. Although from dos command line it is running fine, when I execute it from management studio I get the following error
Unhandled Exception: Microsoft.Dynamics.BusinessConnectorNet.LogonFailedException: You are not a recognized user of Microsoft Dynamics AX. Contact your system administrator for help.
at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(BC_PROXY_ACCOUNT_INFO* pBCProxyAccountInfo, String company, String language, String objectServer, String configuration)
at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(String company, String language, String objectServer, String configuration)
at DAXCmd.Program.CreateSalesTable(String arg)
at DAXCmd.Program.Main(String args)
The command from sql is Exec xp_cmdshell ‘C:\DaxBridge ES001 9977’ and I have logged in to sql with user that is administrator in DAX, but it seems that cannot recognize the credentials. Probably is there some other configuration in Dax…?