Re: HELP - Storing Full Text Catalog to Different Location



Dino,
Well, the error message is clear "Access is denied to 'C:\Documents and
Settings\username\MyDocuments', or the path is invalid."
Did you try using sp_fulltext_catalog and create a FT Catalog using the same
path? or perhaps specifically reference 'C:\Program Files\Microsoft SQL
Server\Mssql\Ftdata' enclosed in double quotes? Do the folders "username"
or "MyDocuments" exist?

SQL Server BOL title "sp_fulltext_catalog" for the path states
"[@path =] 'root_directory'
Is the root directory (not the complete physical path) for a create action.
root_directory is nvarchar(100) and has a default value of NULL, which
indicates the use of the default location specified at setup. This is the
Ftdata subdirectory in the Mssql directory; for example, C:\Program
Files\Microsoft SQL Server\Mssql\Ftdata. The specified root directory must
reside on a drive on the same computer, consist of more than just the drive
letter, and cannot be a relative path. Network drives, removable drives,
floppy disks, and UNC paths are not supported. Full-text catalogs must be
created on a local hard drive associated with an instance of Microsoft® SQL
ServerT.

@path is valid only when action is create. For actions other than create
(stop, rebuild, and so on), @path must be NULL or omitted."


Hope that helps!
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/



"Dino Buljubasic" <dino@xxxxxxxxxxxxxxxxxxx> wrote in message
news:fs05f1lapksvfr4i0lgot578hubm1te3gj@xxxxxxxxxx
> Hi,
>
> I am building a database install aplication that among all other
> stuff, creates and populates full-text catalogs for my database.
>
> All this is done in VB.net and SQL Server 2003
>
> My application works fine, here is the come sample:
>
> oSQLServer = CreateObject("SQLDMO.SQLServer")
> oSQLServer.connect(strServer, strUserID, strPassword)
>
> ' enable full-text indexing for provided database
> oSQLServer.Databases(strDBName).EnableFullTextCatalogs()
>
> ' create full text catalog and add it to the collection
> Dim strFullTextCatalogName As String
>
> strFullTextCatalogName = strCatalogPrefix & "_documenttitle"
> oFullTextCatalog = CreateObject("SQLDMO.FullTextCatalog")
> oFullTextCatalog.Name = strFullTextCatalogName 'name
> oFullTextCatalog.RootPath = strCatalogPath 'location
>
>
> ' create full-text catalog on the server and add it to
> ' the collection of full-text catalogs
>
> oSQLServer.databases(strDBName).fulltextcatalogs.add(oFullTextCatalog)
>
> However, I get an System.Runtime.InteropServices.COMException
> exception with additional information as:
>
> Additional information:[Microsoft][ODBC SQL Server Driver][SQL
> Server]Access is denied to 'C:\Documents and
> Settings\username\MyDocuments', or the path is invalid. Full-text
> search was not installed properly.
>
> The path to which access is denied is the value of my variable
> strCatalogPath that I assign to my full-text catalog RootPath
> property. (see code sample above)
>
> How can I fix this error. Please help.
>
> Any help will be appreciated,
> _dino_


.



Relevant Pages

  • Re: Question on partitioning indexes
    ... We can't seperate the catalog onto a different drive as we only have a RAID5 ... setup with 6 physical drives and one logical drive. ... see SQL Server 2000 BOL title "Full-Text Search ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Performance problems -- need guidance on scaling
    ... by caching queries I mean caching the search results so when a search on ... the search would be directed to the catalog. ... Looking for a SQL Server replication book? ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Performance problems -- need guidance on scaling
    ... So we're now CPU ... I have read that putting the catalog and SQL table on separate RAID ... Our current server will support only a single CPU. ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Locks & FT Catalogs
    ... Director of Text Mining and Database Strategy ... Looking for a SQL Server replication book? ... in the 6 hours after that either) leaving that catalog completely unusable ... synchronise their changes from staging to live (or vice versa to roll ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Benchmark for Full Text Search
    ... We ended up breaking the database into smaller databases of about 50 million rows. ... Searches were directed against each database - each db had a single catalog and a single sql fts index. ...
    (microsoft.public.sqlserver.fulltext)