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 :
Microsoft Dynamics AX (Archived)

Internal Error number 25 in script.

(0) ShareShare
ReportReport
Posted on by

I get that message (Internal Error number 25 in script.) when I am consulting many registries into the same section Type Daily.

What can I do?

Thanks

Best Regards.

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: Internal Error number 25 in script.

    Hi Manuel,

    Can you share a screenshot with the full error?

  • Community Member Profile Picture
    on at
    RE: Internal Error number 25 in script.

    Hi André.

    Sure, here the screenshot:

    error-25.png

    Thanks

    Best Regards

  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: Internal Error number 25 in script.

    Hi Manuel,

    I have seen it before but it as a long time ago. Try to delete the usage data and/or synchronize the database. If one user has the error while others with same permissions can continue without error, likely it is caused by usage data.

  • Community Member Profile Picture
    on at
    RE: Internal Error number 25 in script.

    Hi André.

    I have found this:

    www.artofliving.org/mx-es/search/course#ctype=ctype=12410&paddr=0

    But it is for AX4.0

    Thanks

    Best Regards.

  • Community Member Profile Picture
    on at
    RE: Internal Error number 25 in script.

    Randomly I saw it in version 2.5 and found the reason:

    It was a SWITCH statement, where the CASE branch resukted in a RETURN statement - without the following BREAK command

    |   switch { <condition> }

    |       {

    |           case: <value>: ... return ...;

    |           case: <anotherValue>: ...

    |       }

    Changing this to

    |   boolean ret;

    |   ;

    |  

    |   switch ( <condition> )

    |   {

    |        case <value>: ... ret = ...;

                                     break;

    |   ...

    |   }

    |   ...

    |   return ret;

    solved the problem.

    Best regards,

    T.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans