web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

"Specified argument was out of the range of valid values" error when publishing solution via Ribbon Workbench 2013

(0) ShareShare
ReportReport
Posted on by 75
I used Ribbon Workbench 2013 to hide a button on a form in my CRM cloud instance. When I attempted to publish the solution, I received this error: Your solution could not be imported Reasons: 1:Specified argument was out of the range of valid values.
Parameter name: Picklist option with value (911780003) that has the parent OptionSet with (8a6cf2b6-b89d-e311-8237-d89d6765c0f4) id does not exist. Default picklist value has to be one of the option values. I think this is because some entity is in some way referencing a value in an Optionset that no longer exists. But how am I supposed to find out which one? I found some information online about querying the SQL database directly, but this is a cloud instance, not on premises, so that is not an option for me.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Effendy Lesmana Profile Picture
    on at

    Hi Gus,

    You can Export your solution, then extract it.. open customization.xml and you can search for the value "911780003".. after you found some of optionsets, you can analyze which possibilities option set that occurred the error.. the value should be under <attribute> tag on xml which the type is picklist(<Type>picklist</Type>), and under <attribute> tag you will find <AppDefaultValue> tag which stored the default picklist value.. you can compare the default value is part of the optionset member value or not..

    After you find that, you can go to your CRM application, and try to change the default value.. change to unassigned value, save, publish, then change again to the previous one, save and publish again.. because sometimes the default value still refer to the old value..

    it will make easier if you know the entity that trigger the error, you just need to check on that entity scope <Entity></Entity>..

    Hope you can find the optionset and solve the problem..

  • Suggested answer
    Aileen Gusni Profile Picture
    44,524 on at
  • Uncle Gus Profile Picture
    75 on at

    I'm not really sure how I fixed my problem, but the advice to look at the customizations.xml file was what I found useful. In there I found several different option sets that re-used the same value, but with different display names. The lists each had about ten values, with nine of them having the same names and with a tenth one that was unique to each list. The problem was that the option names that the option values (911780003, for example) that were used in both lists were associated with different value names. So I edited them so that the list options with the same names also had the same value, and the unique names also had unique values. That somehow seemed to fix it.

    Or it could be possible that what I did had absolutely no impact and it was simply the act of changing something and publishing all customizations that fixed some other glitch.

    Who knows?

  • Aileen Gusni Profile Picture
    44,524 on at

    Hi Uncle Gus,

    This one is your resolution:

    "So I edited them so that the list options with the same names also had the same value, and the unique names also had unique values."

    and you Publish all Customizations after that.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans