InvalidOperationException: Operation is not valid due to the current state of the object
Hi,I am not able to understand the cause of this problem. I started getting this problem after extended the ILM2 Schema by doing the following:1) Added a new attribute called as "mailDatabase"2) Created a ConstantSpecifier object with value "Mail Database" and linked it to the attribute created in the first stepAny suggestions you could offer will be very helpful.Thanks,Jameel[InvalidOperationException: Operation is not valid due to the current state of the object.] Microsoft.ResourceManagement.WebServices.Client.Attribute.ReadValueAsReference() +90 Microsoft.IdentityManagement.WebUI.Controls.ConfigurationModelBase.GetReferenceFromResource(Resource resource, String attributeName) +196 Microsoft.IdentityManagement.WebUI.Controls.LocalizedSchemaModel.RetrieveConstantSpecifiers(Dictionary`2 objectsMapping, Dictionary`2 attributesMapping, Dictionary`2& constantSpecifiers, ArrayList& attributesHasConstantSpecifiers) +623 Microsoft.IdentityManagement.WebUI.Controls.LocalizedSchemaModel.LoadLocalizedSchema() +390 Microsoft.IdentityManagement.WebUI.Controls.NewListViewHostCtrl.GetColumnSettings(ISchemaManager schemaManager) +74 Microsoft.IdentityManagement.WebUI.Controls.NewListViewHostCtrl.CreateChildControls() +836 System.Web.UI.Control.EnsureChildControls() +146 System.Web.UI.Control.PreRenderRecursiveInternal() +61 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
April 7th, 2009 2:42am

Did you do an iisreset?Carolhttp://www.wapshere.com/missmiis
Free Windows Admin Tool Kit Click here and download it now
April 7th, 2009 10:12am

I did restart the ILM service and WWW service. However, I didn't do an iisreset. I'll try that as well. Any other suggestions while I try this?
April 7th, 2009 5:45pm

Solved this problem. For those who might have experience this: When you create a ConstantSpecifier object make sure you are providing the AttributeID and the ObjectID associated with your constant specifier..Without providing this information, ILM2 regards the constant specifier object as being in an incomplete state and throws this exception whenever the schema is loaded.Unfortunatly, the ILM2 UI didnt complain when I forgot to provide the associated ObjectID. Result: I had to study the database to understand the object schema and clean it up..
Free Windows Admin Tool Kit Click here and download it now
April 7th, 2009 9:54pm

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

Other recent topics Other recent topics