are you sure that you have the name of your collection correct? Check with
your provider for the name of your collection.
Brad Tumy
-----Original Message-----
From: Rabihah Mateen [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 11:08 AM
To: CF-Server
Subject: Problem with indexing Verity Collections (long)
I hope someone can help me with this. I'm trying to index a verity
collection that will reside on the server of my hosting service, however,
when I run the search template, I keep getting the following error message:
"Error occurred in tag CFINDEX
Directory access error for 'mydomainname.com/htdocs/mycollection':
The system cannot find the path specified. The error occurred while
processing an element with a general identifier of (CFINDEX)...."The
referring http is my verity search (htm) form.
Here's my problem:
When I had CFserver on my desktop, I was able to create and index my
collection through the Administrator. Now that I no longer have access to
the CF Administrator (as it resides on the hosting company's shared server),
the hosting company says that all they do is create the designated
collection and that it's up to me to index the collection with code.
Though I haven't done it this way before, I looked in Ben Forta's CF Web
Application Construction Kit and I inserted the following code in my
"search.cfm template":
<cfset IndexCollection = "mycollection">
<cfset IndexDirectory = "mydomainname.com/htdocs/mycollection">
<cfset IndexRecurse ="Yes">
<cfset IndexExtensions = ".htm, .html, .txt, .doc, .xls">
<cfset IndexLanguage = "english">
<cfindex
collection ="#IndexCollection#"
action="REFRESH"
type="PATH"
key="#IndexDirectory#\"
extensions="#IndexExtensions#"
recurse="#IndexRecurse#"
language="#IndexLanguage#"
urlPath="mydomainname.com/htdocs/mycollection">
I put the above code at the beginning of my search template and I still get
the error message. Does anyone have any ideas on what I should do? I
didn't know that I could index collections using code (vs. through CF
Server's Administrator). Is there a step either my hosting service or I am
missing?
Any and all responses will be most appreciated.
Rabihah A. Mateen
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com