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

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


SSO Azure AD SSL configuration is compulsory?

$
0
0

Hi,

Is it necessary to apply SSL even with self created certificate to SharePoint Web application to enable SSO using Azure AD identity provider?

if yes why its necessary to implement SSL?

Specify the URL or the ID of the site collection to be deleted. The -siteid para meter must be used with the -force when delete orphaned site collection.

$
0
0
Hi I have an orphaned site in a content database when I run delete orphaned site command I got below message from PowerShell how to delete orphaned site because its stopping configuration wizard to run successfully after installing SharePoint latest cumulative updates.

stsadm -o deletesite -force -SiteID "03xxxx7c3-4f95-b343-42c8f9486243" -DatebaseName "WSS_Content9" -DatabaseServer "Sxxxx"

Specify the URL or the ID of the site collection to be deleted. The -siteid para meter must be used with the -force, -databasename and -databaseserver parameters

adil

Powershell script to count number of list and library items in site collection

$
0
0

We are identifying large lists in our 2010 SP environment and I'm attempting to write code to output the total number of list items in a site collection.   I'm using the code below but it only displays column data for title and url.  What do I need to add so it can count the number of items in each sharepoint list and library? 

Get-SPSite -WebApplication http://sharepoint -Limit All |
   Select -ExpandProperty AllWebs |
   Select -ExpandProperty Lists |
   Select ParentWebUrl, Title

I'm referencing http://sharepointpromag.com/sharepoint/windows-powershell-scripts-sharepoint-info-files-pagesweb-parts



Sign out problem SharePoint 2010 SSO using Azure AD?

$
0
0

Hi,

i think this issue very known and have multiple solutions available for signout but all requires custom development.

Problem:

I have enabled SSO using SAML with Azure AD but when i try to signout it redirects to home page. I have to redirect this to signin page.  

I have tried this script but unable to set this because SharePoint 2010 doesn't have ProviderSignOutUri set option:

$sts = Get-SPTrustedIdentityTokenIssuer AzureAD
$sts.ProviderSignOutUri = 
$sts.Update()

Any solution you recommend without custom code?

Thanks

Sabeeh


SharePoint Developer/Consultant at Microsoft Partner Firm

Move a subsite from one site collection to other

$
0
0

Hello

we had sharepoint intranet in 2010 and we have built everything in one root collection. We are trying to divide the content and create few site collections (Sales, Service etc) and move the content to those site collections. Export-import method is not working as it is not moving the workflows. What is the best way to move the content and its associated workflows, alerts etc.

Thanks


rani

Is there better solution to migrate sharepoint 2003 to sharepoint online

$
0
0

Hi there,

I have a project for migrating the SharePoint from 2003 to 365. I suppose there are several solutions in hands such as

  1. Hard coding
  2. SMAT (Microsoft Tools)
  3. 3rd party tools --> need to spend some money --> I'm not sure whether or not my client is willing to buy it. Assumption, they don't have extra money to do it. the above Item (1) and (2) which one is better …

They just only have 200GB data.

Thanks


Hi there, if you found my comment very helpful then please | Propose as answer | . Thanks and Regards.

Joining Win2012 R2 to 2008 Sharepoint 2010 Foundation Farm

$
0
0

Hello,

I am in the process of rebuilding our Sharepoint 2010 Foundation Farm based on win 2008 servers using Win2012 R2 servers. I installed SP, CU and Language packs on win2012 R2 node. I ran SharePoint configuration to join node into a Farm. I ran into an unexpected problem. There is hotfix installed on win 2008 nodes https://support.microsoft.com/en-us/help/2687355/description-of-the-sharepoint-foundation-2010-cumulative-update-packag

This hotfix is depricated and is not applicable to Win2012R2. The problem is, that it is not possible to uninstall hot fix from 2008 nodes. (Sharepoint hotfixes are not designed to be uninsatlled) So I cannot join the 2012R2 node because it is missing the hotfix and I cannot remove the hotfix from old nodes. What can I do? Please help!


SharePoint 2013 Change Domain name for Form based Authentication

$
0
0

Hi,

Recently we have  configured SSL certificate for our Intranet which is having form based authentication. While configuring we have changed our domain name as well.

Now we are not able to access new URL as domain name has been changed however with host name we are able to access the URL.

Example:

Initial URL: http://sharepointweb.xyz.com

URL after SSL : https://sharepointweb.wxyz.in 

