FAST Search Server backup | Cannot find type [Microsoft.SqlServer.Management.Smo.Server]


If you have attempted a backup of your FAST Search Server 2010 for SharePoint (according to the documentation) PowerShell you may receive the following error “Cannot find type [Microsoft.SqlServer.Management.Smo.Server]”

Cannot find type [Microsoft.SqlServer.Management.Smo.Server]

In our case we are using SQL Server 2008 R2 so the files we require are part of the Microsoft SQL Server 2008 R2 Feature Pack and we need to download the following components (install in order listed):

  • Microsoft System CLR Types for SQL Server 2008 R2
  • Microsoft SQL Server 2008 R2 Shared Management Objects
  • Microsoft Windows PowerShell Extensions for SQL Server 2008 R2

Once they have been installed you can rerun your backup script and the result should be as displayed below.

.\backup.ps1 –action full –backuppath <path of backup store(s)>

The commands being execute in the PowerShell window above are as follows:

.\backup.ps1 –action full -force –backuppath <path of backup store(s)>

If you receive an error regarding connecting to remote server, make sure PowerShell remoting is enabled by executing the following command:

PS D:\FASTSearch\bin> Enable-PSRemoting

About wesmacdonald

Wes MacDonald is a Visual Studio ALM MVP, PSD, MCT and a Principal Consultant for LIKE 10 INC., a SharePoint Server, Visual Studio and Team Foundation Server Consulting Firm providing premium support and guidance services.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: