none
Problem getting schema in ECMA2 lab RRS feed

  • Question

  • Have been following the ECMA2 lab at http://technet.microsoft.com/en-us/library/hh859461%28v=ws.10%29 and have been having an interesting problem.

    After following the steps to create the xMA dll and compiling it successfully, I go into FIM and create the MA using the MA of type, Extensible Connectivity 2.0. The creation process seems to go well right up to the point where I'm on the "Select Attributes" page. The previous page has the "person" type as expected, but the "Select Attributes" page is blank - there's no attributes to select (Show All checked by default).

    Thinking I've done something wrong, I click back, only to have the FIM Sync Service crash and throw an error:

    System.NullReferenceException: Object reference not set to an instance of an object.
        at
    Microsoft.DirectoryServices.MetadirectoryServices.UI.PropertySheetBase.MaPropertyPages.AttributeSelectionPage.UpdateXmlWizardAttributes(XmlNode&attributesNode, String attributeName, XmlDocument maSchemaXml, XmlNamespaceManager nsmgr)
        at
    Microsoft.DirectoryServices.MetadirectoryServices.UI.PropertySheetBase.MaPropertyPages.AttributeSelectionPage.Deactivate(Boolean forward)
        at
    Microsoft.DirectoryServices.MetadirectoryServices.UI.MmsUiShell.PropertyPageContainer.OnBack()
        at System.Windows.Forms.Control.OnClick(EventArgs e)
        at System.Windows.Forms.Button.WndProc(Message& m)
        at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
        at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    My question is - has anyone completed the test lab guide and can confirm it actually works?

    My guess is it has something to do with the GetSchema function, but I've tried attaching the debugger to both MIISClient and MIISServer and was unable to trap FIM entering that function call, so can't see exactly what it's getting back.


    Friday, May 11, 2012 8:00 AM

All replies