web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by 75

 

Hi

I've installed AX2012 CU2 and EP. The client is working, but users have trouble connecting to the Enterprise Portal (on Sharepoint Foundation 2010), except for the AX 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 log has several errors, all from the Microsoft Dynamics AX Enterprise Portal and Dynamics .NET Business Connector 6.0. The

errors 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)

 

 

Any help would be appreciated! 

*This post is locked for comments

I have the same question (0)
  • Steffen Laursen Profile Picture
    75 on at
    Re: Unable to access EP content despite of having created users for it

    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.

  • Michal Tekiela Profile Picture
    35 on at
    Re: Unable to access EP content despite of having created users for it

    Hi,

    Have you been able to pinpoint it?

    I am having the same problem and it irritates me hell a lot.

    Best regards,

    Mike Tekiela

  • Verified answer
    Steffen Laursen Profile Picture
    75 on at
    Re: Unable to access EP content despite of having created users for it

    I believe the problem was that the Business Connector account did not have rights to lookup up accounts (and possibly also some user administration Active Directory related rights) in Active Directory.

    We thought that authentication was only performed by the AOS user, since it is the AOS that authenticates users when you log on to AX using the normal client. However using the EP it's the Business Connector that does all or at least some part of the user authentication. I do not remember all the details, but I'm pretty sure this was the problem.

    Our service user accounts were initially set up by system administrators that were trying to keep a very tight knit security model, which caused our trouble in the first place.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#1
Community Member Profile Picture

Community Member 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans