Archive for the ‘Tips and Tricks’ Category

Tip – Get SharePoint Version Number

Tip – Find SharePoint Version Number Give the SharePoint url with “_vti_pvt/service.cnf” which shows the current version of SharePoint site. In the below example “http://app1:42466” is my SharePoint 2013 dev site http://app1:42466/_vti_pvt/service.cnf SharePoint Build Numbers list https://blogs.technet.microsoft.com/steve_chen/sharepoint-2013-build-numbers-and-cus/#Build  Powershell script to display versions and language packs https://blogs.technet.microsoft.com/stefan_gossner/2015/04/20/powershell-script-to-display-version-info-for-installed-sharepoint-product-and-language-packs/ Email this page

February 9, 2016 · Adi · No Comments
Posted in: Sharepoint 2010, SharePoint 2013, SharePoint 2016, Tips and Tricks

Deploy dll to GAC using Powershell

Deploy dll to GAC Following snippet will help to add dll to GAC using powershell. The above snippet will add TestApp.dll to GAC. To remove dll from GAC, use $publish.GacRemove Enterprise Services Class Email this page

February 9, 2016 · Adi · No Comments
Posted in: Asp.Net, Powershell, Sharepoint 2010, SharePoint 2013, SharePoint 2016, Tips and Tricks

Tip – Disable mobile master page in asp.net

Tip – Disable mobile master page in asp.net In most of the web applications currently, they are designed with responsive css in mind. So, one master page is enough. Asp.net switches to mobile master page (site.mobile.master) automatically when viewed in mobile. How to disable that? Email this page

November 10, 2014 · Adi · 5 Comments
Tags: , ,  · Posted in: C#, Tips and Tricks

Tip – Using F3 key in PowerShell

Tip – Using F3 key in PowerShell window Pressing the F3 function key in the console window displays the last-executed statement on the current prompt line. Using the up and down arrows, you can page through the other previous statements. This is useful for repeating or correcting previous command entries. Email this page

December 7, 2013 · Adi · No Comments
Tags: , ,  · Posted in: Powershell, Sharepoint 2010, SharePoint 2013, Tips and Tricks

Tip – Timer Job Service in SharePoint

Tip – Timer Job Service At certain times on redeploying your source code for an already existing timer job, you may find that your changes are not getting reflected. To resolve the issue you can restart the Timer Service from the Windows Services Management console (services.msc) or quick way to do is by command Email […]

November 2, 2013 · Adi · No Comments
Tags: , , ,  · Posted in: C#, Sharepoint 2010, Tips and Tricks

Tip – Timer Job Constructor in SharePoint

Tip – Timer Job Constructor Default constructor in timer job class is mandatory else you end up with the error “TimerJobxxx cannot be deserialized because it does not have a public default constructor.” when activating the feature that installs the job. You should have constructor like below code Email this page

November 2, 2013 · Adi · No Comments
Tags: , ,  · Posted in: C#, Sharepoint 2010, Tips and Tricks

Tip – SharePoint Tracing

Tip – SharePoint Tracing During the development it is very common for us to check what is the exception in the log file. But, by the time we open the file the log data will overwhelmed with many messages. Especially the trick I follow in Dev environment is, when I get exception I will immediately […]

October 31, 2013 · Adi · No Comments
Tags: , , , ,  · Posted in: Sharepoint 2010, Tips and Tricks

Sharepoint Tip – Delete site along with subsite

Tip – Deleting site along with subsite SharePoint will give error You can’t delete a site that has subsites when we try deleting a site having subsites. Good tip to overcome this and delete the site along with subsites is using Site content and structure Email this page

July 5, 2013 · Adi · No Comments
Tags:  · Posted in: Sharepoint 2007, Sharepoint 2010, SharePoint 2013, Tips and Tricks

Keyboard shortcuts for SharePoint usage – Part 2

Introduction This is the second part of some useful SharePoint shortcuts. You can watch the Part 1 here Cool SharePoint keyboard shortcuts-Part2 Skill Level – Medium Email this page

June 18, 2013 · Adi · No Comments
Tags: , ,  · Posted in: Sharepoint 2007, Sharepoint 2010, Tips and Tricks

Visual Studio Tip – Working file location

Tip – working file location in visual studio solution explorer When we are working on a file in Visual Studio project, it will be really annoying when have to search the file among all projects we have in the solution. Visual studio has a setting which will highlight your current page in the solution explorer. […]

December 17, 2012 · Adi · No Comments
Posted in: General, Sharepoint 2007, Sharepoint 2010, SharePoint 2013, Tips and Tricks, Visual Studio 2011