Friday, February 11, 2011

FatalError: Cannot import site. Export / Import-SpWeb in SharePoint 2010

Error:
FatalError: Cannot import site. The exported site is based on the template STS#0 but the destination site is based on the template SPS#0. You can import sites only into sites that are based on same template as the exported site.


Import-SPWeb : Cannot import site. The exported site is based on the template STS#0 but the destination site is based on the template STS#1. You can import sites only into sites that are based on same template as the exported site.

Issue:-
In SharePoint 2010 when we use Powershell Commands to Export / Import site collections we get Site Template mismatch errors as now SP 2010 needs to have the same template for the site while importing which was used on the site exported.

In such scenarios when you have migrated from SPS 2003 -> MOSS 2007 -> SP 2010 there will be many old Site templates which are now Obsolete in SP 2010 and not available, due to which it will be very difficult to Import the site.

Resolution / Workaround:-
1. Central Admin -> Application Management -> Create Site Collection
2. During Template selection go to 'Custom' Tab -> Select Template Later.....
3. Run the Import-SpWeb command now and it should import the site collection without any issues.

As we are not selecting any template while creating a Site Collection, it automatically pics up the template which is using while importing the Site Collection.

Wednesday, February 9, 2011

Claims to Windows Token Service is not starting. SharePoint 2010

Issue:-
While trying to Start the "Claims to Windows Token Service" we get the error in ULS Logs.

02/03/2011 19:20:50.61 w3wp.exe (0x2714) 0x20D4 SharePoint Foundation Topology 7034 Critical An attempt to start/stop instance of service Claims to Windows Token Service on server did not succeed. Re-run the action via UI or command line on the specified server. Additional information is below. Cannot start service c2wts on computer '.'. bc9bf161-6959-4d80-8410-8b676810da70

Resolution:-
HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing
Value = State
Radix= decimal
Change the value to '146944' to disable CRL checking.

Thursday, January 27, 2011

FAST Search Server 2010 for SharePoint - Services not starting

Issue: After installation a fresh FAST Search Server 2010 for SharePoint (Single Node), 4 main Services were not getting started.

1. Browser Engine
2. SAM Admin
3. SAM Worker
4. QRProxy Service


Error:
Event ID: 7000
Error: 1297: A Privilege that the services requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the serivce configuration and the account configuration.

Troubleshoot:
1. Tried to the Article http://support.microsoft.com/kb/982261
2. That policy was already in place.
3. Checked the group membership of FASTSearchAdministrators group. Fast service account was already added.
4. Added the machine account domain\machine to the group, still did not work.
5. Checked if the user was able to make changes, add/delete items from registry key.

Resolution:
1. Added the Fast Service account domain\fastsrv to the local Group Policy "Increase a process working set"
http://technet.microsoft.com/en-us/library/dd349804(WS.10).aspx#BKMK_26

Total Pageviews