We are facing a very weird issue, after server security update. Whenever a user ,who is not a local or domain admin on the Enterprise Portal server, is trying to select a value from a datasource we are facing the below issue.
An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.
Object 'CLRObject' could not be created
Microsoft.Dynamics.AX.ManagedInterop
at Microsoft.Dynamics.AX.ManagedInterop.Object.CallWithReturnType(String methodName, Type returnType, Object[] paramList)
at Microsoft.Dynamics.AX.ManagedInterop.Object.Call(String methodName, Object param1)
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName, Object param1)
*This post is locked for comments
Hi Ahmad,
Please try to enable debugging in web.config of EP site to see if we can get more information. Edit web.config and search CustomErrors and set its mode to Off and change debug in "<compilation batch="false" debug="false">" to true.
Full Build did not resolve the issue. Also the AX32.exe.config exists in the Bin folder.
Hi Ahmad,
Have you tried to resolve it through a full build?
If a full build still doesn't work, please check whether Ax32.exe.config file exist under "C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin" folder.
If not, you can try to copy the Ax32.exe.config file from the Microsoft Dynamics AX 2012 installation disc to the Client\Bin folder.
Mohamed Amine Mahmoudi
100
Super User 2025 Season 1
Community Member
48
Zain Mehmood
6
Moderator