We are getting this error using aspose.cells 4.6.0.10 on a 64 bit windows server. I am not sure what line in the code throws the exception but I thought I would ask before troubleshooting. Does aspose.cells support 64 bit? The app runs fine on 32 bit. Do I need a different version?
Hi,
Thank you for considering Aspose.
Yes, you will need a 64bit version of Aspose.Cells to run it on a 64bit machine. Please try the attached latest version (64bit) and check if it works fine. If you still face any problem, please share your template file (and more details about the issue) and we will look into it soon.
Thank You & Best Regards,
Hi,
Yes, Aspose.Cells supports 64-bit environments but you do need to use 64-bit (Net2.0) build of the component. I have attached the latest 64-bit build for your requirement, kindly try it.
Thank you.
That is great, thanks. Do I need to recompile my 32 bit code with this as a reference in my project or can my old compile use this new version?
Hi,
Thank you for considering Aspose.
Well, you need to re-compile your project with the new dll by adding its reference to make it work.
Thank You & Best Regards,
Yes, thanks. I figured that as the version is different. But does it have to be compiled on a 64 bit platform?
Hi,
Thank you for considering Aspose.
Well, you can compile it on both 32bit and 64bit environment as per your requirement.
Thank You & Best Regard,
Hello,
We are facing the same error after deploying to a 64-bit server for the first time. The error detail doesn't specify which assembly fails to load. We are currently referencing the following versions of 3 Aspose products:
Aspose.Cells - 4.7.0.7
Aspose.Slides - 2.6.26.0
Aspose.Words - 4.3.0.0
Are we supposed to compile with a separate 64-bit build for each of those?
Thanks,
Svetlana Shelkova
Hi Svetlana Shelkova,
I have attached one of the recent version of Aspose.Cells for .NET component compiled on .NET2.0 for your 64-bit environment for your need.
Please try it and let us know if it works fine now.
Thank you.
Thank you! What about other components - Aspose.Slides and Aspose.Words? Are those versions compiled for 32-bit only or any platform?
When we first deployed the versions were as follows:
Aspose.Cells - 4.3.0.0
Aspose.Slides - 2.6.26.0
Aspose.Words - 4.3.0.0
We had no BadImageFormatException errors but because of other third party components not installed properly on 64-bit we couldn’t test Aspose functionality. So I am not sure if all 3 Aspose assemblies were OK on 64-bit or they just didn’t load into memory.
Unfortunately, we cannot deploy on trial-and-error basis. Could you please advice or direct me to the documentation about how Aspose components need to be handled for 64-bit and whether Aspose.Slides and Aspose.Words of the above versions are OK for 64-bit platforms or not. Technically we can upgrade Slides and Words to the latest, but would prefer to avoid it if not necessary.
Sincerely,
Svetlana Shelkova
Hi Svetlana,
We provide dlls for two .Net versions: 1.x and 2.0. Because .Net 1.x is not compatible with 64bit environment, you should always use .Net 2.0 version dll in 64bit. Please make sure you are using .Net 2.0 Aspose.Slides and Aspose.Words dlls.
Hi,
Thank you for considering Aspose.
Please try the attached latest version of Aspose.Cells (.NET 2.0 version). Please check it and let us know if it works fine for you.
Thank You & Best Regards,
Thank you Laurence and Nausherwan!
So there are no specific 64-bit builds. Aspose assemblies just have to be built against .NET 2.0. This is great news!
This make sense right now. 2 of the above dlls we are using were built for 1.1.4322 and 1.0.3705 (Aspose.Slides and Aspose.Cells).
Sincerely,
Svetlana Shelkova