Specified Cast is not Valid Error when opening run-as account properties
Environment is SCOM2012, patched to CU1. Went in this morning to add some new nodes to distribute our special SQL run-as account to some new computers recently added to monitoring. Double-clicking the account in the console gives an immediate pop-up with the message: 'Specified cast is not valid'. After I clear the message, my normal properties window appears but on the Distribution tab, all of my computers are gone (it's blank). I dare not add and save for fear of overwriting my list. Has anyone seen this? I'm not sure what would have caused this. We have added and deleted a few computers in the last month but it's been weeks since I last had to perform this operation. The details of the message are below. Thanks for any help. C ---------------------- Note: The following information was gathered when the operation was attempted. The information may appear cryptic but provides context for the error. The application will continue to run. System.InvalidCastException: Specified cast is not valid. at Microsoft.EnterpriseManagement.Monitoring.Internal.MonitoringObjectGenerated.get_Id() at Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject.GetObjectWrappersPostProcessing[T](ReadOnlyCollection`1 resultSet, IEnterpriseManagementObjectCreatable`1 constructorHelper) at Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject.CreateMultiple[T](IList`1 dataAccessResultSet, EnterpriseManagementGroup managementGroup, Dictionary`2& instanceById, ObjectQueryOptions queryOptions) at Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject.CreateMultiple[T](IList`1 dataAccessResultSet, EnterpriseManagementGroup managementGroup, ObjectQueryOptions queryOptions) at Microsoft.EnterpriseManagement.SecurityConfigurationManagement.GetApprovedHealthServicesForDistribution[T](ISecuredData securedData) at Microsoft.EnterpriseManagement.Mom.Internal.UI.Common.SDKHelper.<>c__DisplayClass2b.<GetApprovedHealthServicesForDistribution>b__2a(Object sender, ConsoleJobEventArgs e) at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
July 16th, 2012 1:07pm

Hello, It seems like a permission issue. Which account do you use to do this action? The account should have correct permission to do it. Did you resolve this issue already? Wed love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks,Yog Li TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2012 6:40am

Hi Yog, Thanks for responding. No, it is not resolved though I thought it was. Last Friday, it mysteriously cleared up and I was able to add 3 more hosts to my distribution list. By evening however, it had ceased to function once again. I am logged in as administrator on the local host. I am a member of the SCOM Administrators group and have full permissions to execute all other administrative tasks in the console (or of course, I wouldn't even see the administration tab in the console). There have been no changes of any kind to any of the accounts used by SCOM since this environment went live about 2 months ago. The situation becomes a bit more urgent each day as I'm unable to distribute credentials for fear of overwriting my existing list (over 150 hosts for the record). However, if I can't figure it out, that's probably my next step because I can't delay monitoring on my sql servers much longer. If you have any ideas, I'll try anything! Regards, Carl
July 23rd, 2012 11:16am

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

Other recent topics Other recent topics