Соединяюсь C#
X++:
NetworkCredential myCred = new NetworkCredential("u46874", "p@ssw0rd", "soa.net");
ax.LogonAs("u46874", "soa.net", myCred, null, null, "Ax-test@ax-apl:2725", null);
Локально все работает отлично, при публикации на веб сервер выдает ошибку
X++:
Microsoft.Dynamics.BusinessConnectorNet.BusinessConnectorInstanceInvalid: Business Connector AOS, .
at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(BC_PROXY_ACCOUNT_INFO* pBCProxyAccountInfo, String company, String language, String objectServer, String configuration)
at Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonUsingBCProxyAccount(_SEC_WINNT_AUTH_IDENTITY_W* pImpersonatedUserAccount, NetworkCredential bcProxyCredentials, String company, String language, String objectServer, String configuration)
at Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonAs(String user, String domain, NetworkCredential bcProxyCredentials, String company, String language, String objectServer, String configuration)
at WebApplication1._Default.GetOneTabele() in D:\PROJECTS\Web_axapta\Default.aspx.cs:line 95
в чем может быть причина