locked
stopped-extension-dll-exception

    Question

  • Hi Experts,

    I am trying to create test environment for FIM 2010.

    *** Production Environment is working perfectly**** I joined the company after FIM was setup.

    >I installed FIM 2010

    >Created the Management agents

    >We are using custom Rules Extention, So i copied those DLL's from the production server to the test server and put it in D:\Program Files\Microsoft       Forefront Identity Manager\2010\Synchronization Service\Extensions folder.

    When i try to do a sync i get error 

    stopped-extension-dll-exception

    Also in the eventviewer i get the following error

    Log Name:      Application

    Source:        FIMSynchronizationService
    Date:          2/9/2012 12:11:04 PM
    Event ID:      6100
    Task Category: Management Agent Run Profile
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      computername.global
    Description:
    The management agent "FIMESMA" step execution completed on run profile "Full Sync" with errors.
     
     Additional Information
     Discovery Errors       : "0"
     Synchronization Errors : "1"
     Metaverse Retry Errors : "0"
     Export Errors          : "0"
     Warnings               : "0"
     
     User Action
     View the management agent run history for details.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="FIMSynchronizationService" />
        <EventID Qualifiers="32768">6100</EventID>
        <Level>3</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2012-02-09T20:11:04.000000000Z" />
        <EventRecordID>2589</EventRecordID>
        <Channel>Application</Channel>
        <Computer>servername.#########.global</Computer>
        <Security />
      </System>
      <EventData>
        <Data>FIMESMA</Data>
        <Data>Full Sync</Data>
        <Data>0</Data>
        <Data>1</Data>
        <Data>0</Data>
        <Data>0</Data>
        <Data>0</Data>
      </EventData>
    </Event>

    I know the code is fine because it works on the production server.

    What am i Doing wrong? 

    Thursday, February 09, 2012 8:31 PM

Answers

  • Hi Chris,

    Got it resolved.

    Appreciate your assistance. You pointed me in the right direction.

    The error was not because of any  Rules Extention dll. But was because in the code the Fim Agent is supposed to log some events. so it is supposed to connect to the SQL server. And i found that the database which i restored from production the service account did not have permission on it. After adding the service account to the database the error went away.

    • Marked as answer by pravin_poojari Wednesday, February 29, 2012 3:52 PM
    Friday, February 10, 2012 1:42 PM

All replies

  • What information do you se in the management agent run history details?  There should be a clickable link for the error and the object/connector that had the error.

    There is always the possibility that there is something being referenced in your code that is particular to the production server.  It wouldn't be a great practice, but there could be a config file that your code is trying to load values from that wasn't stored in the Extensions folder.  There are lots of possibilities as that error is fairly generic.  Look at the sync error details within the Synchronization Manager.

    Chris

    Thursday, February 09, 2012 10:18 PM
  • Hi Chris,

    Got it resolved.

    Appreciate your assistance. You pointed me in the right direction.

    The error was not because of any  Rules Extention dll. But was because in the code the Fim Agent is supposed to log some events. so it is supposed to connect to the SQL server. And i found that the database which i restored from production the service account did not have permission on it. After adding the service account to the database the error went away.

    • Marked as answer by pravin_poojari Wednesday, February 29, 2012 3:52 PM
    Friday, February 10, 2012 1:42 PM