Sunday, December 14, 2014

SharePoint deployment – Back to basics – WSP stuck on “Deploying” state

While deploying a WSP in one of my SharePoint 2010 project, wsp stuck on “Deploying” state. I am Deploying the solution with farm admin credentials using Central Administration globally. But the status was “Deploying” for long time. I have spent almost 2 hours on that but still...

SharePoint 2013 error – The server was unable to save the form at this error

While working with SharePoint 2013 list, saving the data I got an error saying that “The server was unable to save at this time. Please try again.” As shown the image below. By checking the logs I have found following error “Memory gates checking failed because the free memory...

Wednesday, November 5, 2014

SharePoint OWA Power Point error - Sorry, PowerPoint Web App Ran into a problem opening this presentation.

In SharePoint 2013 environment I got an error PowerPoint while previewing the document. Error message states that “sorry PowerPoint web app ran into a problem opening this presentation to view this presentation please open it in Microsoft PowerPoint” as shown the image below. I...

Sunday, November 2, 2014

SharePoint back basics – move site collection to another content Database using PowerShell commands

Yes, we can move SharePoint site collection form one content DB to another Content database. But before moving the database we need to check following things, New content database should be exists on the same server and it needs to be under the same web application. The account...

SharePoint 2007 error while unblocking a file - An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=XXXX Parent=SPWebService is being updated by XXXXX, in the OWSTIMER process, on machine XXXXX. View the tracing log for more information about the conflict while unblocking a fie type

While working with SharePoint 2007, unblocking a file extension, I got an error saying that “An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=XXXX Parent=SPWebService is being updated by XXXXX, in the OWSTIMER process, on machine...

Wednesday, October 29, 2014

Infopath Error: The Query cannot run, Infopath cannot run the specified query. Access denied.

 Creating a InfoPath form for a document library in one of my project, publish the infopath form I got an error saying that “InfoPath cannot run the specified query. Access is denied”. I have verified few blog posts and verified following options, Permissions to document...

Sunday, October 12, 2014

SharePoint Quick tip - Get SharePoint list item display form details through code

