Skip to main content

Notifications

Microsoft Dynamics SL (Archived)

System Message 5011 Invalid number of flex key definitions in the system

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello All,

I'm working on a new install of Dynamics SL 2011 SP1.  I created one system database with three application databases.  I setup three companies, one in each application database.  On the DB Update step to load messages, possible value records and report control information, I receive an error message:

System Message 5011

Invalid number of flex key definitions in the system.

- I am using SQL authentication

When I open the Flexkey Definition screen, I get the same error, click OK and the screen opens.  I can modify the subaccount definitions but cannot save the changes.

Has anyone seen this before and found a solution?

Melanie

 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: System Message 5011 Invalid number of flex key definitions in the system

    I am having this same error on SL 2011 SP2 on a new install of SL with 2 application db and 1 system db.  One app db is fine but the other app db gives this message when trying to log into the Flexkey definition screen. When I hit F3 there are no records - I believe there should be 6 records to start.  Any ideas - I am thinking I could copy them in from the other app db on the flexdef table.  Not sure if that is the best way.

     

  • Verified answer
    Re: System Message 5011 Invalid number of flex key definitions in the system

    Hi Melanie,

    Try going into Initialize Mode.  In SL 2011, you must be in Initialize Mode to make changes to the Flexkey Definition.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: System Message 5011 Invalid number of flex key definitions in the system

    Hello Carolyn,

    There are six records in the FlexDef table.  I can pull them up in the Flexkey Definition table and modify the settings, however, the save button is grayed out.

    Do you know what the might be causing this problem?  It is on a new server and fresh installation of SL and the databases were created from scratch.

    Let me know if you have more questions.

    Melanie

  • Re: System Message 5011 Invalid number of flex key definitions in the system

    Hi Melanie,

    Do you have any records in the FlexDef table?  You should have approximately six rows.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans