Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

You cannot make this call on table ID 2000000121 from a RecordRef data type when you are using a compilation target other than OnPrem.

(0) ShareShare
ReportReport
Posted on by 5

I have this error when I enter Full Name on New or already existing User:

You cannot make this call on table ID 2000000121 from a RecordRef data type when you are using a compilation target other than OnPrem.

BC Ver. 17.6

Service Ver: 17.0.23708

Obviously OnPrem.

I Know this is a Bug, but is there a workaround?

Thankyou,

  • Lars Lohndorf-Larsen Profile Picture
    on at
    RE: You cannot make this call on table ID 2000000121 from a RecordRef data type when you are using a compilation target other than OnPrem.

    Hello,

    I think that what happens is, that we trigger the event OnAfterDatabaseModify, and you have an extension that is listening to this event, and then makes a call to the modified table, which in this case happens to be a system table.

    Likely it is some kind of logging or synching- extension. If you get hold of who made this extension, then they need to check what kind of calls they make from this event. Reads should be OK, but updates not necessarily, but it needs to be tested. Or they can compile the extension with Target = OnPrem, in which case they will not have this restrictions.

    I hope this helps.

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 Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

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

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
YUN ZHU Profile Picture

YUN ZHU 505 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 400

#3
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 384

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans