Archive for the ‘Errors’ Category

This error popped up when I changed my service account for Search Service & the Search Host Controller Service as these services were using the farm admin account. Below are some of the solutions which provided were,

  • Removing the extra space at the end of ‘PSModulePath’ – This didn’t work for me
  • Adding proper permissions in the database – Which is perfectly fine already
  • Repair SharePoint under Control Panel – This is not going to be a good option

The solution was to provision the WSS usage application proxy. Use the below command to do the same.

$UP = Get-SPServiceApplicationProxy | where {$_.TypeName -like "Usage*"}

When you try creating a SharePoint 2013 App project in a SharePoint hosted model and when you try to deploy the solution, you get an error “Error occurred in deployment step ‘Install app for SharePoint’: Sideloading of apps is not enabled on this site.”

One thing you should remember is, Always the app should be published/deployed to the developer site. That is, while creating a site collection/site where you want to deploy the app, create it using the “Developer Site” template under the Collaboration tab. Now you will be able to deploy your app on the site.

In SharePoint 2010, you create a site page which goes under the SitePages pages library (http://<siteName>/SitePages/). You edit the page and add a filter web part. The filter appears to be added successfully, but you cannot see the newly added filter on the page. You can go on adding any number of webparts. Everything will be added successfully, but doesn’t show up in the page.

You can check the same by adding  the query string ?contents=1 at the page url. You will be able to see the list of webparts in the page where you can see your filter webparts too.

You will not get this issue if you add webparts in a webpart page.

Reason:  The problem occurs because the WebPartManager.DisplayMode property is not getting set when the page is edited. The web parts expect to check WebPartManager.DisplayMode.AllowPageDesign, but for these pages it is set to BrowseDisplayMode even when editing.

Solution: To see the filter web part you’ll need to select “Edit Web Part” for any of the existing web parts you already have on the page. You can then see the newly added filter web parts you have added to the page and also configure them.

In SharePoint 2010 publishing site,  when you go to Site Settings -> Manage Content and Structure menu, you will get an error message saying One or more field types are not installed properly. Go to List settings page to delete these fields with an associated correlation ID.

This seems to be an issue created when you migrate your SharePoint 2007 site to SharePoint 2010. All the sub-sites of the current site will also have the same issue.

Reasons for the Issue :

  • The publishing site uses SharePoint Server Publishing Infrastructure to support the publishing features in SharePoint.
  • This feature automatically creates an internal List “Relationships List” which is used to store the variations details.
  • This list is normally not visible in View All Site Content menu but you can browse it through the url http://site_url/Relationships%20List/allitems.aspx.
  • The actual issue is after migration of the site, the list will have a column GroupId which is of type Text. But actually it should be GroupGuid with type as GUID.
  • So we need to resolve this column name & type inconsistency.

Solution for the Issue :

  • You will not be able to delete and re-create the column since SharePoint doesn’t support creation of column of type GUID through UI.
  • So only way is to delete and re-create the list.
  • Go to Site Settings -> Modify All Site Settings -> Site Collection Features and deactivate SharePoint Server Publishing Infrastructure feature.
  • This removes the association between the feature and the Relationships list, which allows you to delete the list.
  • Navigate to the URL http://site_url/Relationships%20List/allitems.aspx and delete the list from the list settings.
  • Now go to site collection features and activate the SharePoint Server Publishing Infrastructure feature.
  • Note that Relationships list will be created automatically. You can check the same by navigating to the URL as states above.
  • You can check the list containing the column GroupGuid of type GUID.

Now check your Manage Content and Structure page which will be working fine. Hope it helps 🙂

In SharePoint 2010, you may try deploying or upgrading a solution using stsadm and end up with the below error.

A deployment or retraction is already under way for the solution “Solution Name”, and only one deployment or retraction at a time is supported.

This issue occurs if a SharePoint solution deployment fails, yet the timer job is created and not running, you will be unable to redeploy or retract the solution.

To resolve this error and redeploy the solution, follow the below steps.

  1. Go to Central Admin -> System Settings -> Manage Farm Solutions.
  2. Cancel the deployment for your solution. It may have the status failed or deploying, which means deployment is not successful.
  3. Now redeploy your solution.

Hope this helps .