Error when running eval copy of Aspose.Cells on 64-bit Windows 2008 Server

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 );
}
}
}
}

OK, I think I solved this. The target platform in the project properties dialog was set to "Any CPU." Setting it to "x86" and recompiling the test application did the trick.

Jason

After you install Aspose.Cells, there are two folders under bin folder. One is .Net1.0, and another is .Net2.0. To work with 64bit environment, please use the dll under .Net2.0 folder.