Copy link to clipboard
Copied
I am trying to use <cfspreadsheet> on a unix box, we are using weblogic as our app server.
the code worked fine on my local machine ( win) and when moved over to the unix box, i get
the path has been adjusted for unix, the directory and file permissions all allow for write and execute.
Has anyone run accross this?
tia
JB
Copy link to clipboard
Copied
Hi,
Make sure that you have right path with all similar cases. There may be folder called "Test" but in our code, we will be setting it as "test" which will definitely not work. So have same cases since its a UNIX env.
Copy link to clipboard
Copied
Is this being written to ram:// ? I'm having the same issue with trying to write spreadsheets to the ram drive, but writing to the hard disk seems to work properly.
Copy link to clipboard
Copied
There is a bug report filed for 9.0.1. I do not know it is status in CF10
Copy link to clipboard
Copied
I have exactly the same issue with ColdFusion 2016 that is the <cfspreadsheet> tag writes on a Server with Windows 7 but not on Red Hat Linux 7. The error is the same:
An exception occurred while using action=write. coldfusion.excel.ExcelProcessException: An exception occurred while using action=write.
The above issue does not exist in Red Hat 6 for ColdFusion 10.
We are migrating applications from ColdFusion 10 to ColdFusion 2016. I would appreciate help from Adobe in resolving this issue.
Thanks.
Copy link to clipboard
Copied
1. Check for case. "/folder" is not the same as "/Folder".
2. Check for permissions. If the CF user account does not have read/write permissions for that folder, this could trigger the error you are seeing.
3. Place the code that is erroring within CFTRY/CFCATCH tags and within the CFCATCH use CFDUMP var="#cfcatch#" to see precisely what the error is.
HTH,
^ _ ^