Thursday, November 7, 2013

Uninstallation and Retraction of a Solution in SharePoint 2010

Uninstallation and Retraction of a Solution in SharePoint 2010

Please follow the below commands to retrace\Uninstall Solution as per Environment.

Using STSADM:

stsadm -o retractsolution -name solutionName.wsp -immediate
stsadm -o deletesolution -name solutionName.wsp

Using PowerShell:

Uninstall-SPSolution -identity solutionName.wsp
Remove-SPSolution -identity solutionName.wsp

Exception error while activating SharePoint Publishing feature

Exception error while activating SharePoint Publishing feature


Issue: Whenever you try to activate the "Office SharePoint Server Publishing Infrastructure" feature from site collection, it throws the following error message.

Exception Error 0x80020009

Solution:
Try to activate through below command lines,please run the commands as order.

stsadm -o activatefeature -filename publishing\feature.xml -url http://URL -force
stsadm -o activatefeature -filename publishingresources\feature.xml -url http://URL  -force
stsadm -o activatefeature -filename publishingSite\feature.xml -url http://URL -force
stsadm -o activatefeature -filename publishingweb\feature.xml -url http://URL -force
stsadm -o activatefeature -filename publishinglayouts\feature.xml -url http://URL -force
stsadm -o activatefeature -filename navigation\feature.xml -url http://URL -force


Please make A Comment if you need any help!!!!!

How to Block SharePoint 2010 Installation

How to Block SharePoint 2010 Installation ? 
Interestingly, when I am searching for something, I got to see the below of blocking SharePoint Installation. Thought to share with My SharePoint Bees. 
If you want to block users from installing SharePoint Server 2010 and related products, set the following registry key by using Group Policy in Active Directory services

HKLM\Software\Policies\Microsoft\Shared Tools\Web Server Extensions\14.0\ SharePoint\DWORD DisableInstall

To block installations, set DWORD DisableInstall=00000001.

When this registry key is set, users who try to install SharePoint Server 2010 receive the 
following error message:

SharePoint installation is blocked in your organization. Please contact your network administrator for more details.

The following users do not have email address specified

 The following users do not have email address specified 

I faced the issue with one of My UAT user, says that get the below error message while configuring alerts. 

Error: The following users do not have email address specified

     Problem Description: Unable to set alert on a List for single or multiple users 

    cause: below are the possible causes for the issue.

·         User don’t have the mail box assigned in AD

·         Users profile is imported to SharePoint before he got assigned to mailbox.

·         The user’s profiles are not updated in SharePoint even though everything is setup up correctly in Active Directory and in Exchange

Cannot open the excel files in SharePoint 2010

 Cannot open the excel files in SharePoint 2010

 Issue : Users cannot open excel files in SharePoint 2010 from the Library and get an error
"This workbook cannot be opened because it is not stored in an Excel Services Application trusted location. To create an Excel Services Application trusted location, contact your system administrator"                                                                                          


In Previous Versions of SharePoint, what users do, They contact SP admins and ask them to add library to trusted file location (as error says) but in SP 2010 it's not the case 

Cause : By default the files are designed to open in browser . So it is checking for trusted location   

Resolution :Follow the below steps to resolve the issue.

  1.   Go to the Library
  2.   On the top click on Library and go to Library settings .
  3.   Under General settings you will find Advanced settings
  4.   Over there you will find the option which by default is set to open in Browser
  5.   You need to set it to Open in Client and there you go .
  6.   Click OK and you are done

The security validation for this page has timed out" error message when a user submits data to Windows SharePoint Services

The security validation for this page has timed out" error message when a user submits data to Windows SharePoint Services


                                       


Cause: This behavior occurs if a user submits information to the server after the security validation time-out that is set for the virtual server expires. By default, the security validation time-out value in Windows SharePoint Services is set to 30 minutes. That is, if 30 minutes pass before the user clicks Save and Close to submit data to the server, the user must reenter the data and then resubmit that data to the server.

      Workaround: Increase the security validation time-out value. To do this, follow these steps:

·        Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.
·        Under Virtual Server Configuration on the Windows SharePoint Services Central Administration page, click Configure virtual server settings.
·        On the Virtual Server List page, click the name of the virtual server that you want to configure.
·        Under Virtual Server Management on the Virtual Server Settings page, click Virtual server general settings.
·        In the Web Page Security Validation area of the Virtual Server General Settings page, specify the number of minutes that you want to set for the security validation time-out, and then click OK.

ShareThis

X