RSS

Author Archives: Jim Mathew

About Jim Mathew

I'm a UX-Minded modern full stack solution developer

Manually run PSCONFIG.exe after Installing SharePoint 2010 Patches


Patching  SharePoint 2010  is a two-step process now.

  1. First updated patch binaries has to be installed
  2. Then psconfig.exe must be run manually to update the SharePoint databases.

In order to update the SharePoint databases, you must manually run the PSconfig.exe utility. Follow below steps:

1. Open an command prompt as adminitrator.
2. Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
3. Run PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

Note: The sharepoint site will be inaccessible while the command is running. It is best to run the command after office hours.

Known Issues:

Sometimes you might face following error: Sharepoint 2010 Product configuration wizard failing at step 9/10. below is the fix for it.

Solution

  • try clearing the cache.ini
  • you can find it in location C:\ProgramData\Microsoft\SharePoint\Config\GUId
  • go inside the GUID and look for cache.ini
  • reset the value to 1
  • run the command stsadm -o execadmsvcjobs
  • try running the below command
  • psconfig.exe -cmd upgrade -inplace b2b -wait -force
 
1 Comment

Posted by on October 17, 2012 in administration, Sharepoint Server 2010

 

Tags: ,

How to delete SharePoint 2010 timer job definition?


  1. Navigate to Central Administration
  2. Then Operations > Timer Job definitions
  3. Find you timer job from the list and click to open the page
  4. Copy the JobId from URL eg: http://MyServer:123/_admin/JobEdit.aspx?JobId=XXX-XXX-XXX-XX)
  5. Copy to NotePad and replace the %2D characters by a dash “-“
  6. Then Open Sharepoint Powershell command window and use below command
    stsadm.exe -o deleteconfigurationobject -id <ObjectGUID> 

Volila!!

 
1 Comment

Posted by on September 12, 2012 in Sharepoint Server 2010, Tips & Tricks

 

Tags:

Error occurred in deployment step ‘Recycle IIS Application Pool’: Provider load failure


The Bug

When you try to deploy or retract a SharePoint 2010 solution from visual studio 10 you get below error message:
Error occurred in deployment step ‘Recycle IIS Application Pool’: Provider load failure

Solution

Restart the SharePoint 2010 User Code Host service resolved the issue. Try below powershell command.

restart-service SPUserCodeV4

 
Leave a comment

Posted by on August 14, 2012 in Bug, Error, Sharepoint Server 2010, Webpart

 

Tags: ,

New SharePoint 2013 Preview is out!


New MySite  UI

 
Leave a comment

Posted by on July 19, 2012 in SharePoint 2013

 

Tags:

How to enable list item re-order in SharePoint 2010 custom list?


Enabling list item reorder in share point
  • Create a Custom List and save it as a template (.stp from list settings)
  • Go to the List Template Gallery of your Site Collection (/_catalogs/lt/Forms/AllItems.aspx) and download the template (.stp file) to your computer.
  • Rename the .stp file to a “cab” extension
  • Open the cab file
  • Extract the “Manifest.xml” file
  • Open Manifest.xml” in a text editor then  Search for <UserLists> and add new attribute called OrderedList=TRUE” .
    eg:<List Name=”{XXX XXX XXX XXX}” Title=”Car Models” Description=”” OrderedList=”TRUE” Direction=”0″ ………….. ><MetaData>….
  • Save the file
  • Repackage the manfest.xml into a .cab file (You can use visual studio 2010 to generate .CAB))
  • Change the file extension on the cab file back to .stp
  • Upload the modified Site Template file to site templates
  • Create a new list based on the template
  • Done!

Here is a final step – Add a custom button in the Ribbon to access the reorder quickly

  • Open the list in SharePoint Designer 2010
  • In the ribbon , select the “Custom Actions” drop-down and select “View Ribbon”
  • Provide a name for the button (eg: List Item Order)
  • Click on “Navigate to URL” and enter the following URL: /_layouts/Reorder.aspx?List=ListGUID.
    (You can find the GUID from settings page of your list in SPD2010)
  • Add a small and large icon image
  • Done!
 
1 Comment

Posted by on May 10, 2012 in Uncategorized

 

Tags:

Error : Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWeb.


Once you create Mysite web application or any other web application and try to open general settings you might face below error:
Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWeb.”

Solution:

 
1 Comment

Posted by on May 9, 2012 in Sharepoint Server 2010

 

Tags: ,

Sharepoint 2010 Content Deployment Error : Feature ‘XXXXX-XXXX-XXXX’ is Site-scoped, and cannot be added to the Web.


Error:

When you do content deployment of your custom portal in Sharepoint 2010 you might get following error:

Content deployment job ‘Remote import job for job with sourceID = XXX-XXX-XXX-XXX: Import in progressThe exception thrown was ‘System.InvalidOperationException’ : ‘Feature ‘XXX-XXX-XXX’ is Site-scoped, and cannot be added to the Web.’

Cause

This occurs if you delete or retract your custom solution without deactivating and uninstalling  the feature for each deployed scope.

Resolution

You need to cleanup your feature uninstallation. Always follow below steps to uninstall a feature

  • stsadm –o deactivatefeature –id a9efee03-12fc-46ca-acba-0ef1e0ae3171 -url http://site
  • stsadm –o uninstallfeature –id a9efee03-12fc-46ca-acba-0ef1e0ae3171
  • stsadm -o retractsolution -name CustomWebpart.wsp -immediate -url http://site
  • stsadm -o execadmsvcjobs
  • stsadm -o deletesolution -name CustomWebpart.wsp  

You need to do this for all your sites using the feature. Then try content deployment again.

 
2 Comments

Posted by on February 6, 2012 in Error, Sharepoint Server 2010

 

Tags: ,