Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Object 'CLRObject' could not be created

(0) ShareShare
ReportReport
Posted on by 250

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

  • Jie G Profile Picture
    on at
    RE: Object 'CLRObject' could not be created

    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.

  • AhmadHammoud Profile Picture
    250 on at
    RE: Object 'CLRObject' could not be created

    Full Build did not resolve the issue. Also the AX32.exe.config exists in the Bin folder.

  • Jie G Profile Picture
    on at
    RE: Object 'CLRObject' could not be created

    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.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
Zain Mehmood Profile Picture

Zain Mehmood 6 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans