Unable to access EP content despite of having created users for it

Hi

I’ve installed AX2012 CU2 and EP. The client is working, but users have trouble connecting to the Enterprise Portal, except for the admin user (the one performing the installation) and the business connector user (we tried adding it as an AX user in desperation). With those two users everything appears to be working fine.

The website is registered in AX and the users are created and active in AX and have profiles attached to them.

The event logs has several errors, all from the Microsoft Dynamics AX Enterprise Portal and Dynamics .NET Business Connector 6.0. Theerrors are something like this (translated from danish) from the top:

1, Warning:

An error occured while redirecting to standard start page specified for the Enterprise portal website […/DynamicsAx]. Microsoft Dynamics AX ignores this error and redirects to default.aspx.

No .NET Business Connector session found.

Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.NoKernelSessionException

at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.get_AxaptaAdapter()

at Microsoft.Dynamics.AX.Framework.Services.Client.MetadataCache.GetWebModuleMetadata(ISession session, String webModulePath)

at Microsoft.Dynamics.Framework.Portal.UI.WebControls.MasterPageControl.FindRedirectPageForModule(ISession session, String& redirectMenuItemForModule)

at Microsoft.Dynamics.Framework.Portal.UI.WebControls.MasterPageControl.RedirectToHomePageAndCompany(SPWeb site)

2, Error:

Unexpected error occured.

No .NET Business Connector session found.

Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.NoKernelSessionException

at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.get_AxaptaAdapter()

at Microsoft.Dynamics.Framework.Portal.CommonControls.VendProfileAccountHelper.IsVendor(ISession session)

at Microsoft.Dynamics.Framework.Portal.CommonControls.VendAccountChooser.get_VendorAccountCollection()

3, Error:

You cannot view data on this page because you are not a registered user in Microsoft Dynamics AX.Contact your Microsoft Dynamics AX administrator.

Microsoft.Dynamics.AX.ManagedInterop

at Microsoft.Dynamics.AX.ManagedInterop.Session.LogonAs(String user, String domain, NetworkCredential bcProxyCredentials, String company, String language, String objectServer, String configuration)

at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter.LogonAs(String user, String domain, NetworkCredential bcProxyCredentials, String company, String language, String objectServer, String configuration)

4, Error:

The user […] failed to log on to the server using the Dynamics adapter LogonAs from the process w3wp and thread id 13.

Microsoft.Dynamics.AX.ManagedInterop.LogonFailedException

at Microsoft.Dynamics.AX.ManagedInterop.Session.LogonAs(String user, String domain, NetworkCredential bcProxyCredentials, String company, String language, String objectServer, String configuration)

at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter.LogonAs(String user, String domain, NetworkCredential bcProxyCredentials, String company, String language, String objectServer, String configuration)

Thank you for any help at all!

Cross-posted in https://community.dynamics.com/product/ax/f/33/p/76272/140482.aspx#140482

More details:

It appears that domain administrators are able to connect through the Enterprise Portal.

Also the user that is running as Business Connector Proxy is able to connect (it doesn’t need to be domain administrator).

It looks like there’s some sort of security issue here, but I am unable to pinpoint it.