app-store-import-exception

I had an app-store-import-exception on Import run profiles of my FIM MA, while exports continued to work. There was an error in the event log but it was one of these great, long, confusing looking ones – however I wanted to include it to show how actually the clues are there, you just have to find them.

The highlighted parts show it had something to do with a null value in the attribute schema – and this was enough to remind me that I had recently unbound an attribute from the Person object type. All I needed to do to fix this problem was a Refresh Schema of the FIM MA.

Log Name:      Application
Source:        FIMSynchronizationService
Date:          4/9/2011 2:27:51 PM
Event ID:      6500
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      fim.mydomain.local
Description:
The description for Event ID 6500 from source FIMSynchronizationService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

There is an error executing ILM MA full import. 
Type: System.ArgumentNullException 

Message: Value cannot be null.
Parameter name: key

Stack Trace:    at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
   at Microsoft.ResourceManagement.Schema.ServerSchemaManager.GetAttributeSchema(String attributeName)
   at Microsoft.ResourceManagement.Query.QueryProcessor.ReadFragment(SqlDataReader reader, Int64& resultCount, Boolean& endOfSequence)
   at Microsoft.ResourceManagement.Query.QueryProcessor.ReadQueryResults(SqlDataReader reader, Int64& resultCount, Boolean& endOfSequence)
   at Microsoft.ResourceManagement.Data.Sync.FullImportGetNext(Int64 beginObjectKey, Int64 maxObjectKey, Int32 batchSize)
   at MIIS.ManagementAgent.RavenMA.FullImportGetNextBatch(Int64 maxObjectKey, Int32 batchSize)

the message resource is present but the message is not found in the string/message table

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="FIMSynchronizationService" />
    <EventID Qualifiers="0">6500</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-04-09T12:27:51.000Z" />
    <EventRecordID>130009</EventRecordID>
    <Channel>Application</Channel>
    <Computer>fim.mydomain.local</Computer>
    <Security />
  </System>
  <EventData>
    <Data>There is an error executing ILM MA full import. 
Type: System.ArgumentNullException 

Message: Value cannot be null.
Parameter name: key

Stack Trace:    at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
   at Microsoft.ResourceManagement.Schema.ServerSchemaManager.GetAttributeSchema(String attributeName)
   at Microsoft.ResourceManagement.Query.QueryProcessor.ReadFragment(SqlDataReader reader, Int64& resultCount, Boolean& endOfSequence)
   at Microsoft.ResourceManagement.Query.QueryProcessor.ReadQueryResults(SqlDataReader reader, Int64& resultCount, Boolean& endOfSequence)
   at Microsoft.ResourceManagement.Data.Sync.FullImportGetNext(Int64 beginObjectKey, Int64 maxObjectKey, Int32 batchSize)
   at MIIS.ManagementAgent.RavenMA.FullImportGetNextBatch(Int64 maxObjectKey, Int32 batchSize)</Data>
  </EventData>
</Event>

5 Replies to “app-store-import-exception”

  1. I just hit the same problem with Delta Import today, but schema was up to date.
    Running a Full Import worked fine though, and fixed Delta Import issue.

    Best regards.

  2. Hi Juan. I’ve seen that one too but the detail in the full error should have been different to this one. I can’t remember the exact working, but it tells you to run a full import.

Leave a Reply

Your email address will not be published. Required fields are marked *


*