Archive | SharePoint2010 RSS feed for this archive

Search service is not able to connect to the machine that hosts the administration component


  I was getting the error in my server farm for search. I had deleted the search service application and created multiple times. Checked on the service application admin and query account and application pool settings. everything looked good all the times but search application. Ran the configuration wizard restart the server. also on the […]

User Display Name shows “i:0#.f|” using LDAP membership provider for FBA gives you –No Fix from MS Support


We had a MS Support case for the display names not showing up correctly for accounts in the Forms Auth using the LDAP membership provider. Believe me whatever you do its not picking it up from Active Directory User Display Name instead the user display name is like i:0#.f|mName|accountname mName = membershipprovideraliasinCentralAdmin accountname = account […]

SharePoint 2010: Create Custom Login page with persistent cookies


At my current client we are using FBA ( Forms Based Authentication) with LDAP membership provider. The issue was the users were prompted the login page( Dual Authentication) while opening Office documents( Office Client) , something below with setting in Web Application to default sign in page.   Some history on the issue and need […]

Creating site collection in forms based authentication: SharePoint Server 2010


I was trying to create a site collection on a forms based authenticated(claims based authentication) web application and was getting an error “User not found” New-SPSite http://test/ -Name "Test" -ContentDatabase WSS_Content_Test -Template "STS#1" –OwnerAlias “cgptsharepointadmin” Issue: OwnerAlias was incorrect for the forms based authentication users. Solution: 1) Run the powershell command Get-SPUser and as you […]

Switching authentication claims/classic for a SharePoint Server 2010 Web Application for Project Server 2010


I was switching authentication from claims to classic authentication for a Project Server 2010 site. I had used PowerShell but there were caveat to the script SOLUTION as there had to be some manual steps to switch authentication . See the PowerShell below: $webApp = Get-SPWebApplication "http://vm-dev6:40932/" $webApp.UseClaimsAuthentication = $False; $webApp.Update() iisreset Manual Steps 1: […]

Services Configuration for a small SharePoint 2010 Server Farm


Farm Configuration Wizard         Once you have clicked on Launch the Farm Configuration wizard, use the service account serviceadmin for running all the service applications as below.     Click Next to continue to the next screen…The next screen you see is to create a site collection     You can skip […]

Installing SharePoint 2010 Server in a small farm environment


I had 2 virtual machines loaded on Hyper-V as VM-DEV5 and VM-DEV6. VM-DEV5 was used for Active Directory and Databases and VM-DEV6 was SharePoint 2010( APP and WFE) Active Directory :VM-DEV5 Roles can and should be added from Server Manager (but they can also be initiated from the Initial Configuration Tasks wizard that auto-opens the […]

Adding an external DLL/assembly in Visual Studio 2010 SharePoint Project


I wanted to consume a few dll’s and wanted them to be deployed to GAC and was thinking if Visual Studio 2010 has this feature for deploying external dll’s from the same Visual Studio SharePoint project. Solution: Go to Package explorer and double click on the package Click on the Advanced Tab on the bottom […]

SharePoint 2010: Event Receivers Part 1- Create Event Receiver for Content Types


Creating Event receivers in SharePoint is a very common task With the new Visual Studio 2010, its more easy than before though you could do same with WSP builder in SharePoint 2007. Also the VSEWSS provided a few templates that could be used. Lets look at what has changed and what hasn’t changed in SharePoint […]

SharePoint 2010: Event Receivers Part 2- Create Event Receiver for Content Types


Hello Folks from the Part 1 I left you all with the GUID to indentify how we would register the Event Receiver with a content type. I will keep this short and crisp. When we had added the EventReceiver it created a feature to deploy “MyCustomEventReceiver”. See below and we would remove the “MyCustomEventReceiver” from […]