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 :
Finance | Project Operations, Human Resources, ...
Suggested answer

cannot select a record in model security policy runtime (ModSecPolRuntimeEx) during the compile

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

Good day!

I'm in a process of compiling AX suddenly I was stuck due in to this message. "cannot select a record in model security policy runtime (ModSecPolRuntimeEx)"

Permission and ports has been verified on both DataBase and AX application and all the required account has enough permission.

I try searching through the forum but I did not get a good information. Is someone has experience the same?

Thank you!

I have the same question (0)
  • MF-19060750-0 Profile Picture
    2 on at
    cannot select a record in model security policy runtime (ModSecPolRuntimeEx) during the compile
    Hi,
    has anyone found a solution to this problem? After a complete new installation (database server + AOS) we are faced with the same error. In all environments (live / test / dev), which are also in different database instances.
    We use an AX 2012 R2 CU7.
  • ToddB Profile Picture
    4 on at
    RE: cannot select a record in model security policy runtime (ModSecPolRuntimeEx) during the compile

    Hi Hunk,

    Is this a customization?

    We don't see that object in OOB code.

  • Hunk Profile Picture
    on at
    RE: cannot select a record in model security policy runtime (ModSecPolRuntimeEx) during the compile

    Hi Michal,

    Thank you for the info.

    Yes, I have been following it but doesn't help.  Firstly I was suspecting the connection and permission but this has been verified without issues. It did not succeeded the compile.

    Br,

    Hunk

  • Suggested answer
    Michal Krejza Profile Picture
    3,370 on at
    RE: cannot select a record in model security policy runtime (ModSecPolRuntimeEx) during the compile

    Hello Hunk,

    Have you seen following thread with the same error message: cannot select a record in model security policy runtime (ModSecPolRuntimeEx). view error accessing database connection.

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans