Posts tagged ‘share’

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\"