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)

Solution Import on CRM online 9.0 giving error

(0) ShareShare
ReportReport
Posted on by 5,237

While importing solution in CRM 9.0 it gives me error as shown below:

The import failed. For more information, see the related error messages. : System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.    at System.ThrowHelper.ThrowKeyNotFoundException()    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)    at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()    at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)    at Microsoft.Crm.Tools.ImportExportPublish.ImportEntityKeyHandler.GetAttributeIds(String[] attributeLogicalNames, Guid entityId)    at Microsoft.Crm.Tools.ImportExportPublish.ImportEntityKeyHandler.GetAllAttributesFromSolution(XmlNode entityKeyNode, Guid entityId)    at Microsoft.Crm.Tools.ImportExportPublish.ImportEntityKeyHandler.CreateEntityKey(XmlNode entityKeyNode, Guid entityId)    at Microsoft.Crm.Tools.ImportExportPublish.ImportEntityKeyHandler.ImportItem()    at Microsoft.Crm.Tools.ImportExportPublish.ImportHandler.Import()    at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ImportAndUpdateProgress(ImportHandler ih)    at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ProcessHandlers(String[] ImportEntities, Hashtable ht, String& curPath, ImportHandler& ihForCurrentPath, CounterList listCounters)    at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities)

while looking into component section I found like form is unprocessed:

2870.Capture.JPG

Can anyone please help me to sort out this issue ?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    it seems that your target environment does not contain all the needed elements like for examples webressources. If one of your form is referencing a webressource which is not in the target environment it will stop because of missing components.

  • Verified answer
    Community Member Profile Picture
    on at

    Agree - it appears that your objective condition does not contain all the required components like for cases web assets Assignment Writing. In the event that one of your frames is referencing a web asset which isn't in the objective condition

  • Suggested answer
    Community Member Profile Picture
    on at

    Please share the failure status log in your import log. Unprocessed means CRM has not started to import it yet.

    Key not present in dictionary usually comes when some entity field is referenced and is missing in target environment. Please check you first unprocessed form for more clues.

    Refer this article:

    https://www.powerobjects.com/2017/02/28/troubleshooting-solution-import-errors/

  • Verified answer
    Pawar Pravin  Profile Picture
    5,237 on at

    Hi cruzjohn,

    Thanks for your solution. Issue was with contact entity. I have removed contact entity from solution and imported. Now solution is imported completely.

  • Suggested answer
    Community Member Profile Picture
    on at

    Keep in mind when CRM life was so substantially more straightforward that arrangements did not yet exist? In the event that you had isolate improvement and creation situations and you needed to move your customizations, you essentially clicked Export Customizations and voila! It was finished. Those were the days. Assignment Writing Service US

    Assignment Writing Service US
  • Community Member Profile Picture
    on at

    I was born in united states but grew up in New York.  happy wheels. These are probably my two favorite games of all time, and I'm trying my best to make it in the top 1-3 of google. geometry dash

  • Community Member Profile Picture
    on at

    Role of the marketing has changed during the past decade and marketers focus on CRM rather than individual transaction-oriented customers due to many reasons such as globalization, increased competition, short product life cycle.

    regards: UK term paper help

  • Micmomi Profile Picture
    10 on at

    hy ...I was facing the same problem. But now I got solution Thanks  

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