05 September, 2013

Authentication provider disabled sharepoint 2010

While doing some deployments today, there was necessity to check the authentication provider section in central administration but unfortunately this section is greyed out or you can call it as disabled.
Problem description:
1)   Authentication provider is disabled in Central Administration
2)   Authentication provider is greyed out in Central Administration

Error Message:
This control is currently disabled.


Make sure you have right mode of access / the exact credentials by which you can access the Central Administration / login to the server with SharePoint domain admin rights.

Make sure you are trying to open the central administration in IE and not in any other browser.

There are two resolutions are available to access this path:

Resolutions:

Resolution#1:
1)   Login to the server-shift+right click on IE
2)   select ‘Run as a Administrator’
3)   Try opening the CA now and
4)   check the authentication provider section
5)   it should be enabled now.

Resolution#2: This will be workaround- follow these steps:
1)   Open the Central Administration
2)   Security
3)   Specify authentication providers

Product applies to:
-SharePoint Server 2010
-SharePoint Foundation 2010

Reference:

04 September, 2013

The server could not complete your request. For more specific information, click the Details button – SharePoint 2010

One of my user has reported an error that he is facing some problem while publishing the workflow. I probe this issue further and got the following details:

OS: Windows 7
IE version: 9,32-bit
Workflow type: reusable
Publishing at which level: Subsite
SP version: SharePoint 2010

Problem description: Trying to make a custom Publishing Approval workflow for a document library but whenever I try to make a copy I get this message ”The server could not complete your request”



Error message:
This workflow is read-only. Would you like to make a copy of this workflow to open or edit?

After pressing the yes button I get the following error message:
The server could not complete your request. For more specific information, click the Details button.

Details:
Below is the message that the server returned. For more information, contact your Internet service provider or web server administrator.

Troubleshooting done:
1)   Tried publishing the workflow at the root site- worked.
2)   Tried publishing on different site collection as well as in development environment- worked
3)   Checked the managed blocked file types by means of Central Administration-security- for the files .xoml & rules but there were not there.
4)   Checked in IIS by means of request filtering for the extensions .xoml and rules but there were not a part of it.
5)   Checked the OOTB workflow and no problems with the same.

Its been pretty much clear that it’s only occuring at the subsite level and using SharePoint Designer.

Resolution:
Million thanks to this Microsoft technet thread who helps me to understand the issue and design nature of this functionality.


As per this thread- This is by design that we can only copy and modify the OOB global Reusable workflows from the top site. And it is because there is a limitation to create global reusable workflows from a subsite in SharePoint 2010, so we can't create and edit a global reusable workflow from subsites.


Thank you. Hope this article will helps you to get the insight on this issue.

02 September, 2013

Remove/Delete user from all SharePoint groups in the web application/site collection – SharePoint 2010

This is one of the requirement in which one of our admin changed the project so it means he will no longer be a part of any SharePoint site collection or any web application.

By considering this requirement, we need to remove this specific users across all site collections, all groups, all web applications…


Here is the script for the same:

$URL="https://Sharepoint2010SiteURL"
$site =Get-SPSite($URL)
$web = $site.OpenWeb()
$groups = $web.sitegroups
$user = $web .AllUsers.Item("name of user")
foreach ($spgroup in $groups)
{
   $spgroup.RemoveUser($user)
   $spgroup.Updae()
}

If you have any queries/questions regarding the above mentioned information then please let me know, Thank you.

Copy documents between libraries by preserving their metadata – SharePoint 2010

Copying documents as well as list items across list’s and libraries is very easy but preserving metadata is the main concern.

No need to worry about anything as this blog will provide you the answer for the same.

There are two options are available to achieve this functionality:
1)   Content and Structure
2)   Export and Import

I have already written articles for the same and this process will preserve the metadata.


Here are the links for the Export and Import:


Note: Please refer sections: Backup of the list and Backup of the library


Note: Please refer section: How to Restore the List/Document Libraries


If you have any queries/questions regarding anything then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

Copy/Move a document between Web Applications + Site Collections + subsites - SharePoint 2010

Lists and Libraries are being extensively used in SharePoint as it’s a collaboration product. Common functionalities that we do on regular basis includes create document libraries and lists, uploading documents, create items, manage permissions at the library level / list level / Item level , manage versions and so many things…

Today’s article is based on the same as how to transfer/copy/move items between web applications/site collections/subsites.

Note: Make sure this feature ‘SharePoint Server Publishing Infrastructure’ should be activated before applying the following steps.

How to check this:
1)   Open the site
2)   Site actions
3)   Site settings
4)   Site collection administration
5)   Site collection features
6)   Activate this feature ‘SharePoint Server Publishing Infrastructure’

Note: If you can’t see the site collection administration then it’s because of permissions, you should be listed as ‘site collection administrator’ to view that option. If you don’t have rights then please contact the assigned site collection administrators to activate that feature.

Coming back to the main article where we are going to see the actual process:

Would like to explain this by means of example:

Suppose there are two sites: site A and site B

Site A: Root site and site B: subsite
1)   Open the site A
2)   Site actions
3)   Site settings
4)   Site administration
5)   Content and structure
6)   Select the list or document library from the left hand side- click on it.
7)   Associated items will be reflected in the right hand side pane.
8)   Actions
9)   You will get the options as Move, copy and delete.


As soon as you will click on copy/move, you will get another dialogue box to select the destination site/ site B + library/list.




Select it and click OK

Items will be successfully moved to destination house.

Note: If you have any confusion regarding this process then i would request you to select the COPY option as it will not completely rid-off the source library items and only replicate it to the destination library. Once items will be successfully moved then you can delete the source library/list as per your requirements.


If you have any queries/questions regarding the above mentioned information then please let me know, Thank you.