We can get display form URL by appending “DispForm.aspx?ID=” with the URL by adding ID values at the end. We can get the form details byusing list item properties as shown the code below using (SPSite currentSite = new SPSite(SiteURL)) {     using (SPWeb currentWeb = currentSite.OpenWeb())     {    ...

Saturday, October 4, 2014

SharePoint 2010 workflow error – “Due to heavy load, the latest workflow operation has been queued”

While working with custom workflows in SharePoint 2010, I got error in workflow as “Due to heavy load, the latest workflow operation has been queued”. After refreshing the page, most of the times error may fixed and workflow completed as usual. Sometimes I used to stuck on the...

Tuesday, September 30, 2014

SharePoint Restore-SPSite error - Response message does not match the content type of the binding

While working with SharePoint site  restoring with PowerShell commands I got an error saying that,  Restore-SPSite : The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly After googling...

Saturday, September 27, 2014

SharePoint – Back to basics – Designer quick tips – All Items in navigation, Updating List URL

I got a simple requirement for one of my project to update the list URL. Basically this is a simple requirement by using Object model/PowerShell commands. But we don’t have option to use PowerShell commands or coding. Even without them we can update that easily from SharePoint...

Sunday, September 21, 2014

SharePoint InfoPath form Allow anonymous users to enter data

SharePoint InfoPath forms is one of the way to enter data into SharePoint. To allow anonymous users to enter the data in the forms we have to follow the steps below, Configure Anonymous access to SharePoint site Create a list that to submit data anonymously, Change anonymous...

SharePoint 2007 error while opening the site in designer - this website has been configured to disallow editing with SharePoint designer

One my client having SharePoint 2007 environment. We got some requirement to check the existing functionality in one of the site. To verify the existing web parts I have tried to open the page in SharePoint designer.  While opening the site in SharePoint designer 2007,...

Tuesday, September 16, 2014

SharePoint content type error “The content type is in use”

One of my project from recent times I was worked on content hub to manage the content types in SharePoint. While changing the content type name, I got an error saying that “The content type is in use” as shown the image below. I have checked all the content types in current...

Wednesday, September 10, 2014

Check SharePoint service status using SharePoint object model

By using SharePoint object model we can retrieve the User Profile Service information like User Profiles and user group details from UserProfileManager class. Some times we can see “UserProfileApplicationNotAvailable” error. We can check service availability details using following code block. public bool IsCurrentServiceisInStart(string serviceName) {     bool...

Sunday, September 7, 2014

SharePoint – Back to basics – Impersonate user programmatically

In SharePoint custom development activities, we have to impersonate the user to view SharePoint contents. To impersonate user in SharePoint we need to have the account that having privileges (generally in Run with elevated privileges “System Account” will be used) or user tokens. To handle with System Account, we can use following code block, SPSite parentSite = new SPSite(siteURL); SPUserToken...

SharePoint custom workflow send email task error: The e-mail message cannot be sent. Make sure the email has a valid recipient

While working with SharePoint custom workflow with Send email task, i am seeing “The e-mail message cannot be sent. Make sure the email has a valid recipient” error in workflow history list every time workflow fired. I was in a confusion that why I am seeing that every time. Very first time designing workflow I have left all properties for “Send Mail” task empty as I am sending...

Thursday, September 4, 2014

InfoPath error – “Your user name or group membership cannot be verified because the form's security settings do not permit it.”

Working with existing InfoPath forms, while opening the form it is showing error as “Your user name or group membership cannot be verified because the form's security settings do not permit it.” As shown the below.  We can get this error due to form security error....

Wednesday, September 3, 2014

Customize SharePoint survey through UI

In SharePoint survey we don’t have option to edit the survey views and details. In my project, we need to add a column with to response to survey which works as a normal list item. This column need to save the response of the survey. I have tried to do this through UI and I am unable to do that as regular list options. I have checked it in google, few answers says that it is nearly...

Sunday, August 31, 2014

SharePoint 2013 – office 365 site save site as template error

In Office 365 site, to save customized site as template we can’t have save site as template option as we don’t even activate publishing feature. For example, I have created a site in office 365 environment and added some third party customized features like twitter and tried to...

Saturday, August 30, 2014

SharePoint – Back to basics - Are sure you are SharePoint Farm Administrator?

How can I’ll be SharePoint farm Administrator? By Adding Farm Admin group from SharePoint Central Admin site as shown the below I’ll become Farm Administrator? But as we have expected by completing all the steps, these will not grant Farm Admin privileges on the server....

Monday, August 11, 2014

SharePoint 2013 workflow compiling error: Workflow XAML failed validation

While working with SharePoint workflow, I got compilation error in Start a task process activity. By clicking the error (clicking on the top “check errors button”) I don’t see any issues. When publishing the workflow I got the error saying that “Microsoft.Workflow.Client.ActivityValidationException: Workflow...

Sunday, August 10, 2014

SharePoint 2013 search refinement web part

One of the most powerful web parts in SharePoint 2013 to provide search refinement experience is Search refinement web part. Search refinement web part allows users to select to refine their search results to be list a subset of results. We can modify this web part to include the...

Issue with SharePoint custom workflow delay activity

While working with SharePoint custom workflow delay activity, Iam not able to run the code in delay activity. I have deleted and added new delay activity but it wasn’t worked. In general we can add user input after a particular time, we can go with delay activity in SharePoint custom workflow. Delay activity is broken in SharePoint 2007 as well as SharePoint 2010. To fix that...

Saturday, July 26, 2014

SharePoint migration – designer workflow runs twice every time

Migrating from SharePoint 2007 to 2013, SharePoint designer 2007 workflows migrated correctly and workflows are working as expected. We can’t use SharePoint 2007 list template directly to create the list templates. To do that we have to save the list as a template and need to use that template to create the list. In SharePoint 2007 site we had a workflow that sends email and...

Thursday, July 24, 2014

SharePoint Managed Accounts error: Managed Account could not be deleted because other objects depend on it.

After deleting all the service applications and managed account from SharePoint server by using following PowerShell commands, Get-SPManagedAccount | Where-Object {$_.UserName -eq "Domain\Username"} | Remove-SPManagedAccount By running the command I got an error saying that, Remove-SPManagedAccount : An object in the SharePoint administrative framework, “SPManagedAccount...

SharePoint – Delete Orphaned sites using PowerShell commands

We can delete the orphaned site in SharePoint environment that we are trying to provision the project server application. To remove orphaned site we have to un-provisioned and then delete the site. We can delete the site by using following PowerShell commands, Get SharePoint service application by using Get-SPServerviceApplication command We can see the list of GUID’s....

Wednesday, July 16, 2014

SSRS report – SharePoint list error: an error occurred when accessing the specified SharePoint list. The connection string might not be valid

While creating the report by using SharePoint list, I got an error saying that “an error occurred when accessing the specified SharePoint list. The connection string might not be valid” as shown the image below. I have checked all the possibilities for the error by changing...