kjmurphy711
Programmer
We recently migrated from CFMX 7.0.0/SQL2000/Windows2000 to CFMX 7.0.2/SQL2005/Windows2003x64. Just about everything is working fine, except for cfdirectory references in one scheduled tasks.
Basically we are cataloging files in certain folders to be able to search on them faster (40K+ files in a couple folders). The code I am running is:
The task doesn't seem to get past the cfdirectory. When I force the task through CF Administrator, it tells me it could be one of the following errors:
- The URL is a redirection URL.
- The URL is protected by IIS NT Challenge/Response or Apache .htaccess password. The Username and Password text fields for editing a scheduled task are intended to support Basic Authentication only.
- The Domain Name lookup failed. Try using the IP address of the domain whenever possible.
- The URL is an SSL site, but the SSL port was specified incorrectly.
- The Web site is not responding.
- The directory specified for published results does not exist
---
When I try to run this outside CF Administrator, I get a 500 error. My thought is that this is a permissions issue since I think the super-locked-down IE on the x64 server is preventing access to the network share. I have multiple cfdirectory statements on this task, some reference the server itself, while others hit other servers on the network.
Any thoughts or help? Thanks in advance.
Basically we are cataloging files in certain folders to be able to search on them faster (40K+ files in a couple folders). The code I am running is:
Code:
<cfdirectory directory="\\server-name\sharename$\Images" action="list" name="DirList">
<cfoutput query="DirList">
<cfquery datasource="datasourcename">
INSERT INTO [File Listing Table] ( Filename, DateLastModified, Directory, FileCategory )
VALUES ( '#Name#', #DateLastModified#, '#Directory#', 'Images')
</cfquery>
</cfoutput>
The task doesn't seem to get past the cfdirectory. When I force the task through CF Administrator, it tells me it could be one of the following errors:
- The URL is a redirection URL.
- The URL is protected by IIS NT Challenge/Response or Apache .htaccess password. The Username and Password text fields for editing a scheduled task are intended to support Basic Authentication only.
- The Domain Name lookup failed. Try using the IP address of the domain whenever possible.
- The URL is an SSL site, but the SSL port was specified incorrectly.
- The Web site is not responding.
- The directory specified for published results does not exist
---
When I try to run this outside CF Administrator, I get a 500 error. My thought is that this is a permissions issue since I think the super-locked-down IE on the x64 server is preventing access to the network share. I have multiple cfdirectory statements on this task, some reference the server itself, while others hit other servers on the network.
Any thoughts or help? Thanks in advance.