Upgrade Site Collection which is created in SharePoint 2010 using custom site definition when using template ID 10000.

This post is a contribution from Aravinda Devagari, an engineer with the SharePoint Developer Support team · First convert the 2010 classic mode web application to claims web application by following the steps below. $webapp = "http://sp:29616" $wa = Get-SPWebApplication $webapp $wa.UseClaimsAuthentication = $true $wa.Update() $account = "contoso\administrator" $account = (New-SPClaimsPrincipal -Identity $account -IdentityType 1).ToEncodedString()…

0

Failed (on Start) in SPD workflow.

This post is a contribution from Jaishree Thiyagarajan, an engineer with the SharePoint Developer Support team    This blog is applicable to both Sharepoint 2010 and 2013 environment. Say you have a Sharepoint 2010 Designer “List workflow” associated to a List. Whenever an item is added to the list, the Workflow gets triggered. If you encounter…

2

Provider Hosted App fails on SPO

This post is a contribution from Pavan Kumar, an engineer with the SharePoint Developer Support team  Recently worked with a customer who had deployed a Provider hosted App to their Sharepoint O365 tenant and the remote web was an IIS website which was OnPremise. The App worked fine for a while and it started to…

0

SharePoint App upgrade fails with an error

This post is a contribution from Pavan Kumar, an engineer with the SharePoint Developer Support team I worked on a very interesting issue where in upgrade of Sharepoint App failed consistently on OnPremise Sharepoint 2013 installation. While I was reviewing the ULS logs I could find that there was an AppLifeCycleError_TimeOut. Portion of ULS is…

0

Executing PowerShell command in web method of a web service hosted on SharePoint 2013 farm

This post is a contribution from Pavan Kumar, an engineer with the SharePoint Developer Support team I worked on a very interesting case where I had to execute powershell commands in web method of a web service. But while executing powershell command I get following error "The type initializer for 'System.Management.Automation.SessionStateScope' threw an exception." When…

0

When using a custom HTTP module and you create a view for a list you get an error saying Cannot complete this action. Please try again.

This post is a contribution from Aravinda Devagari, an engineer with the SharePoint Developer Support team When you are using a custom HTTP module with a SharePoint site, you will notice that if you go ahead and create a custom list view you will get an error: “Cannot complete this action.  Please try again.” This…

1

How to Avoid Item addition when attachment is invalid.

This post is a contribution from Jaishree Thiyagrajan, an engineer with the SharePoint Developer Support team When we add a files with name containing only symbols like "([{_$%]}).txt" as an attachment to a list, we will see the error "The file/folder name that contains characters that are not allowed" & the attachment will not be…

1

How to troubleshoot performance issues in SharePoint custom code on your own? Part 3- Slow

This post is a contribution from Paul Chan, an engineer with the SharePoint Developer Support team Another popular performance issues I have seen when working on customer’s issues is slow response. Obviously, this blog article addresses a slow scenario. NOTE: If you feel needed or press on time, feel free to contact Microsoft and create…

2