Copy link to clipboard
Copied
I recently moved a Cold Fusion site from an older 2003 box to a new 2008 64 bit box. I used Web Deploy to move the site after installing Cold Fusion. The same version that was on the 03 box. Cold Fusion 8. So far all aspects of the site have worked fine except for today when users tried to do a upload. They get this error.
Attribute validation error for CFFILE
The value of the attribute destination which is currently " pointing to a folder on a server" is invalid
I compared the file it specifies between the 2 servers and it's the same. Is this because of the 2003 to 2008 change? I compared CF setting on both servers and they match up. Where do I beging to troubleshoot this? I had to hook up the old server to get the site working properly for the users. I know nothing of CF. This site was developed by a Consultant that is no longer available to us.
Thanks for any help
Copy link to clipboard
Copied
Hi,
I might need to check the code but can you please check the code where you're using CFFILE Upload and check if you have defined the absolute path instead of relative and that might be the issue.
Thanks,
Priyank
Copy link to clipboard
Copied
Hi.
from your description it sounds like you confirmed the full path to the directory exists on the new system, is this correct?
does CF have persmission to write to that directory?
Copy link to clipboard
Copied
Following up on JesterFortyEight's suggestion: Look on the old box to see what account the ColdFusion service is running under. On the New box, make sure that ColdFusion is running under that same service. Unless you went out of your way to change it after the new installation, the new installation will be running under a service account, not a user account.
If they are both in the same Windows domain, and the account is a domain account, then it will easy to add it. Otherwise, you will need to get the system admin (or put on your system admin hat if that's you) to create a local admin account on the new server that has the same privs as the one on the old system, and then update the permissions on the directory that the CFFILE is trying to access to allow access from the new user. Hopefully it was a domain account, which simplifies the whole process.
hth,
reed
Copy link to clipboard
Copied
Thanks for the quick responses. Wasn't expecting that late on a Friday afternoon. Turns out that the Cold Fusion service was running on a Domain Admin account on the old box. First place I should have looked. I changed the service to run on a non Domain Admin account that has permissions to the share and the upload function of the site works. Thanks for the advice and prompt responses.