Operation is not valid due to the current state of the object
Hi
After doing configuration migration, one of my MAs gives this error when exporting to FIM MA. The other environment (where the configurations were taken) works fine. What could be the problem?
failed-creation-via-web-services
There is an error executing a web service object creation request.
Type: System.InvalidOperationException
Message: Operation is not valid due to the current state of the object.
Stack Trace: at Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.get_Item(String attributeName)
at MIIS.ManagementAgent.RavenMA.ExportObjectCreation(DataSourceObject dsObject, SchemaManager schemaManager)
at MIIS.ManagementAgent.RavenMA.Export(DataSourceObject dsObject)
Inner Exception:
January 19th, 2010 6:51pm
There are a couple of likely causes for this:1) You are setting an attribute to a value not allowed by its RegEx (for example if a true/false field is looking for True or False, and you send true, the difference in case will cause this error).2) You are missing a domain attribute value and that is required on users and groups so that the security information can be constructed.Let's see what Joe has to say as well.AhmadAW
Free Windows Admin Tool Kit Click here and download it now
January 19th, 2010 9:16pm
Thanks fo the reply. I checked the domain attribute and it's there and groups gets constructed properly (this MA that gives error is for users). And I don't think it's because of RegEx because the rules should be same than in the other enviroment.
January 20th, 2010 6:13pm
Could be that you're trying to push a value to a custom attribute that isn't in the schema. When you did the configuration migration did you migrate the schema too?
Free Windows Admin Tool Kit Click here and download it now
January 20th, 2010 9:51pm
It started working, but I don't know how it get fixed because nothing is changed. Could it be some stored procedure... Thanks Ahmad and Paul for your participation.
January 25th, 2010 11:16am