Search This Blog

Total Pageviews

Sunday, November 28, 2010

Microsoft FAST Search Administration – Unexpected error occurred while communicating with Administration Service

Microsoft FAST Search Administration – Unexpected error occurred while communicating with Administration Service

go to the Central Administration -> Security -> Configure Service Account.

Check the following Appl Pool running in which account.
1. FAST Content App Pool
2. FAST pool Administration Service
3. FASTPoolSearch Query

go to to the Fast Search Server "Local users and Groups"
Add those accounts in the group "FASTSearchAdministrators".


Did you Mean? - is not working in SharePoint Search

http://www.u2u.info/Blogs/Kevin/Lists/Posts/Post.aspx?List=6f246d9a-e4e7-4846-b776-f9a62112ffb7&ID=9

Check the following settings also this works for me...



Saturday, November 27, 2010

Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.5050' or later

SharePoint Restore Error: Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.5050' or later.
I had needed to move my dev environment from one Virtual machine to another. So I took backup from source server and tried to restore the backup in new server. However, I have got the error “Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.5050' or later.” I was totally confused as I had the same version of SharePoint in both server. Then I double checked the version and it was 14.0.4762.1000 for both servers.

Getting confused I googled and found that solution. This is a bug which is fixed by SharePoint 2010 August cumulative update. The updates are available in the following link:

For SharePoint Foundation http://support.microsoft.com/kb/2266423
For SharePoint Server http://support.microsoft.com/kb/2276339


After installing the updated the error gone…

Saturday, November 20, 2010

Sharepoint 2010 & Fast Pre-requisites

FAST 2010 - http://technet.microsoft.com/en-us/library/ff381270.aspx

SharePoint 2010:

Windows Server 2008 R2 FIX: A hotfix that provides a method to support the token authentication without transport security or message encryption in WCF is available for the .NET Framework 3.5 SP1 (http://go.microsoft.com/fwlink/?LinkID=166231)

Windows Identity Foundation for Windows Server 2008 R2 (http://go.microsoft.com/fwlink/?LinkID=166363)

• Microsoft Sync Framework v1.0 (http://go.microsoft.com/fwlink/?LinkID=141237)
• Microsoft Office 2010 Filter Packs (http://go.microsoft.com/fwlink/?LinkId=191851)
• Microsoft Chart Controls for Microsoft .NET Framework 3.5 (http://go.microsoft.com/fwlink/?LinkID=141512)
• Windows PowerShell 2.0 (http://go.microsoft.com/fwlink/?LinkId=161023)
• Microsoft SQL Server 2008 Native Client (http://go.microsoft.com/fwlink/?LinkId=166505)
• Microsoft SQL Server 2008 Analysis Services ADOMD.NET (http://go.microsoft.com/fwlink/?linkid=160390)
• KB979917 - QFE for Sharepoint issues - Perf Counter fix & User Impersonation (http://go.microsoft.com/fwlink/?LinkId=192577)
• For Windows Server 2008 R2, download the Windows6.1-KB979917-x64.msu (Win7) file.
• SQL Server 2008 R2 Reporting Services Add-in for Microsoft SharePoint Technologies 2010 (http://go.microsoft.com/fwlink/?LinkId=192588)
• Microsoft Server Speech Platform (http://go.microsoft.com/fwlink/?LinkID=179612)

Wednesday, November 17, 2010

Locations for SharePoint Server Ribbon’s

Locations for SharePoint Server Ribbon’s Document Tab,

Control Location Control Type
Ribbon.Documents.New GROUP
Ribbon.Documents.New.NewDocument SplitButton
Ribbon.Documents.New.AddDocument Menu
Ribbon.Documents.New.AddDocument.Upload.Upload Button
Ribbon.Documents.New.AddDocument.Upload.UploadMultiple Button
Ribbon.Documents.New.NewFolder Button

Ribbon.Documents.EditCheckout GROUP
Ribbon.Documents.EditCheckout.EditDocument Button
Ribbon.Documents.EditCheckout.CheckOut Button
Ribbon.Documents.EditCheckout.CheckIn Button
Ribbon.Documents.EditCheckout.DiscardCheckOut Button

Ribbon.Documents.Manage GROUP
Ribbon.Documents.Manage.ViewProperties Button
Ribbon.Documents.Manage.EditProperties Button
Ribbon.Documents.Manage.ViewVersions Button
Ribbon.Documents.Manage.ManagePermissions Button
Ribbon.Documents.Manage.Delete Button

Ribbon.Documents.Share GROUP
Ribbon.Documents.Share.EmailItemLink Button
Ribbon.Documents.Share.AlertMe FlyoutAnchor
Ribbon.Documents.Share.AlertMe.Menu Menu
Ribbon.Documents.Share.AlertMe.Menu.Scope.AlertSelection Button
Ribbon.Documents.Share.AlertMe.Menu.ManageAlerts.ManageAlerts Button

Ribbon.Documents.Copies GROUP
Ribbon.Documents.Copies.Download Button
Ribbon.Documents.Copies.SendTo FlyoutAnchor
Ribbon.Documents.Copies.ManageCopies Button
Ribbon.Documents.Copies.GoToSourceItem Button

Ribbon.Documents.Workflow GROUP
Ribbon.Documents.Workflow.ViewWorkflows Button
Ribbon.Documents.Workflow.Publish Button
Ribbon.Documents.Workflow.UnPublish Button
Ribbon.Documents.Workflow.Moderate Button
Ribbon.Documents.Workflow.CancelApproval Button

Ribbon.Documents.QuickSteps GROUP

Ribbon.Documents.FormActions GROUP
Ribbon.Documents.FormActions.RepairItems Button
Ribbon.Documents.FormActions.RepairAllItems Button
Ribbon.Documents.FormActions.MergeDocuments Button

Monday, November 1, 2010

very good alternate to RunWithElevatedPrivileges

Scenario:
You might want to impersonate a specific WSS user identity before creating a new object so that WSS user is recognized as the owner of the new object.
In order to impersonate a WSS user identity, you must first create an SPUserToken object. You can do this by accessing the UserToken property of an SPUser object. Once you have the SPUserToken object, you can use it to create a new SPSite object using an overloaded version of the SPSite class constructor.

Solution:
This is a very good alternate to RunWithElevatedPrivileges.

Code:
1. SPWeb siteCollection = SPContext.Current.Site;
2. SPWeb site = SPContext.Current.Web;
3.
4. // get SPUser object and acquire token
5. SPUser targetUser = site.SiteUsers[@"LITWAREINC\BrianC"];
6. SPUserToken token = targetUser.UserToken;
7.
8. // create new SPSite and SPWeb object to impersonate user
9. using (SPSite impersonatedSiteCollection =
10. new SPSite(siteCollection.ID, token)) {
11. using (SPWeb impersonatedSite =
12. impersonatedSiteCollection.OpenWeb(site.ID)) {
13. // WSS identity switched to impersonate BrianC
14. // Windows identity does not change
15. }
16. }
Article: http://msdn.microsoft.com/en-us/magazine/cc163287.aspx