locked
How to recreate ftcat_documentindex_ full text catalog in CRM 4.0 RRS feed

  • Question

  • Hi,

    I am dealing with the situation where the ftcat_documentindex_<32characterguidnodashes> full text catalog was deleted in a CRM 4.0 database.   What is the recommended way to recreate this catalog? Can I simply create another one myself?  If so, I could refer to another CRM 4.0 database to know which tables and columns to add to the catalog, and give it a similar name (hopefully the name isn't significant as I don't know the exact 32 character guid appended to its name was).  Or is there a system administration tool that can recreate this full text catalog for me?

    Any help would be very much appreciated.  Thanks,

    Alan
    Friday, November 6, 2009 5:19 PM

Answers

All replies

  • Hi Alan,
    Backup and delete full text indexing folder. Restore DBs and system will recreate FTI for you.
    My Dynamics CRM Blog: http://bovoweb.blogspot.com
    Friday, November 6, 2009 11:25 PM
  • Saturday, November 7, 2009 11:01 AM
  • Hi,

    Just to ensure that there are no indexes run the following code in SQL Server Manager:

    if (exists (SELECT name FROM sys.fulltext_catalogs where name = N'ftcat_documentindex') )
    begin
       DROP FULLTEXT INDEX ON DocumentIndex;
       DROP FULLTEXT CATALOG ftcat_documentindex
    end


    Then run the following code (replace <organisation> with your own organisation name):

    use <organisation>_MSCRM
    go
    exec sp_fulltext_database 'enable';exec sp_fulltext_catalog 'ftcat_documentindex', 'create';
    exec sp_fulltext_table 'dbo.documentindex', 'create', 'ftcat_documentindex', 'cndx_PrimaryKey_DocumentIndex';
    go
    exec sp_fulltext_column 'documentindex', 'Title', 'add';
    go
    exec sp_fulltext_column 'documentindex', 'KeyWords', 'add';
    go
    exec sp_fulltext_column 'documentindex', 'SearchText', 'add';
    go
    exec sp_fulltext_table 'documentindex', 'activate';
    go
    exec sp_fulltext_catalog @ftcat='ftcat_documentindex', @action='Rebuild';
    go
    exec sp_fulltext_catalog @ftcat='ftcat_documentindex', @action='start_full';
    go
    Henrik Jensen Instructor / Consultant MCP, MCAD, MCSD, MCTS, MCPD, MCITP, MBSS, MBSP, MCT www.crmblog.dk (Danish only)
    Tuesday, February 16, 2010 10:22 AM