So root site URL has been changed and  we are able to access the new URL with host name entry. 

Can you please help how to overcome  dependency of host name.

Regards,

Shushant 

 

SharePoint Root Authority "local" certificate removed by mistake

$
0
0

 

I deleted the certificate using the "Manage Trust" interface not knowing it's special purpose.

This seems to be the aftermath:

1. Visio and Excel web parts don't work properly generating following errors.

"The root of the certificate chain is not a trusted root authority" by SharePoint foundation.

"ID3242: The security token could not be authenticated or authorized." by Visio graphics service.

2. Cmdlet (Get-SPCertificateAuthority).RootCertificate returns null.

3. Rerunning the configuration wizard and the installer in repair mode doesn't help.

4. Another farm has the "local" certificate intact. The certificate is issued to SharePoint Root Authority by SharePoint Root Authority and it differs from all the 3 certificates in SharePoint folder in Certificate mmc snap-in for local computer account. Does it exist anywhere in system except SP database?

The questions.

1. Is my guess right and the symptoms are cause by the deletion of the certificate?

2. Is there any way to regenerate the root certificate or import another as such?


String was not recognized as a valid DateTime on import of site

$
0
0

We are running on some serious problem. Please respond as early as possible. 

we have run export and import of a site collection and while import few files are not being imported stating the following error 

[HomePage.aspx]   Importing File Version 70.0

