STSADM Import Error – FatalError: The given key was not present in the dictionary.

On my journey to migrate a large amount of content from one SharePoint 2007 server to another I have run across several strange error messages during the import process.   I have been documenting them here in this blog in an attempt to help others and also to be used as reference material for myself in the future.
With my current project I have been able to import all of the content into the new server except for one single site.   I am getting the message FatalError: The given key was not present in the dictionary during the import process.   The error appears after a message indicating that it is attempting to import roles into the system.   So I am guessing that someplace on the original SharePoint server I have some sort of invalid security identifier, group or role.     
I am going to keep on digging into this and will update this post once I figure out some solution.
Update:  It looks like there was some corrupt security setting on a document library.  I reset the library to inherit permissions from parent and then the export / import process worked.   The good news is that the custom security was not really needed on that library any way so this doesn’t cause any problems.   I wish I had a bit more time to spend to find exactly what user / role was causing the problem.

0 thoughts on “STSADM Import Error – FatalError: The given key was not present in the dictionary.”

  1. I recently received the following question from a blog reader but didn””t have a way to respond directly.   The question is:  "How did you determine which library had the corrupted permissions?"
    When doing the STSADM -import the command automatically creates an import log file in the same folder as the import package.   Within this log you can see what site, list and/or library was being imported when the error occured.    It doens””t come right out and say here is the exact problem but it does provide enough information to track it down.
  2. Hi,

    It happen to me again.
    This time, my list was using a custom field that wasn””t installed. (forgot to install it in my new environnement)
    I just installed the custom field and it was working.


  3. Hello,
    I””m facing the same problem but in a different scenario. I wanted to move only one page layout and one content type with some site columns to another server and merge them there (into a publishing portal).

    1. So i just copied the contents of the page layout.
    2. I went to the new server and created content type, site columns and the page layout exactly with the same names.
    3. I just copied the content into the new page layout i created in the new server.

    When i created a page using the page layout it worked fine and the page opened fine in the edit mode. But when i tried to access the page after check in i””m getting "The given key was not present in the dictionary".

    Any ideas?

    Thank you.

Leave a Reply