psteja2000
Programmer
I am trying to list a directory taht is on a remote machine on our internal network. But I get 0 records. the note for cfdirectory on macromedia site says:
Note: If the cfdirectory tag does not appear to work, for example, if a list operation returns an empty result set, make sure that you have correct permissions to access the directory. For example, if you run ColdFusion as a service on Windows, it operates by default as System, and cannot access directories on a remote system or mapped drive; to resolve this issue, do not run ColdFusion using the local system account.
Apparently this is my exact problem. My question is, how do I run coldfusion other than as a windows service? Where do I look for different ways to run coldfusion?
Also, assuming I somehow get teh listing to work, how can I let the files be displayed in the browser? The directory is basically a pdf directory (but on a mapped drive), the user should be able to open the pdf by clicking on one in the list.
regards,
Teja
Note: If the cfdirectory tag does not appear to work, for example, if a list operation returns an empty result set, make sure that you have correct permissions to access the directory. For example, if you run ColdFusion as a service on Windows, it operates by default as System, and cannot access directories on a remote system or mapped drive; to resolve this issue, do not run ColdFusion using the local system account.
Apparently this is my exact problem. My question is, how do I run coldfusion other than as a windows service? Where do I look for different ways to run coldfusion?
Also, assuming I somehow get teh listing to work, how can I let the files be displayed in the browser? The directory is basically a pdf directory (but on a mapped drive), the user should be able to open the pdf by clicking on one in the list.
regards,
Teja