Hello,
Just installed R3 Contoso demo, machine A; AX itself seems to work, but I have problem with jobs/sql/name resolution/something else, I am not able to diagnose.
When trying to run job as schown below:
![]()
error is being thrown:
![]()
content of it is also shown in event log as 'information'; full content below:
-----
The description for Event ID 10230 from source Dynamics Server 01 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Replication Job 1060
Data groups failed with the following errors:
Data group - System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The network path was not found
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.Dynamics.Retail.SynchLibrary.Metadata.DownloadSession.Send()
at Dynamics.Ax.Application.RetailCDXMetadataSync.addDownloadSession(String _connectionString, String _dataFilePath, String _targetDataFilePath, RetailCDXDataSyncContext _ctContext) in RetailCDXMetadataSync.addDownloadSession.xpp:line 53
at Dynamics.Ax.Application.RetailCDXXmlDataOutput.Adddownloadsession(String _dataFilePath, String _targetDataFilePath) in RetailCDXXmlDataOutput.addDownloadSession.xpp:line 7
at Dynamics.Ax.Application.RetailCDXXmlDataOutput.Endsession() in RetailCDXXmlDataOutput.endSession.xpp:line 38
at Dynamics.Ax.Application.RetailCDXDataSync.Writedata() in RetailCDXDataSync.writeData.xpp:line 22
at Dynamics.Ax.Application.RetailCDXDataSync.Run() in RetailCDXDataSync.run.xpp:line 27
at Dynamics.Ax.Application.RetailCDXDataSync.sync(Object[] params) in RetailCDXDataSync.sync.xpp:line 35
ClientConnectionId:00000000-0000-0000-0000-000000000000
the message resource is present but the message is not found in the string/message table
-----
error bolded in log above suggest, that it may be problem with sql server settings; I've enabled tcp, enabled all interfaces available, restarted sql, verify that I am able to connect to sql using management studio, addedd also entries to hosts file as below:
127.0.0.1 www.contoso.com
127.0.0.1 www.fabrikam.com
127.0.0.1 intranet.contoso.com
127.0.0.1 dynamicsax.contoso.com
127.0.0.1 sharepoint
127.0.0.1 ax2012r2a
but..! stol does not work :( Is anyone aware what could be a problem? What may be important, after starting VM, I've set IP addres from my network on ethernet interface (to be able to RDP there); there was not any IP configured, so was sure I did not anything nasty, but now I am not sure.. Anyway, is anyone aware what may be a problem? Maybe someone has faced same as well? help.
regards
Tomasz