Full-Text index in an unusable state

  • I'm trying to backup a database (1 of over 40 on the system) but it tells me:

    The backup of full-text catalog 'ftcat_documentindex_b3197133e0c44f0984521afefa2ff5f3' is not permitted because it is not online. Check errorlog file for the reason that full-text catalog became offline and bring it online.

    it is on line because I received a 1 when I ran:

    select DatabaseProperty(db_name(), 'IsFulltextEnabled')

    So I tried to rebuild it using:

    ALTER FULLTEXT CATALOG ftcat_documentindex_b3197133e0c44f0984521afefa2ff5f3

    REBUILD WITH ACCENT_SENSITIVITY=OFF;

    and got this error:

    Full-text catalog 'ftcat_documentindex_b3197133e0c44f0984521afefa2ff5f3' is in an unusable state. Drop and re-create this full-text catalog.

    I don't want to drop the full text index as it's got loads of tables indexed and if I recreated it I'm scared i will miss one out or one of the columns within.

    The other databases all have the same set up (they are MSCRM organisations so have the same schema) and they work/backup OK. (i can't see how to script their FT indexes other than script all the tables with the Full Text option on)

    Rebuilding the server is out of the question.

    So that's tehmess I've inherited and any thoughts and suggestions are very welcome.

    Giles

  • Have you checked out the following KB article?

    http://support.microsoft.com/kb/923355

    Chris Powell

    George: You're kidding.
    Elroy: Nope.
    George: Then lie to me and say you're kidding.

  • giles.clapham (1/27/2011)


    I don't want to drop the full text index as it's got loads of tables indexed and if I recreated it I'm scared i will miss one out or one of the columns within.

    Don't worry Microsoft CRM has only one table in Full-Text called DocumentIndex.

    You can easily recreate the FT catalog for it. Here is what you do.

    1.In your CRM DB (click +) go to Storage--->Full Text Catalogs---> (right click on) "ftcat_documentindex_bunchofnumbers" choose properties and then click on Tables/Views.

    2.Take a screen shot ( click PrintScreen/Sysrq Button top right corner of keyboard)

    3.Now open Microsoft Paint and paste it then save it. You'll come back to it later.

    4. Now Again (right click on) "ftcat_documentindex_bunchofnumbers" choose

    Script Catalog as--->Create to--->New Query Editor window.

    You will see SSMS will paste the code for creation of the catalog in a new window.

    5.Now (right click on) "ftcat_documentindex_bunchofnumbers" choose DELETE. Click OK.

    6.Now run that script which SSMS pasted.

    7.Then go back open that image which you took a screen shot of and again (right click on) "ftcat_documentindex_bunchofnumbers" choose properties and then click on Tables/Views.

    Here you choose the same table DocumentIndex and fields and that's it.

    8.Then go to Tables--->right click on DocumentIndex-->FULL Text Index-->click on start full population.

    Your FT index is ready.

    Alex S
  • Thanks Alex S, it's all so obvious now, only 1 table! I looked at the properties of the FT index in the other CRM databases and grabbed a screen shot of the index.

    Just encase there are people out there who don't have multiple organisations to review and can't open the properties the table was: dbo.DocumentIndex and the indexed columns were: keyWords, SearchText and Title.

    Thanks again.

  • Hi Alex,

    My customer is asking if there is any repurcussion with deleting the full text catalog for Dynamics CRM. Microsoft support has asked them if they use it, and they don't know. What is the full text catalog used for in Dynamics CRM, and is there an issue to deleting it?

    Thanks,

    Donna

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply