DevOps Technology Blog | SharePoint

How to create WSP Package in Sharepoint 2013 by Visual Studio 2013?

by XDK 13. October 2015 18:19

Solution:

Right click your project. Then click "Publish".

 

Choose the location to Publish your WSP file.

Clicking "Publish".

Tags:

SharePoint

User cannot upload the .SWF file in Share Point 2010

by XDK 4. February 2015 12:27

Exception:

"Error: Access Denied" appears. User cannot upload the .SWF file". 

Explanation:

Users with contributor permissions are prevented from uploading files with extensions ASPX,MASTER,XAP,SWF,JAR,ASMX,ASCX,XSN and XSF

Solution:

1. Provide "design" permission to the users trying to upload the restricted extensions
2. These restricted extensions are listed in the WebFileExtensions property of the WebApplication. The WebFileExtensions property can be programatically edited as follows

  PowerShell script to list the WebFileExtensions property            

$WebApp = Get-SPWebApplication https://<SharePoint Site Collection URL>/
$Extensions = $WebApp.WebFileExtensions
$Extensions | ForEach-Object {Write-Host $_}

PowerShell script to remove the .swf restriction from the WebFileExtensions property
$WebApp = Get-SPWebApplication http://<SharePoint Site Collection URL>/
$Extensions = $WebApp.WebFileExtensions $Ext = $Extensions.Remove("swf") $WebApp.Update()
 

Tags:

SharePoint

Unable to process the request. wait a few minutes and try performing this operation again

by XDK 30. October 2014 09:03

Explanation:

Encountering the issue of an error message when we double click on a file in SharePoint to open just for viewing.

Solution:

To fix the issue, enable the following setting in the sharepoint library settings.

Tags:

SharePoint

SharePoint Client-Side Object Model ClientContext.Load method cannot be loaded.

by XDK 11. September 2013 11:59

Exception:

'Microsoft.SharePoint.Client.ClientContext' does not contain a definition for 'Load' and no extension method 'Load' accepting a first argument of type 'Microsoft.SharePoint.Client.ClientContext' could be found (are you missing a using directive or an assembly reference)

Explantion:

I got the above exception while using 'Microsoft.SharePoint.Client.ClientContext' load method in my share point web part project. Adding Microsoft.SharePoint.Client.Runtime.dll to project assembly references resolved the errors. The reason for the load method error is as follows

  • ClientContext inherits from ClientRuntimeContext
  • ClientContext is defined in Microsoft.SharePoint.Client.dll
  • ClientRuntimeContext is defined in Microsoft.SharePoint.Client.Runtime.dll
  • ClientRuntimeContext defines the Load method

Soultion:

Add Microsoft.SharePoint.Client.Runtime.dll along with Microsoft.SharePoint.Client.dll to project assembly references.

Tags:

SharePoint Development | Team Foundation Server | SharePoint

tf400731: Only one Catalog resource of type 'Project Portal' can exist under 'Team Project'.

by XDK 20. June 2013 13:14

Solution:

1. Remove the existing portal setting for team project as shown in the screenshort
2. Execute the following command to create a team project site

TFPT.EXE addprojectportal /collection:http://<server>:<port>/tfs/<TeamProjectCollection>

* /teamproject:<TeamProject> /processtemplate:"Microsoft Visual Studio Scrum 2.2"

 

Tags: , ,

SharePoint | TFS 2010 | TFS 2012

About the author

My name is Xavier Dilip Kumar Jayaraj having 13+ years of IT experience which includes solid experience and depth Knowledge in Application Life Cycle Management, Configuration Management, Implementation and Support using TFS on-premises and Azure DevOps. I have invested in gaining DevOps knowledege to expertise with Cloud Computing providers namely Microsoft Azure and Amazon Web Services in recent years. I am very positive to learn and adapt emerging technologies to client’s environment.

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs

DevOps Tools

ALM tools:
Azure DevOps
IBM Rational
CA Agile Central-Rally
CollabNet VersionOne

Configuration tools:
• Puppet
• CHEF
• AWS OpsWorks
• Ansible

Build automation tools:
Apache Ant 
Apache Maven
Boot
Gradle
Grunt
MSBuild
Waf

Continuous Integration tools:
Bamboo
Buildbot
Hudson
TeamCity

Testing tools:
Selenium
Watir
Wapt
ApacheJMeter
QTest

Version control system tools:
Subversion
Team Foundation Server
GIT
Mercurial
Perforce

Code review tools:
Crucible
Gerrit
GitHub
Bitbucket Server

Continuous Delivery/release management tools:
XL Release
ElectricFlow
Serena Release
Octopus Deploy