none
Synchronization service manager error when trying to project RRS feed

  • Question

  • HI , i get the following error message : please assist 

    An error was encountered when processing your request ,Error: The extension does not contain a class named "scriptObject" that implements the required extension (either IMVSynchronization or IMASynchronization interface).

    Wednesday, March 2, 2016 9:19 AM

All replies

  • Seems you are using Classical Provisioning, Code.  And you have not properly implemented the MVExtension.dll. 

    Nosh Mernacaj, Identity Management Specialist

    Wednesday, March 2, 2016 2:35 PM
  • You will need to debug your MVExtension.DLL or post your MVExtension source code if you want help debugging it.

    Best,

    Jeff Ingalls

    Wednesday, March 2, 2016 3:59 PM
  • Jeff,

    Provided he has a MVExtension and is pointing to the right DL


    Nosh Mernacaj, Identity Management Specialist

    Thursday, March 3, 2016 2:21 PM
  • :-)

    Best,

    Jeff Ingalls

    Thursday, March 3, 2016 3:20 PM
  • I am  fairy new to FIM , so how do i properly implement the MVExtension.dll.  ? 
    Tuesday, March 8, 2016 7:44 AM

  • using System;
    using Microsoft.MetadirectoryServices;

    namespace Mms_Metaverse
    {
    /// <summary>
    /// Summary description for MVExtensionObject.
    /// </summary>
        public class MVExtensionObject : IMVSynchronization
        {
            public MVExtensionObject()
            {
                //
                // TODO: Add constructor logic here
                //
            }

            void IMVSynchronization.Initialize ()
            {
                //
                // TODO: Add initialization logic here
                //
            }

            void IMVSynchronization.Terminate ()
            {
                //
                // TODO: Add termination logic here
                //
            }

            void IMVSynchronization.Provision (MVEntry mventry)
            {
    //
    // TODO: Remove this throw statement if you implement this method
    //
    throw new EntryPointNotImplementedException();
            }

            bool IMVSynchronization.ShouldDeleteFromMV (CSEntry csentry, MVEntry mventry)
            {
                //
                // TODO: Add MV deletion logic here
                //
                throw new EntryPointNotImplementedException();
            }
        }
    }
    Tuesday, March 8, 2016 7:47 AM
  • I dont know if this is what you require
    Tuesday, March 8, 2016 7:48 AM
  • how do i point it to the right dll ?
    Tuesday, March 8, 2016 7:48 AM
  • The code you provided is a effectively empty.

    Click on Tools, Options... is the "Enable metaverse rules extension" checked and is there a value?  If you uncheck the box and run a synchronization run profile, which I assume is what you are doing when you receive your error, does the error go away?  If so then that would indicate the problem is somewhere in the metaverse rules extension DLL.  If the error does not go away, then there's an issue with your management agent configuration and/or DLL.

    Best,

    Jeff Ingalls

    Tuesday, March 8, 2016 7:23 PM
  • When i unchecked the "enable metaverse rules extension " i get a different error  message  : "an error was encountered  when processing your request ,error: the extension does not implement the entry point"

    so if there is a problem in the metaverse rules extension DLL what can i do to solve it ? 

    Wednesday, March 9, 2016 5:50 AM
  • Hi 

    i added the source code on the metaverse  , but now i would  like to know on the codes below : what would represent the SQL_ECMA2 on my setup , what is this database for : 

     

    ManagementAgent = mventry.ConnectedMAs["SQL_ECMA2"]; Connectors = ManagementAgent.Connectors.Count;

    and does this represent the the AD name : AD_ECMA2

      ManagementAgent = mventry.ConnectedMAs["AD_ECMA2"];
                Connectors = ManagementAgent.Connectors.Count;

    Wednesday, March 9, 2016 8:43 AM
  • SQL_ECMA2 represents the management agent name -- the name you've specified for the (target) management agent. Connectors, in your example, is the number of connections to that SQL_ECMA2 MA connector space for a specific Metaverse object. If the count = 0 then you'd know you need to provision a new connector space object, for that specific Metaverse object, and "link" the two together so that data may flow between the CS object and MV objects.

    Best,

    Jeff Ingalls

    Thursday, March 10, 2016 12:49 AM
  • Thanks 

    i have the source code now , but i get this error :

     "an error was encountered  when processing your request ,error: the extension does not implement the entry point".

    This is the source code : 

    using System;
    using Microsoft.MetadirectoryServices;

    namespace Mms_Metaverse
    {
    /// <summary>
    /// Summary description for MVExtensionObject.
    /// </summary>
        public class MVExtensionObject : IMVSynchronization
        {
            public MVExtensionObject()
            {
                //
                // TODO: Add constructor logic here
                //
            }

            void IMVSynchronization.Initialize ()
            {
                //
                // TODO: Add initialization logic here
                //
            }

            void IMVSynchronization.Terminate ()
            {
                //
                // TODO: Add termination logic here
                //
            }

            void IMVSynchronization.Provision (MVEntry mventry)
            {
                ConnectedMA ManagementAgent;
                int Connectors = 0;
                CSEntry csentry;
                ReferenceValue DN;

                ManagementAgent = mventry.ConnectedMAs["FIM"];
                Connectors = ManagementAgent.Connectors.Count;

                //Provision to SQL
                if (0 == Connectors)
                {
                    csentry = ManagementAgent.Connectors.StartNewConnector("Person");
                    csentry["EmployeeID"].Value = mventry["employeeID"].Value;
                    csentry["AccountName"].Value = mventry["accountName"].Value;
                    csentry["EMail"].Value = mventry["mail"].Value;
                    csentry["FirstName"].Value = mventry["givenName"].Value;
                    csentry["LastName"].Value = mventry["sn"].Value;
                    csentry["FullName"].Value = mventry["displayName"].Value;
                    csentry.CommitNewConnector();
                }

                if (1 == Connectors)
                {
                }

                ManagementAgent = mventry.ConnectedMAs["vutv.local"];
                Connectors = ManagementAgent.Connectors.Count;

                //Provision to AD
                if (0 == Connectors)
                {
                    DN = ManagementAgent.EscapeDNComponent("CN=" + mventry["displayName"].Value).Concat("OU=students,DC=vutv,DC=local");
                    csentry = ManagementAgent.Connectors.StartNewConnector("user");
                    csentry.DN = DN;
                    csentry["samAccountName"].Value = mventry["accountName"].Value;
                    csentry["employeeID"].Value = mventry["employeeID"].Value;
                    csentry.CommitNewConnector();
                }

                if (1 == Connectors)
                {
                }
                throw new EntryPointNotImplementedException();
            }

            bool IMVSynchronization.ShouldDeleteFromMV (CSEntry csentry, MVEntry mventry)
            {
                //
                // TODO: Add MV deletion logic here
                //
                throw new EntryPointNotImplementedException();
            }
        }
    }

    Thursday, March 10, 2016 6:54 AM
  • and could you also kindly provide the source code  for FIMextension , it seems  like i have a problem with the FIMExtension.dll as well. and how does the MVExtension and the FIMExtension work together ? 
    Thursday, March 10, 2016 8:50 AM
  • What is FIMextension? Are you referring to a management agent rules extension?  You don't need a management agent rules extension unless you need to transform data between that MA and the Metaverse, require advanced joining, filtering or projection rules, advanced deprovisioning -- essentially manipulate objects.

    Best,

    Jeff Ingalls

    Thursday, March 10, 2016 5:02 PM
  • Hi

    i am getting this error :

    "an error was encountered  when processing your request ,error: the extension does not implement the entry point"

    Monday, March 14, 2016 7:52 AM
  • Hi - it appears to me that if you continue to try to solve this (very site-specific) issue you have on this forum it will take a very long time indeed, mainly because (as you say yourself) you are "fairly new to FIM", and this is not a technology that you should expect to be able to pick up quickly without the appropriate training.

    I hope Jeff can eventually help you solve your problem, but might I suggest some online training with OCG (out of the UK), and maybe contacting a local FIM expert in your region for assistance?  This is a very specialised skillset and one which is in reasonably high demand globally right now (many of us have been working in this space for many years now) - so you may find you need something more immediate.

    It sounds to me that you just need a "safe pair of hands" to help you over your immediate hurdle - in which case I can offer you this service here if it's of any help to you:The MIM Team Mentor Program

    We operate out of Australia, so provided language isn't an issue, it will come down to finding an appropriate time slot that suits.  If you are interested there is a contact email on the above link.



    Bob Bradley (FIMBob @ TheFIMTeam.com) ... now using FIM Event Broker for just-in-time delivery of FIM 2010 policy via the sync engine, and continuous compliance for FIM


    • Edited by UNIFYBobMVP Monday, March 14, 2016 11:47 AM fixed links
    Monday, March 14, 2016 11:45 AM
  • It is safe to say nobody on the forum is going to be able to solve a problem when you're posting only an error message without any context.  We need to know what you're doing, what you're trying to accomplish, your configuration, and the status of your system.  Since you're new, it will be faster in the long run if you connect with a resource who can look at the configuration with you and talk it through.

    Best,

    Jeff Ingalls

    Monday, March 14, 2016 10:45 PM
  • What i am trying to do is to sync accounts from AD(active directory) to the FIM portal and when i run a projection i get those error messages.
    Thursday, March 17, 2016 12:40 PM
  • Nick,

    With all due respect, the fact that you make statements like these, "When I run a projection..." tells us you do not understand the ABCs of the product.  Like Bob Bradley explained to you, you need to look for professional help.

    There is no such a thing as running a projection.  You can only run, Import, Sync, Export.  Projection is one of the outcomes from a sync run.

    There is nothing wrong with not knowing and wanting to learn, but the way you are going about it is wrong.  Forums are not learning centers.


    Nosh Mernacaj, Identity Management Specialist

    Thursday, March 17, 2016 1:10 PM