I am using Ben Nadel's POIUtility.cfm to read and write to Excel files. There are some files which I can read very easily using the given code/file. But for some other files, I keep getting an instantiation error. I cannot figure out what's going wrong.
Code:
<cfset arrSheets = objPOI.ReadExcel(
FilePath = ExpandPath( "./File giving error.xls" ),
HasHeaderRow = true
) />
Error:
Object instantiation exception.
An exception occurred while instantiating a Java object. The class must not be an interface or an abstract class.
I'm using CF10, site hosted locally on IIS. Link to sample file.