[HomePage.aspx]   Error: String was not recognized as a valid DateTime.
[4/23/2012 2:47:58 AM] [ListItem] [counterpartydashboard.aspx]   Debug:    at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.String.System.IConvertible.ToDateTime(IFormatProvider provider)
   at System.Runtime.Serialization.FormatterConverter.ToDateTime(Object value)
   at System.Runtime.Serialization.SerializationInfo.GetDateTime(String name)
   at Microsoft.SharePoint.Deployment.MetaInfoProperty..ctor(SerializationInfoHelper infoHelper)
   at Microsoft.SharePoint.Deployment.FileSerializer.GetMetaInfo(SerializationInfoHelper infoHelper)
   at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, Boolean isFirstVersion, Boolean hasWebParts, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context)
   at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileVersion(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, String version, Boolean isFirstVersion, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItemVersion(SerializationInfoHelper infoHelper, SPListItem& listItem, SPLoggerObject loggerObject, SPWeb web, Guid newId, String& listItemServerRelativeUrl, Boolean bIsPublish, Boolean exists, String version, Boolean isFirstVersion, Boolean isLastVersion, StreamingContext context, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.ListItemVersionSerializer.AddListItemVersion(SPWeb web, SPListItem listItem, SPLoggerObject loggerObject, Guid newId, Boolean editHistory, Boolean existsInDb, Boolean isFirst, Boolean isLast, Boolean isDocLib, StreamingContext context, XmlElement listItemData, SerializationInfoHelper listItemInfoHelper, String& listItemServerRelativeUrl, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.ListItemSerializer.UpdateListItemVersionData(SerializationInfoHelper infoHelper, SPWeb web, SPListItem& listItem, Guid newId, Boolean existsInDb, Boolean isDocLib, String& listItemServerRelativeUrl, StreamingContext context, ISurrogateSelector selector)

This is the same case with few other files as well.

we have identified the error 

Versions 70.0 until 97.0 of the file include the following invalid property:

   <Property Name="vti_syncwith_sp2010test.webdev.xxx.com\:80/sites/mysite" Type="Time" Access="ReadWrite" Value="29 May60354 0

 

   Obviously<60354> is not a valid value for a year – hence the error we encounter.

we are not sure where this value is coming from and how to identify and remove it for successful export/import 


Sahrepoint user profile picture

$
0
0

Hi All,

I have sharepoint 2016 on-perm site, i have user profiles and user images (images directly uploaded from CA user properties). my site showing all user priles with photos.

Problem:

now i created new user profile connection (because i want to remove one of the node from OU, but existing shrepoint UPS connection setting is not update even i de-select the node and save) and pointing to the old mysite host. 

all user profiles are came, ut the user profile image is not showing in my site.

my question is why user profile picture dis appiear after i set up new user profile connection. please help to give any idea to resolve this issue.

SSO Redirection Issue SharePoint on premises Azure AD

$
0
0

Hi,

I have enabled sso using Azure AD i am facing issue on redirection /_trust/

Before SSO configuration:

i have this sharepoint server url: http://abc.com/ after logged in it redirects to http://abc.com/pages/allpost.aspx

After SSO Configuration:

after log in, it redirects to http://abc.com/pages/_trust/allpost.aspx just because of/_trust/ it gives error 

Correlation ID: bc0cebba-c9ab-4d0b-9d9c-104bedd4c8c1

If i remove /_trust/ and hit enter error removes. but /_trust/ is also compulsory to add because of claim base authentication.

anyone here who can assist me?


sharepoint 2010 ---- upgrade sql 2008 r2 to sql 2012

$
0
0

Need help on Sql upgrade for sharepoint 2010:

we are on SharePoint 2010 with windows server 2008 r2 and sql 2008r2

can we just upgrade sql 2008 r2 to sql 2012 ? If so can you please share what all are precautions / prerequisites need to follow ?

Appreciated any help !



Kannalo

SharePoint 2013: Trying to Apply Template to subsite and getting missing features error. How do you install missing features using powershell?

$
0
0

HI folks

I have a subsite on my 2013 farm that gives a "missing features" error when applying a custom template. I have the list of the missing features and guids, for example

SocialSite Feature

4326e7fc-f35a-4b0f-927c-36264b0a4cf0

I am trying to install the list of missing features using PowerShell ?  I am able to list the features for the site, and for the farm, but unable to find a script that installs the features using guid or featurename. Thanks in advance

James


SharePoint 2010 - Config Wizard Fails - the exclusive inplace upgrader timer job failed.

$
0
0

Hi All,

THe SharePoint 2010 Config wizard fails with the message:

the exclusive inplace upgrader timer job failed.

Kindly help me with resolution for this, please let me know if any further information is required.

Thanks,

Raj

Failed to run SharePoint Products Configuration Wizard

$
0
0

hi,

My requirement is to change the whole site into dutch language in SP on-premises.

i have found the solution , tht need to install language pack and run the SharePoint Products Configuration Wizard.

but in the 9 steps i got an error in wizard



and also ensured that sharepoint timer service is running state.

Kindly do the needful.

Thanks in advance.!!!

Random library elements are lossing some exclusive permissions

$
0
0

Hello,

We have a big issue that we need to solve asap, we have three libraries with elements that are updated with a event handler when a workflow starts. We migrated more than 8000 documents from external source to shp 2016 on-premises. SO, there are some random elements that keep lossing an exclusive permission "TodosSGI - Read" that is necessary to let users view/read the document. So we added it manually and randomly it keep lossing the permission again...

We did an audit log and gave this:

It says that account system removed three permissions in the three logs ea that could be (AdminsSGI, Creator and TodosSGI), after that it added two permissions that probably are (AdminsSGI and Creator), then removed then and added then again. Looks like a loop and before it happens a user viewed the document (that's what i see in the log), then a user added "TodosSGI" manually but it will probably automatically deleted it at some random hours later.

I hope i get help with this.

Best regards,

Luis.

Edit Item Button Greyed out even for Full Control User.

$
0
0
I have found a weird issue for a user. The user on a Windows 10 desktop no longer has access to Edit Items on Sites where they have full control. I know this is not a user permission issue in Sharepoint because I had the user log into a Windows 2008 Terminal server session and the buttons were available. To Solve this problem on users desktop, had the user start Chrome and/or IE with 'Run As Administrator'. Now the buttons are available. Does anyone understand why this is the case? How to solve a different way?We do not want users using internet browsers as administrator as that will open up a security vulnerability on that users desktop. Please help. Thank you.  

Outlook contact card name link goes to wrong SharePoint MySite URL

$
0
0

I have a two SharePoint 2010 environments, production and development (e.g. http://mysite and http://mysitedev). In Outlook 2010, when I hover over a name in an email to view the contact card and then in the contact card proceed to click on the person's name to view their profile page, it is currently opening up the link to their MySite on our development server. We need this URL to point to our production SharePoint MySite instance.

Despite researching, it's unclear where the setting lives to change this URL (SharePoint, registry, AD, etc.). I have made sure that the production MySite is set as the default MySite locally for the Office apps (i.e. http://paulliebrand.com/2011/09/27/set-as-default-my-site-sharepoint-sites-or-my-sharepoint-sites-missing-in-office-2010-on-sharepoint-2007/). It also doesn't appear that a person's wWWHomePage attribute in AD has any bearing on this. Can anyone tell me what must be changed to correct this?

Viewing all 13778 articles
Browse latest View live


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