Microsoft Knowledge Base Email Alertz

You may receive the Property IsAccentSensitive is not available for FullTextCatalog '[CatalogName]' error message when you try to open a full-text catalog after you restore a database in SQL Server 2005

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 910067 - Last Review: March 5, 2008 - Revision: 2.1

Error message when you try to open a full-text catalog after you restore a database in SQL Server 2005: "Property IsAccentSensitive is not available for FullTextCatalog '[CatalogName]'"

SYMPTOMS

Consider the following scenario. In Microsoft SQL Server 2005, you restore a database from a backup. Then, you try to open a full-text catalog by using SQL Server Management Studio. In this scenario, you may receive the following error message:
Property IsAccentSensitive is not available for FullTextCatalog '[CatalogName]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo)
Additionally, when you try to query the information about the AccentSensitivity property of the full-text catalog by using the FULLTEXTCATALOGPROPERTY Transact-SQL function, you receive a null value. For example, you use a Transact-SQL statement that resembels the following statement to query the information about the AccentSensitivity property.
select FULLTEXTCATALOGPROPERTY('<CatalogName>','AccentSensitivity')
When you use this statement, you receive a null value. However, when you query the information about the AccentSensitivity property directly from the full-text catalog view, SQL Server returns the correct information. For example, you can use the following Transact-SQL statement to query the information.
select * from sys.fulltext_catalogs
This problem may occur when the following conditions are true:
  • You back up a database and then delete the database.
  • The database has a full-text catalog.
  • Before you restore the database, you create one or more databases. Therefore, the previous database ID is used by the newly created databases.

CAUSE

This problem occurs because SQL Server stores a wrong full-text catalog name for the existing full-text catalog when you restore the database.

WORKAROUND

To work around this problem, safely detach the restored database. Then, reattach the restored database. To do this, follow these steps:
  1. Open SQL Server Management Studio, and then connect to the instance of SQL Server 2005.
  2. Run the following statement to detach the database that contains the full-text catalog:
    sp_detach_db 'dbname'
    GO
    Note The placeholder dbname represents the name of the database.
  3. Reattach the database to reset the catalog ID. To do this, take one of the following actions, depending on where the full-text catalogs are located:
    • If the full-text catalogs are located in the default location, attach the database by specifying the path of the database file. For example, you can attach the database by running one of the following statements:
      • sp_attach_db dbname, 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\dbname_data.mdf'
        GO
      • CREATE DATABASE dbname ON 
        (FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\dbname.mdf') 
        FOR ATTACH
        GO
    • If the full-text catalogs are located in different locations, attach the database by specifying each catalog name together with the location of the catalog. For example, you can attach the database by running the following statement:
      CREATE DATABASE dbname ON 
      (FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\dbname_data.mdf'),
      (FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\dbname_log.ldf'), 
      --optional folder name of FTS catalog 1
      (FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\FTDATA\Catalog_1'),
      --optional folder name of FTS catalog 2
      (FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\FTDATA\Catalog_2')
      FOR ATTACH;
      GO

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

APPLIES TO
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Workgroup Edition
Keywords: 
kbsql2005fts kbexpertiseadvanced kbprb KB910067
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate