RE: HELP - Storing Full Text Catalog to Different Location
- From: "wkbia" <wkbia@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 4 Aug 2005 20:27:50 -0700
Are you utilizing MSDE or SQL Server Express? Full-Text is not installed or
supported on either.
"Dino Buljubasic" wrote:
> 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_
>
.
- References:
- HELP - Storing Full Text Catalog to Different Location
- From: Dino Buljubasic
- HELP - Storing Full Text Catalog to Different Location
- Prev by Date: Any Full-Text Guru's - Need help with a query
- Next by Date: Re: Server: Msg 7619: Cannot build FTcatalog
- Previous by thread: Re: HELP - Storing Full Text Catalog to Different Location
- Next by thread: Any Full-Text Guru's - Need help with a query
- Index(es):
Relevant Pages
|