Visual Studio Connection Error to SharePoint

The error is caused be the logged-in account having insufficient rights against the SharePoint databases.

http://sharethelearning.blogspot.sg/2010/05/sharepoint-connection-error-in-visual.html

Advertisements

Sign in as Different User” in SharePoint 2013

One of features used in testing of permissions in SharePoint is “Sign in as Different User” which allows you to log in as an another user.  With SharePoint 2013 this option is missing.

To get this feature back follow the following steps :

  1. Locate and then open the following file in a text editor:  C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx
  2. Add the following element before the existing “ID_RequestAccess” element:

    <SharePoint:MenuItemTemplate runat=”server” ID=”ID_LoginAsDifferentUser” Text=”<%$Resources:wss,personalactions_loginasdifferentuser%>” Description=”<%$Resources:wss,personalactions_loginasdifferentuserdescription%>” MenuGroupId=”100″ Sequence=”100″ UseShortId=”true” />

  3. Save the file.

Microsoft has published a KB article on the same : http://support.microsoft.com/kb/2752600.

Thanks to Roshan Microsoft

http://blogs.msdn.com/b/sharepoint__cloud/archive/2012/12/20/where-is-quot-sign-in-as-different-user-quot-in-sharepoint-2013.aspx

SharePoint 2013: managing Licensing

Introducing the User Licensing Features in SharePoint 2013 Preview

In SharePoint 2013 Preview there are eight new Windows PowerShell cmdlets, that we are going to cover in this post:

  • Get-SPUserLicensing
  • Enable-SPUserLicensing
  • Disable-SPUserLicensing
  • Get-SPUserLicense
  • Get-SPUserLicenseMapping
  • New-SPUserLicenseMapping
  • Add-SPUserLicenseMapping
  • Remove-SPUserLicenseMapping

1. http://www.wictorwilen.se/sharepoint-2013-a-look-at-the-new-options-for-managing-users-and-their-licensing

2. http://talbottcrowell.wordpress.com/tag/sharepoint-server-2013-enterprise/

.NET Framework Error 4.5.50709 on VS 2012 install in Win 2012 RC

1. Open the Explorer and navigate to C:\Windows. Right click on regedit.exe and click Properties.

2. Go to Security tab page and click Advanced button.

3. Click the Change (from the second line – Owner) and in the following textbox write Administrators and click OK. Click the Apply button from bottom right area.

4. From the users list select Administrators and click Edit. Grant Full Control and Save. Apply.

5. Make sure all changes are applied.

6. Now, right click on regedit.exe and Run as Administrator.

7. Navigate to the node (as in the image )and right click on the Full folder and click for Permissions.

Regedit

8. Go to Advanced area (click Advanced from the bottom) and make sure the Owner is “Administrators” and not “TrustedInstaller”. Otherwise, make the change, give the “Administrators” user full control and apply the settings.

9. Now you should be able to change the version number.

10. After all these steps you can run the Visual Studio 2012 Express installer.