The image or delta doesn't have an anchor.
Hi all! I'm running FIM 2010 (4.0.2592.0). I have a simple call-based ECMA, it only exports data to a textfile. No import at all. I provisioning to my ECMA using this code cntMa = mventry.ConnectedMAs["TESTEcma-MA"]; if (cntMa.Connectors.Count == 0) { csentry = cntMa.Connectors.StartNewConnector("organization"); if (mventry["id"].IsPresent) { csentry["id"].Value = mventry["id"].Value; csentry.CommitNewConnector(); } } Everything is OK until after I have exported the data to the file. The data gets written to the file. But after i have finished the export run I cannot search the CS anymore. I got the following error (Error: The image or delta doesn't have an anchor). Now I cannot delete the CS or do anything with it. I always get the error The image or delta doesn't have an anchor. My ECMA code looks like this: using System; using System.Collections.Generic; using System.Text; using Microsoft.MetadirectoryServices; using System.IO; namespace TestEcma { public class EcmaCallExport:IMAExtensibleCallExport, IMAExtensibleFileImport { #region IMAExtensibleCallExport Members private static string filename = @"E:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\MaData\TestEcma\output.txt"; private static StreamWriter sw = null; public void BeginExport(string connectTo, string user, string password, ConfigParameterCollection configParameters, TypeDescriptionCollection types) { sw = new StreamWriter(filename, false, Encoding.Default); } public void EndExport() { sw.Close(); } public void ExportEntry(ModificationType modificationType, string[] changedAttributes, CSEntry csentry) { string id=string.Empty; string shortName=string.Empty; string displayName=string.Empty; if(csentry["id"].IsPresent) id = csentry["id"].Value; if(csentry["shortName"].IsPresent) shortName = csentry["shortName"].Value; if(csentry["displayName"].IsPresent) displayName = csentry["displayName"].Value; sw.WriteLine(string.Format("{0};{1};{2}", id, shortName, displayName)); } #endregion #region IMAExtensibleFileImport Members public void GenerateImportFile(string fileName, string connectTo, string user, string password, ConfigParameterCollection configParameters, bool fFullImport, TypeDescriptionCollection types, ref string customData) { throw new NotImplementedException(); } #endregion } } If I look in the event viewer I can read the folowing: The server encountered an unexpected error while performing an operation for the client. "BAIL: MMS(4368): tower.cpp(266): 0x80230302 (The image or delta doesn't have an anchor.) Loading CS object with DN='1022', modt='MODT_ATTRIB_UPDATE' (0x3) *Hologram: <entry dn="1022"> <primary-objectclass>organization</primary-objectclass> <objectclass> <oc-value>organization</oc-value> </objectclass> <attr name="displayName" type="string" multivalued="false"> <value>Samlad planering</value> </attr> <attr name="id" type="string" multivalued="false"> <value>1022</value> </attr> <attr name="shortName" type="string" multivalued="false"> <value>Tjkbs</value> </attr> </entry> fFullSync = 0 is_connector = 1 connection_state = 0 is_rebuild_in_progress = 0 is_seen_by_import = 0 is_phantom_parent = 0 is_phantom_link = 0 is_phantom_delete = 0 is_pending = 0 is_reference_retry = 0 is_rename_retry = 0 <current> <batch-number>5</batch-number> <sequence-number>219</sequence-number> </current> <unapplied> <batch-number>5</batch-number> <sequence-number>219</sequence-number> </unapplied> <original> <batch-number>5</batch-number> <sequence-number>219</sequence-number> </original> BAIL: MMS(4368): tower.cpp(123): 0x80230302 (The image or delta doesn't have an anchor.) BAIL: MMS(4368): csobj.cpp(7040): 0x80230302 (The image or delta doesn't have an anchor.) BAIL: MMS(4368): csobj.cpp(1413): 0x80230302 (The image or delta doesn't have an anchor.) BAIL: MMS(4368): nscsimp.cpp(5522): 0x80230302 (The image or delta doesn't have an anchor.) BAIL: MMS(4368): tower.cpp(266): 0x80230302 (The image or delta doesn't have an anchor.) Loading CS object with DN='1022', modt='MODT_ATTRIB_UPDATE' (0x3) *Hologram: <entry dn="1022"> <primary-objectclass>organization</primary-objectclass> <objectclass> <oc-value>organization</oc-value> </objectclass> <attr name="displayName" type="string" multivalued="false"> <value>Samlad planering</value> </attr> <attr name="id" type="string" multivalued="false"> <value>1022</value> </attr> <attr name="shortName" type="string" multivalued="false"> <value>Tjkbs</value> </attr> </entry> fFullSync = 0 is_connector = 1 connection_state = 0 is_rebuild_in_progress = 0 is_seen_by_import = 0 is_phantom_parent = 0 is_phantom_link = 0 is_phantom_delete = 0 is_pending = 0 is_reference_retry = 0 is_rename_retry = 0 <current> <batch-number>5</batch-number> <sequence-number>219</sequence-number> </current> <unapplied> <batch-number>5</batch-number> <sequence-number>219</sequence-number> </unapplied> <original> <batch-number>5</batch-number> <sequence-number>219</sequence-number> </original> BAIL: MMS(4368): tower.cpp(123): 0x80230302 (The image or delta doesn't have an anchor.) BAIL: MMS(4368): csobj.cpp(7040): 0x80230302 (The image or delta doesn't have an anchor.) BAIL: MMS(4368): csobj.cpp(1413): 0x80230302 (The image or delta doesn't have an anchor.) BAIL: MMS(4368): nscsimp.cpp(5522): 0x80230302 (The image or delta doesn't have an anchor.) BAIL: MMS(4368): server.cpp(3489): 0x80230302 (The image or delta doesn't have an anchor.) Forefront Identity Manager 4.0.2592.0" The exact same code runs perfect in our old environment (ILM 2007). Why do I lose my anchors? When I debug my ECMA I can see that the csentry have both the DN and RDN attributes correctly. Please help me
April 19th, 2010 6:42pm

I solved it. When I in the ECMA's property settings dialog specified that the ECMA should support Import and Export instead of only Export. Strange that ILM 2007 works with only Export but not FIM 2010. I think it has something with confirming of the export to do.
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2010 3:09pm

The Export Only option was really a bug and shouldn't have been exposed in the early version. They tried to give the option, but it wouldn't work... I know I tried to use it. If FIM 2010, they removed the option.... You should always do confirming imports anyway. This is a state-based system, so ILM/FIM always like to know what it sent out...Joe Stepongzi - Identity Management Consultant - ILM MVP - www.microsoftIdM.com,ilmXframework.codeplex.com
April 21st, 2010 8:15pm

Hi, I am facing the same issue but my ECMA is already set to Import and Export. Could you explain please what you mean when you write "You should always do confirming imports anyway", I am not really aware of this confirm part. Thanls in advance. Regards.
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2011 11:01am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics