Archive for June, 2013

June 17, 2013

A SharePoint server is not installed on this computer.

After installing Visual Studio 2012, I tried to create a new share point project using Visual Studio 2012.  So was getting the error “A SharePoint server is not installed on this computer. A SharePoint server must be installed to work with SharePoint projects“. Once you execute the following powershell command, it will set the registry values for the “HKLM:\Software\Microsoft\Shared Tools\web server extensions\14.0\”.

Set-ItemProperty -Path "HKLM:\Software\Microsoft\Shared Tools\web server extensions\14.0\" -Name "Location" -Value "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\"
Tags:
June 17, 2013

Remove “View All Site Content” link from quick launch – Sharepoint 2013

if you want to remove the “View All Site Content” link from the quick launch navigation, just comment out the following code from your master page.

<hr /><SharePoint:ClusteredSPLinkButton ID="idNavLinkViewAllV4" runat="server" Permissions="ViewFormPages" NavigateUrl="~site/{0}/viewlsts.aspx" Text="&lt;%$Resources:wss,quiklnch_allcontent_short%&gt;" accesskey="&lt;%$Resources:wss,quiklnch_allcontent_AK%&gt;" CssClass="ms-core-listMenu-item" />