Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Sharepoint Foundation 2010 - PSConfig/ Configuration Wizard presents errors after applying SP2 - Unable to create an instance System.Collections.Generic.Dictionary`2

$
0
0

Hi

I'd Sharepoint Foundation 2010 RTM and installed SP2+August 2013CU

After that tried to run Configuration Wizard and got the error message:


System.MemberAccessException.  Unable to create an instance System.Collections.Generic.Dictionary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.List`1[T]], because 
parameter Type.ContainsGenericParameters is True.



tryed  psconfig.exe -cmd upgrade -inplace b2b -force and got:

++++++++++++++++++++++++++++++++++++++++++++++

Performing configuration task 1 of 4
Initializing SharePoint Products upgrade...

Waiting to get a lock to upgrade the farm.

Successfully initialized SharePoint Products upgrade.

Performing configuration task 2 of 4
Initiating the upgrade sequence...

Failed to initiate the upgrade sequence.

An exception of type System.MemberAccessException was thrown.  Additional except
ion information: Cannot create an instance of System.Collections.Generic.Diction
ary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.L
ist`1[T]] because Type.ContainsGenericParameters is true.

Total number of configuration settings run: 2
Total number of successful configuration settings: 1
Total number of unsuccessful configuration settings: 2
Successfully stopped the configuration of SharePoint Products.
Configuration of SharePoint Products failed.  Configuration must be performed be
fore you use SharePoint Products.  For further details, see the diagnostic log l
ocated at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1
4\LOGS\PSCDiagnostics_8_6_2015_19_41_44_116_2007752492.log and the application e
vent log.



+++++++++++++++++++++++++++++++++++++++++++++++++++



By checking the logs I got:



[PSCONFIG] [SPUpgradeSession] [INFO] [8/6/2015 8:36:24 PM]: SPConfigurationDatabase
[PSCONFIG] [SPUpgradeSession] [ERROR] [8/6/2015 8:36:24 PM]: Upgrade [SPConfigurationDatabase] failed.
[PSCONFIG] [SPUpgradeSession] [INFO] [8/6/2015 8:36:24 PM]: SPConfigurationDatabase
[PSCONFIG] [SPUpgradeSession] [ERROR] [8/6/2015 8:36:24 PM]: Exception: Cannot create an instance of System.Collections.Generic.Dictionary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.List`1[T]] because Type.ContainsGenericParameters is true.
[PSCONFIG] [SPUpgradeSession] [INFO] [8/6/2015 8:36:24 PM]: SPConfigurationDatabase
[PSCONFIG] [SPUpgradeSession] [ERROR] [8/6/2015 8:36:24 PM]:    at System.Reflection.RuntimeConstructorInfo.CheckCanCreateInstance(Type declaringType, Boolean isVarArg)
   at System.Reflection.RuntimeConstructorInfo.ThrowNoInvokeException()
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.InvokeEmptyConstructor(Type type)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.DeserializeBasicObject(XmlElement xmlValue, Boolean isMerge, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlNodeList childNodes, Boolean isMerge, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlDocument value, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.FetchObject(Guid id)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Boolean checkInMemoryCache, Boolean checkFileSystemCache)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Microsoft.SharePoint.Administration.ISPPersistedStoreProvider.GetParent(SPPersistedObject persistedObject)
   at Microsoft.SharePoint.Administration.SPPersistedObject.get_Parent()
   at Microsoft.SharePoint.Administration.SPJobDefinition.get_WebApplication()
   at Microsoft.SharePoint.Administration.SPJobDefinition.Validate()
   at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.ResolveObjectAndClassVersions(SPLog log)
   at Microsoft.SharePoint.Upgrade.SPConfigurationDatabaseSequence2.Upgrade()
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
[PSCONFIG] [SPManager] [INFO] [8/6/2015 8:36:24 PM]: No context object
[PSCONFIG] [SPManager] [ERROR] [8/6/2015 8:36:24 PM]: SPManager.Initialize failed.
[PSCONFIG] [SPManager] [INFO] [8/6/2015 8:36:24 PM]: No context object
[PSCONFIG] [SPManager] [ERROR] [8/6/2015 8:36:24 PM]: Exception: Cannot create an instance of System.Collections.Generic.Dictionary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.List`1[T]] because Type.ContainsGenericParameters is true.
[PSCONFIG] [SPManager] [INFO] [8/6/2015 8:36:24 PM]: No context object
[PSCONFIG] [SPManager] [ERROR] [8/6/2015 8:36:24 PM]:    at System.Reflection.RuntimeConstructorInfo.CheckCanCreateInstance(Type declaringType, Boolean isVarArg)
   at System.Reflection.RuntimeConstructorInfo.ThrowNoInvokeException()
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.InvokeEmptyConstructor(Type type)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.DeserializeBasicObject(XmlElement xmlValue, Boolean isMerge, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlNodeList childNodes, Boolean isMerge, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlDocument value, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.FetchObject(Guid id)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Boolean checkInMemoryCache, Boolean checkFileSystemCache)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Microsoft.SharePoint.Administration.ISPPersistedStoreProvider.GetParent(SPPersistedObject persistedObject)
   at Microsoft.SharePoint.Administration.SPPersistedObject.get_Parent()
   at Microsoft.SharePoint.Administration.SPJobDefinition.get_WebApplication()
   at Microsoft.SharePoint.Administration.SPJobDefinition.Validate()
   at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.ResolveObjectAndClassVersions(SPLog log)
   at Microsoft.SharePoint.Upgrade.SPConfigurationDatabaseSequence2.Upgrade()
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPManager.BootStrap(Guid sessionId, SPUpgradeOperationFlags flags)



++++++++++++++++++++++++++++++++++++++





I just cannot find any possible solution for the "Exception: Cannot create an instance of System.Collections.Generic.Dictionary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.List`1[T]] because Type.ContainsGenericParameters is true." error message.

All the posts in TechNet are incomplete or does not give a possible solution.





João Rafael de Almeida SharePoint Server Administrator


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>