I'm evaluating Aspose.Cells and find that it works fine on my dev machine (windows vista 32-bit), but fails when run on my production server (Windows 2008 Server 64-bit).
The error is: Unhandled Exception: System.BadImageFormatException: is not a valid Wind32 application.
I'm building a console app in Visual Studio 2008. The code below reproduces the problem.
Is this component supported on Windows 2008 Server 64-bit?
Thanks,
Jason
using System;
using Aspose.Cells;
namespace DFPTest
{
class Program
{
private static string strFilePath = @"D:\TestData\D26Report.xls";
static void Main( string[] args )
{
try
{
Workbook objExcelBook = new Workbook();
}
catch( Exception e )
{
Console.WriteLine( "Error: " + e.Message );
}
}
}
}