I forgot to mention that with the 'database snapshot' sync_method option,
"Raymond Mak [MSFT]" <rmak@online.microsoft.com> wrote in message
news:uYgbMLyXGHA.1348@TK2MSFTNGP05.phx.gbl...
> Kevin,
>
> The cause of your problem is that with concurrent snapshot (default for
> SQL2005) processing, unique constraints that full-text indexes depend upon
> can not be created until the end of what we call the reconciliation phase
> some time after all the snapshot files have been applied as uniqueness
> constraints are not guaranteed to hold during the reconciliation phase.
> This is indeed a bug in our product and we appreciate that you have taken
> the effort to report this. It would be great if you can log a bug at
>
http://lab.msdn.microsoft.com/productfeedback/ although I have to say that
> at this moment a general fix for the issue looks pretty impossible to me.
> In the mean time, you can work around the problem by doing one of the
> following:
>
> 1) If you know that your schema objects (VW|FN|SP) depend upon your tables
> and not the other way around, you can separate your schema objects into a
> different publication instead. (Or you simply can separate the ones using
> fulltext functions)
> 2) You can disable concurrent snapshot processing by executing
> sp_changepublication '<yourpublicationname>', 'sync_method', 'native' at
> the publisher database although shared locks will be taken out on your
> tables for relatively long period of time when snapshot generates.
> 3) At the risk of getting myself into trouble but given that nobody ever
> wants locks to be taken out on their tables, you can also change the
> sync_method of your publication to the undocumented|unofficial|unsupported
> option of 'database snapshot' if you are running the *Enterprise* Edition
> of SQL Server 2005 at your publisher. This will give you the low locking
> overhead of concurrent snapshot processing without invoking the rather
> complicated code path (including this bug) that concurrent snapshot
> processing entails. Just to make you feel more comfortable with this
> option, we do have a full pass of existing tests on it and I have written
> a rather extensive test suite for the feature. And speaking strictly from
> the perspective of a computer programmer, I definitely prefer the
> simplicity of the database snapshot option over the trickier concurrent
> snapshot mechanism that we have been offering.
>
> Since I am probably in trouble anyway, I would appreciate if you can log a
> DCR at
http://lab.msdn.microsoft.com/productfeedback/ to get the
> 'database snapshot' sync method option exposed officially if that works
> well for you.
>
> -Raymond
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
> "Kevin Antel" <kevina@cqlcorp.com> wrote in message
> news:ucWBUvuXGHA.3532@TK2MSFTNGP05.phx.gbl...
>> Procedures.
>>
>> /******************************************************************************
>> * Performs a full-text search using the supplied full-text CONTAINS
>> clause.
>> *****************************************************************************/
>> CREATE PROCEDURE "dbo"."s_ItemSearch"
>> @FullTextDepartmentID INT,
>> @InventoryContextDepartmentID INT,
>> @FullTextContains VARCHAR(1000)
>> AS
>>
>> /******************************************************************************
>> * Don't allow peering into other department's
>> (Transaction sequence number: 0x0001608C000004BE018600000000, Command ID:
>> 1298)
>>
>> Error messages:
>>
>> Cannot use a CONTAINS or FREETEXT predicate on table or indexed view
>> 'ItemFullText' because it is not full-text indexed. (Source: MSSQLServer,
>> Error number: 7601)
>> Get help: http://help/7601
>>
>> Cannot use a CONTAINS or FREETEXT predicate on table or indexed view
>> 'ItemFullText' because it is not full-text indexed. (Source: MSSQLServer,
>> Error number: 7601)
>> Get help: http://help/7601
>>
>>
>> "Raymond Mak [MSFT]" <rmak@online.microsoft.com> wrote in message
>> news:%23VByB0lXGHA.4484@TK2MSFTNGP02.phx.gbl...
>>> Are you replicating a view, function, or computed column referencing a
>>> fulltext function such as CONTAINS() or FREETEXT()?
>>>
>>> "Kevin Antel" <kevina@cqlcorp.com> wrote in message
>>> news:OMmqjvlXGHA.1348@TK2MSFTNGP05.phx.gbl...
>>>> Sure, the first error I got was:
>>>>
>>>> 2006-04-12 15:34:28.046 Category:NULL
>>>> Source: Microsoft SQL Native Client
>>>> Number: 7616
>>>> Message: Full-Text Search is not enabled for the current database. Use
>>>> sp_fulltext_database to enable full-text search for the database. The
>>>> functionality to disable and enable full-text search for a database is
>>>> deprecated. Please change your application.
>>>>
>>>> Which, performing the sp_fulltext_database 'enable' fixed, but then the
>>>> snapshot wasn't creating the indexes on the individual tables, so I
>>>> started to see the following error:
>>>>
>>>> 2006-04-12 15:36:02.421 Category:NULL
>>>> Source: Microsoft SQL Native Client
>>>> Number: 7601
>>>> Message: Cannot use a CONTAINS or FREETEXT predicate on table or
>>>> indexed view 'ItemFullText' because it is not full-text indexed.
>>>>
>>>> Once I created the indexes and put them in the full text catalog,
>>>> replication started working.
>>>>
>>>> "Raymond Mak [MSFT]" <rmak@online.microsoft.com> wrote in message
>>>> news:uSseVllXGHA.4120@TK2MSFTNGP03.phx.gbl...
>>>>> Hi Kevin,
>>>>>
>>>>> If possible, can you check the history of snapshot agent? It may point
>>>>> out why the snapshot agent thinks certain fulltext indexes cannot be
>>>>> scripted due to (what it thinks are) conflicting settings in the
>>>>> publication. I agree that having to call sp_fulltext_database 'enable'
>>>>> ahead of time in the subscriber database is unpleasant, but the
>>>>> initial thinking behind not doing so automatically is driven by the
>>>>> off-by-default initiative so we wanted the user to make the explicit
>>>>> decision for enabling fulltext index in the subscriber database. That
>>>>> said, I am now leaning towards just enabling fulltext indexing in the
>>>>> subscriber database automatically as not doing so seems to yield very
>>>>> little security benefit while causing substantial user pain.
>>>>>
>>>>> -Raymond
>>>>>
>>>>> "Kevin Antel" <kevina@cqlcorp.com> wrote in message
>>>>> news:OvqjwVlXGHA.4120@TK2MSFTNGP03.phx.gbl...
>>>>>>I can try to get the error, basically, I manually created the indexes,
>>>>>>and the problem went away. I deleted the subscriber database, created