Thursday, February 2, 2012

Error saving site as template

I have been getting error saving as template after migrating from MOSS 2007 tp SharePoint 2010 with database upgrade approach.

Error message:

Error exporting the site field named "Asset"
Error exporting the site field named "Category"

Finally I was able to save site as template after running the below command

stsadm -o activatefeature -name TSATypes -url http://sitecollection URL -force

stsadm -o deactivatefeature -name TSATypes -url http://sitecollection URL -force

That's it..Problem solved.

Features and their GUID’s in SP2010

http://blogs.msdn.com/b/mcsnoiwb/archive/2010/01/07/features-and-their-guid-s-in-sp2010.aspx

Friday, January 27, 2012

SharePoint Designer 2010: Business data connectivity metadata store is unavailable

If you see Business data connectivity metadata store is unavailable error in SP Designer 2010 then try to run the below powershell command. It got resolved the problem for me.

$bcsServiceApp = Get-SPServiceApplication | where {$_ -match "Business Data Connectivity Service"}
$bcsServiceApp.RevertToSelfAllowed = $true;
$bcsServiceApp.Update();

Thursday, January 26, 2012

Wednesday, January 25, 2012

Finding the Id (Guid) for a SharePoint List

There are times when you need to find the Id (a Guid) of a list – for example, when setting the Task list to be used with SharePoint Designer Workflows (see my blog post here). Here’s a simple way of doing this:

Navigate to the SharePoint list using the browser.
Select the Settings + List Settings menu command.
Copy the Url from the browser address bar into Notepad. It will look something like:
http://moss2007/ProjectX/_layouts/listedit.aspx?List=%7B26534EF9%2DAB3A%2D46E0%2DAE56%2DEFF168BE562F%7D

Delete everying before and including “List=”.
Change “%7B” to “{”
Change all “%2D” to “-“
Chnage “%7D” to “}”
You are now left with the Id:

{26534EF9-AB3A-46E0-AE56-EFF168BE562F}

Tuesday, January 24, 2012

How To Change The maximum file size Upload in SharePoint 2010

This morning I tried to upload a large file to our SharePoint 2010 and then realised that the default 50mb file size limit was still set so while I was changing the settings to allow larger files I thought I would do a quick post on how/where the setting is and what to change.

First of all login to Central Admin and navigate to
Central Administration -> Application Management -> Manage Web Applications
Once there highlight the web application that you want to change and then click on general settings

Once in general settings scroll to the bottom of the list and you will see the maximum upload size the default setting is 50mb and change maximum size of 100mb or more.

Business Connectivity Services security operations (SharePoint Foundation 2010)

Below technet article explains more about the Security settings for BCS

http://technet.microsoft.com/en-us/library/ff973113.aspx#store