Roles:
Active Directory Rights Management Services
Error: Attempt to perform custom actions before un-installing Active
Directory Rights Management Server failed. Index was out of range. Must be
non-negative and less than the size of the collection.
Parameter name: index at
System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32
index)
at System.DirectoryServices.PropertyValueCollection.get_Item(Int32 index)
at
Microsoft.RightsManagementServices.Configuration.ProvisionHelper.GetPort(String strTargetComputer, String strIIsService, String strSiteindex, Boolean fSSL)
at
Microsoft.RightsManagementServices.Configuration.ProvUtils.GetWebsites(String
strTargetComputerName, String strIIsWebService)
at
Microsoft.RightsManagementServices.Configuration.ProvUtils.IsProvisioned()
at
Microsoft.RightsManagementServices.Configuration.ProvisioningBase.Unprovision()
at
Microsoft.RightsManagementServices.Configuration.ProvisionerBase.Unprovision()
at Microsoft.RightsManagementServices.Configuration.CmdLineHandler.Run()
The following role services were not removed:
Active Directory Rights Management Server
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-ServerManager"
Guid="{8C474092-13E4-430E-9F06-5B60A529BF38}" />
<EventID>1624</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2010-03-26T23:10:43.786507300Z" />
<EventRecordID>714</EventRecordID>
<Correlation />
<Execution ProcessID="4188" ThreadID="2496" />
<Channel>Setup</Channel>
<Computer>Server.local</Computer>
<Security UserID="S-1-5-21-3536600950-1521598348-2101544345-500" />
</System>
<UserData>
<EventXML
xmlns:auto-ns3="http://schemas.microsoft.com/win/2004/08/events"
xmlns="Event_NS">
<message>
Roles:
Active Directory Rights Management Services
Error: Attempt to perform custom actions before un-installing Active
Directory Rights Management Server failed. Index was out of range. Must be
non-negative and less than the size of the collection.
Parameter name: index at
System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32
index)
at System.DirectoryServices.PropertyValueCollection.get_Item(Int32 index)
at
Microsoft.RightsManagementServices.Configuration.ProvisionHelper.GetPort(String strTargetComputer, String strIIsService, String strSiteindex, Boolean fSSL)
at
Microsoft.RightsManagementServices.Configuration.ProvUtils.GetWebsites(String
strTargetComputerName, String strIIsWebService)
at
Microsoft.RightsManagementServices.Configuration.ProvUtils.IsProvisioned()
at
Microsoft.RightsManagementServices.Configuration.ProvisioningBase.Unprovision()
at
Microsoft.RightsManagementServices.Configuration.ProvisionerBase.Unprovision()
at Microsoft.RightsManagementServices.Configuration.CmdLineHandler.Run()
The following role services were not removed:
Active Directory Rights Management Server
</message>
<identifiers>253, 17</identifiers>
</EventXML>
</UserData>
</Event>
Can you tell how me how to complete the removal of this role?
Thanks,
Does that Web site have an HTTP binding? If not, bind it to HTTP and then
try the uninstall again.
<?xml version="1.0" encoding="utf-8"?>
<ConfigureRMSServerRole
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" Cluster="1"
xmlns="http://tempuri.org/RMProvisionSettingsSchema.xsd">
<NewRootCluster RegisterSCP="true">
<IISParentWebsite>1</IISParentWebsite>
<ClusterDB>
<ConfigDbServer>
<LocalDB HasSchemaProtection="true" />
</ConfigDbServer>
<ConfigCreds>
<LoggedOnCreds xsi:type="xsd:boolean">true</LoggedOnCreds>
</ConfigCreds>
</ClusterDB>
<RMServiceAccount>
<DomainAccount>
<Domain>FOCUSEDNRGLLC</Domain>
<User>Me</User>
</DomainAccount>
</RMServiceAccount>
<ClusterURL>
<UrlType>1</UrlType>
<UrlAddress>adrms</UrlAddress>
<PortNumber>80</PortNumber>
</ClusterURL>
<ServerLicensorCertificate>FOCUSEDSERVER64</ServerLicensorCertificate>
<ServerPrivateKey>
<UseCentrallyManaged xsi:type="xsd:boolean">true</UseCentrallyManaged>
</ServerPrivateKey>
<ProxyServer>
<NoProxyServerUsed xsi:type="xsd:boolean">true</NoProxyServerUsed>
</ProxyServer>
<ServiceRevocation>
<DisableSLCRevocation xsi:type="xsd:boolean">true</DisableSLCRevocation>
</ServiceRevocation>
</NewRootCluster>
</ConfigureRMSServerRole>
<?xml version="1.0" encoding="utf-8"?>
<ConfigureRMSServerRole
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" Cluster="1"
xmlns="http://tempuri.org/RMProvisionSettingsSchema.xsd">
<NewRootCluster RegisterSCP="true">
<IISParentWebsite>1</IISParentWebsite>
<ClusterDB>
<ConfigDbServer>
<LocalDB HasSchemaProtection="true" />
</ConfigDbServer>
<ConfigCreds>
<LoggedOnCreds xsi:type="xsd:boolean">true</LoggedOnCreds>
</ConfigCreds>
</ClusterDB>
<RMServiceAccount>
<DomainAccount>
<Domain>FOCUSEDNRGLLC</Domain>
<User>DonaldMcGill</User>
</DomainAccount>
</RMServiceAccount>
<ClusterURL>
<UrlType>1</UrlType>
<UrlAddress>adrms</UrlAddress>
<PortNumber>80</PortNumber>
</ClusterURL>
<ServerLicensorCertificate>FOCUSEDSERVER64</ServerLicensorCertificate>
<ServerPrivateKey>
<UseCentrallyManaged xsi:type="xsd:boolean">true</UseCentrallyManaged>
</ServerPrivateKey>
<ProxyServer>
<NoProxyServerUsed xsi:type="xsd:boolean">true</NoProxyServerUsed>
</ProxyServer>
<ServiceRevocation>
<DisableSLCRevocation xsi:type="xsd:boolean">true</DisableSLCRevocation>
</ServiceRevocation>
</NewRootCluster>
</ConfigureRMSServerRole>
Portion of error log:
Provider Store: PID=8120 Getting Provider DISM Package Manager -
CDISMProviderStore::GetProvider
2010-03-30 00:16:39, Info DISM DISM Provider Store:
PID=8120 Provider has previously been initialized. Returning the existing
instance. - CDISMProviderStore::Internal_GetProvider
2010-03-30 00:16:39, Info DISM DISM Package Manager:
PID=8120 Processing the top level command token(disable-feature). -
CPackageManagerCLIHandler::Private_ValidateCmdLine
2010-03-30 00:16:39, Info DISM DISM Package Manager:
PID=8120 Attempting to route to appropriate command handler. -
CPackageManagerCLIHandler::ExecuteCmdLine
2010-03-30 00:16:39, Info DISM DISM Package Manager:
PID=8120 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2010-03-30 00:16:39, Info DISM DISM Package Manager:
PID=8120 Encountered the option "featurename" with value "ADRMS" -
CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2010-03-30 00:16:39, Info DISM DISM Package Manager:
PID=8120 Encountered an unknown option "featurename" with value "ADRMS" -
CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2010-03-30 00:16:41, Error DISM DISM Package Manager:
PID=8120 Failed to get the Update through CBS. -
CDISMPackage::Internal_OpenFeature(hr:0x800f080c)
2010-03-30 00:16:41, Error DISM DISM Package Manager:
PID=8120 Failed to get the underlying CBS Feature -
CDISMPackage::OpenFeature(hr:0x800f080c)
2010-03-30 00:16:41, Error DISM DISM Package Manager:
PID=8120 Feature name ADRMS is unknown. -
CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine(hr:0x800f080c)
2010-03-30 00:16:41, Error DISM DISM Package Manager:
PID=8120 Unknown features were specified on the command-line. -
CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine(hr:0x800f080c)
2010-03-30 00:16:41, Error DISM DISM Package Manager:
PID=8120 Failed to get the Feature List from the command line. -
CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x800f080c)
2010-03-30 00:16:41, Error DISM DISM Package Manager:
PID=8120 Failed while processing command disable-feature. -
CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f080c)
2010-03-30 00:16:41, Info DISM DISM Package Manager:
PID=8120 Further logs for online package and feature related operations can
be found at %WINDIR%\logs\CBS\cbs.log -
CPackageManagerCLIHandler::ExecuteCmdLine
2010-03-30 00:16:41, Info DISM DISM Image Session:
PID=8120 Disconnecting the provider store -
CDISMImageSession::Final_OnDisconnect
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Finalizing the servicing provider(DISM Package Manager) -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Package Manager:
PID=8120 Finalizing CBS core. - CDISMPackageManager::Finalize
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Disconnecting Provider: DISM Package Manager -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Found the OSServices. Waiting to finalize it until all other
providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Finalizing the servicing provider(MsiManager) -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Disconnecting Provider: MsiManager -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Finalizing the servicing provider(IntlManager) -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Disconnecting Provider: IntlManager -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Found the PE Provider. Waiting to finalize it until all other
providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Finalizing the servicing provider(DriverManager) -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Disconnecting Provider: DriverManager -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Finalizing the servicing provider(DISM Unattend Manager) -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Disconnecting Provider: DISM Unattend Manager -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Found the OSServices. Waiting to finalize it until all other
providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Finalizing the servicing provider(SmiManager) -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Disconnecting Provider: SmiManager -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Finalizing the servicing provider(Edition Manager) -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Disconnecting Provider: Edition Manager -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Releasing the local reference to OSServices. -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Disconnecting Provider: OSServices -
CDISMProviderStore::Internal_DisconnectProvider
2010-03-30 00:16:41, Info DISM DISM Provider Store:
PID=8120 Releasing the local reference to DISMLogger. Stop logging. -
CDISMProviderStore::Internal_DisconnectProvider