Blog

Name is Anant Dubey and the intent to create this blog is to discuss the problems and issues that developer face in the dynamics AX development and to share the new things that come up with the new version of AX.

Monday, January 6, 2014

Failed to create a session, confirm that the user has the proper privileges to log on to Microsoft Dynamics in ax 2012

While running system Administration > Setup > Workflow > Workflow
infrastructure configuration

Error:- Failed to create a session, confirm that the user has the proper privileges to log on to Microsoft Dynamics.

To resolve this:- Confirm that user is logged in as a administrator.
go to the user relation in system Administration > Common > User relation
and set user admin to a person.
and save this. jst close application and start again.


"or"

A closer look into this learned that this is linked to the new partitions feature.

It seems the UserInfo table is not correctly updated and the partition administrator is not updated correctly when you restore an existing DB or the Demo database.
To fix this, you can do the following.

To fix this, you can do the following.

Stop the AOS
Restore the database again
Start the AOS
Start a client and complete the partition initialiasation checklist
Close the client and execute the script below on the SQL database
Restart the client and reimport your license (if you were restoring the Microsoft demo data, the demo license is back in there)
Then compile / generate CIL / DB sync and you should be on track again!

No comments:

Post a Comment