Free Support Forum - aspose.com

64-bit support

It appears that Aspose.Words is marked as 32-bit only in the manifest. This causes a problem when using with IIS and Asp.Net on 64-bit platforms if the entire web site is not marked 32-bit only. I also noticed that this is the only Aspose library marked this way. When will this be corrected?

We have a separate assembly built with .NET 2.0. It is fully compatible with 64-bit Windows platforms. You can locate it here:

C:\Program Files\Aspose\Aspose.Words\Bin\net2.0

More info can be found here:

http://www.aspose.com/Community/blogs/roman.korchagin/archive/2006/09/05/55897.aspx

Best regards,

One of us must be confused. When I look at the manifest for the .net 2 binary (version 4.0.3) I see that it the .corflags is set to 0x0000000b // ILONLY 32BITREQUIRED. This forces it to run in 32 bit mode.

I'm also looking at the latest build and I see:

Version : v2.0.50727
CLR Header: 2.0
PE : PE32
CorFlags : 9
ILONLY : 1
32BIT : 0
Signed : 1

0x09 means ILONLY + Signed. There is no 32BITREQUIRED set.

One interesting thing I do notice is that CLR Header is 2.0 (but it should be 2.5) for .NET 2.0. Looks like it is reset by ILMerge that we use during the build process and I'm going to see if this can be fixed.

I rechecked once again. Corflags appear to be normal 0x09. But CLR Header is set to 2.0 by ILMerge that we use during the build and this will be fixed in the next hotfix. Not sure if that is causing it to load as 32 bit assembly in your case. Also not clear why you are getting corflags 0x0b. Double check that you are corflagging the correct dll. Maybe you accidentally run corflags to change the bit?

Hello,

We are trying to use Aspose.Words 4.0.0.0 in an ASP.NET 2.0 web service under Windows 2003 Server 64-bit and we are getting the System.BadImageFormatException reported in other threads in this forum. Corflags reports this information about Aspose.Words.dll:

Version : v2.0.50727
CLR Header: 2.5
PE : PE32
CorFlags : 11
ILONLY : 1
32BIT : 1
Signed : 1

So, it seems that this assembly is forced to load as 32-bit only.

Is there a patch for this version of Aspose.Words or are we forced to upgrade to a newer version that can be loaded in a 64-bit ASP.NET working process? What about Aspose.PDF.dll?

Thank you in advance for your help.

Hi

Thanks fro your inquiry. Please try using the latest version of Aspose.Words 4.4.3.0. I see the following information about this version:

Version : v2.0.50727

CLR Header : 2.5

PE: : PE32

CorFlags : 9

ILONLY : 1

32BIT :0

Signed : 1

Also please provide me information how I can reproduce your problem.

Best regards.