Justin Biggs
2009-02-24 21:01:02 UTC
Hello,
I'm trying to use the business connector in an ASP.NET page to try and logon
to our AX 4.0 SP1 system. It's failing on the logon method with the
exception "Microsoft.Dynamics.BusinessConnectorNet.LogonFailedException:
Failed to logon to Axapta." I've tried setting the business connector in the
Dynamics AX Configuration utility on the web server where the page is being
hosted, but it hasn't worked.
Am I missing a step on how to set up the web server to properly use the
connector? Is there any configuration I need to do in IIS that I maybe
haven't? The code on the page does nothing but try to log on to the system:
Sub page_load()
Dim ax As Object =
Server.CreateObject("Microsoft.Dynamics.BusinessConnectorNet.Axapta")
Dim orderContainer As Object
ax.Logon("", "", "", "")
orderContainer = ax.CreateAxaptaContainer()
ax.Logoff()
End Sub
I'm trying to use the business connector in an ASP.NET page to try and logon
to our AX 4.0 SP1 system. It's failing on the logon method with the
exception "Microsoft.Dynamics.BusinessConnectorNet.LogonFailedException:
Failed to logon to Axapta." I've tried setting the business connector in the
Dynamics AX Configuration utility on the web server where the page is being
hosted, but it hasn't worked.
Am I missing a step on how to set up the web server to properly use the
connector? Is there any configuration I need to do in IIS that I maybe
haven't? The code on the page does nothing but try to log on to the system:
Sub page_load()
Dim ax As Object =
Server.CreateObject("Microsoft.Dynamics.BusinessConnectorNet.Axapta")
Dim orderContainer As Object
ax.Logon("", "", "", "")
orderContainer = ax.CreateAxaptaContainer()
ax.Logoff()
End Sub
--
Best Regards,
Justin
Best Regards,
Justin