Skip to main content

Notifications

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 5

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!

  • 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
    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
    5 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
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,120 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,871 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans