Re: sp_fulltext_table with SQL Server Agent - permissions problem?
- From: "edwaldo" <edwaldo@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Jul 2005 03:57:02 -0700
Thanks for your help.
The error message I'm getting in the logs is:
SQL Server Scheduled Job 'hm_build_ft' (0xC0B499F8F5AD3047803EC1417DC293A7)
- Status: Failed - Invoked on: 2005-07-19 01:35:37 - Message: The job failed.
The Job was invoked by User CIHWEBSQL\Edward. The last step to run was step
1 (drop_rebuild).
These are the (abbreviated) results of sp_help 'item':
Name Owner Type Created_datetime
item dbo user talbe 2005-07-12 19:53
Column_name Type Computed Length Prec Scale Nullable
item_id decimal no 9 18 0 no
TrimTrailingBlanks FixedLenNullInSource Collation
n/a n/a NULL
Identity Seed Increment Not for Replication
item_id 1 1 0
RowGuidCol
No rowguidcol column defined
Data_located_on_filegroup
PRIMARY
index_name index_description
PK_item clusered, unique, primary key located on PRIMARY
index_keys
item_id
constraint_type contraint_name
PRIMARY KEY (clustered) PK_item
delete_action, update_action, status_enabled, status_for_replication = n/a
constraint_keys
item_id
I have tried to create SQL FTS on the pubs database but the problem is the
same:
USE pubs
EXEC sp_fulltext_database 'enable'
USE pubs
EXEC sp_fulltext_catalog 'ft_temp','create'
USE pubs
EXEC sp_fulltext_table 'authors',
'drop'
USE pubs
EXEC sp_fulltext_table 'authors', 'create', 'ft_temp', 'PK_authors'
It creates the catalog but I don't get any further. Any help would be
greatly appreciated.
Thanks again,
ed
"Hilary Cotter" wrote:
> This should work - what is the error message you are getting?
>
> Also can you issue an sp_help 'item' and post the results back here?
>
> Could you also try to create a full text index on the authors table in the
> pubs database on db2 to see if SQL FTS works there?
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
>
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> "edwaldo" <edwaldo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:6AA24EB4-EE58-45EB-80E6-0B37BBF65336@xxxxxxxxxxxxxxxx
> > Hi,
> >
> > I have two databases on separate servers - db1 & db2.
> >
> > I use DTS to copy the tables from db1 to db2 overnight. Then I want to
> > recreate the fulltext catalog on one of the tables in db2 using a SQL
> > Server
> > Agent job to run sp_fulltext_table:
> >
> > USE hm2
> > EXEC sp_fulltext_database 'enable'
> >
> > USE hm2
> > EXEC sp_fulltext_catalog 'ft_item', 'drop'
> >
> > USE hm2
> > EXEC sp_fulltext_catalog 'ft_item', 'create'
> >
> > USE hm2
> > EXEC sp_fulltext_table 'item', 'create', 'ft_item', 'item_id'
> >
> > This is where is fails (I think).
> >
> > The table I'm fulltext indexing has a primary key column defined (NOT
> > NULL).
> > When the overnight copy runs, the table is created under dbo, and the sql
> > agent job is running as dbo. I have BUILTIN\Administrators setup with the
> > correct permissions.
> >
> > Is this likely to be a permissions problem?
> >
> > Many thanks,
> >
> > ed
> >
> >
>
>
>
.
- Follow-Ups:
- Re: sp_fulltext_table with SQL Server Agent - permissions problem?
- From: Hilary Cotter
- Re: sp_fulltext_table with SQL Server Agent - permissions problem?
- References:
- sp_fulltext_table with SQL Server Agent - permissions problem?
- From: edwaldo
- Re: sp_fulltext_table with SQL Server Agent - permissions problem?
- From: Hilary Cotter
- sp_fulltext_table with SQL Server Agent - permissions problem?
- Prev by Date: Re: sp_fulltext_table with SQL Server Agent - permissions problem?
- Next by Date: Re: Fulltext search always returns no results.
- Previous by thread: Re: sp_fulltext_table with SQL Server Agent - permissions problem?
- Next by thread: Re: sp_fulltext_table with SQL Server Agent - permissions problem?
- Index(es):
Relevant Pages
|