Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Full-Text index in an unusable state


Full-Text index in an unusable state

Author
Message
giles.clapham
giles.clapham
SSC-Enthusiastic
SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)

Group: General Forum Members
Points: 121 Visits: 433
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
Meet George Jetson
Meet George Jetson
SSCrazy
SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)

Group: General Forum Members
Points: 2637 Visits: 1393
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.
AlexSQLForums
AlexSQLForums
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1361 Visits: 2249
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
giles.clapham
giles.clapham
SSC-Enthusiastic
SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)SSC-Enthusiastic (121 reputation)

Group: General Forum Members
Points: 121 Visits: 433
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.
dkrizik
dkrizik
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 1
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search