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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Role Center error while opening AX 2012

(0) ShareShare
ReportReport
Posted on by 1,318

Hi All,

I assigned a role center for my user and when i tried to open AX it throws the error.

When i checked in event viewer, it shows like this:

An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.

Either the user, does not have access to the Dynamics AX initial database, or the database does not exist.

Microsoft SQL Server 2012 Analysis Services

   at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Microsoft.AnalysisServices.AdomdClient.IExecuteProvider.ExecuteTabular(CommandBehavior behavior, ICommandContentProvider contentProvider, AdomdPropertyCollection commandProperties, IDataParameterCollection parameters)
   at Microsoft.AnalysisServices.AdomdClient.AdomdCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.AnalysisServices.AdomdClient.AdomdCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AnalysisServerHelper.FillTable(DataTable table, IDbCommand cmd)
   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AnalysisServerHelper.ExecuteQuery(String mdxQuery, IEnumerable`1 userParameters)
   at CustCashInflowvsCashOutflow.GetCompanyAccountingCurrency()
   at CustCashInflowvsCashOutflow.SetDefaultReportParameterValues()
   at CustCashInflowvsCashOutflow.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    cpironmo Profile Picture
    2 on at

    Hi Sathish,

    Have you checked the setup of Analysis Servers in under System Administration > Setup > Analysis Server...

    One of the entries will/should be for the 'initial' database?

  • Suggested answer
    Iulian Cordobin Profile Picture
    8,201 on at

    Hi,

    First of all, does AX displays at all information from EP on the Home content initial page, or is it just the error that an error has occurred? It sounds like you don't have the cubes deployed in order for the EP role center page to get information from.

  • Sathish_Chinnappan Profile Picture
    1,318 on at

    Hi Chris,

    Thanks for the reply.

    Yes, i checked in Analysis server, it looks fine there.

  • Sathish_Chinnappan Profile Picture
    1,318 on at

    Hi Iulian,

    Thanks for the reply.

    In role center, only some parts are showing error, remaining parts are ok.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Satish,

    Please check whether Permissions are granted to your user in EP. For this, log in as admin in the EP site, go to Site ACtions->Grant permission->add your user. Then retry to open the role center using your user.

    It should work.

    Regards,

    Mriganka

  • Sathish_Chinnappan Profile Picture
    1,318 on at

    Hi Mirganka,

    Thanks for the reply. U remember me?Im sathish from cetas, chennai.

    I have checked the permission in EP. I have given Full control for my user id.

  • Community Member Profile Picture
    on at

    Oh ya! Hi how are you? Try this:

    1. Deploy the 'Home' from AOT->Web-> Web modules.

    2. after deployment do tools->Caches->Refresh dictionary, data and elements.

    I am not sure why this is happening. But try the above.

    Regards,

    Mriganka

  • Suggested answer
    Xander Vink Profile Picture
    2,550 on at

    You'll need to add the user to the proper SSAS roles as he/she doesn't have access.

    Please have a look at https://msdn.microsoft.com/en-us/library/bb500251%28v=sql.110%29.aspx

    [quote]

    Analysis Services provides a role-based authorization model that grants access to operations, objects, and data. All users who access an Analysis Services instance or database must do so within the context of a role.[/quote]

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans