Some test text!
You may encounter
BadImageFormatException, incorrect format exceptions when using PDFNet on IIS. One possible cause can be that you need to match the IIS
Enable 32-bit application setting to which version of PDFNet (32 or 64 bit) that you are using.
In the case of IIS 2008 R2 Web Server application pool, set the Identity to "LocalSystem" (for both .NET 2.0 and .NET 4.0). Also, make sure to set the "Enable 32-Bit Applications" to "True".
Latest versions of Visual Studio now include 64bit IIS. You can set this by going to Tools -> Options -> Project and Solutions -> Web Projects and checking "Use the 64 bit version of IIS Express".
Finally, be aware that different versions of IIS default to different versions of the
.NET Framework, so you may need to match that with the version of PDFNet you are using (.NET 2 or 4).
If you are trying to run your demo on an IIS server, you can change the Application Pool’s identity to a User Account with read/write access to the registry.
See Forum: How do I resolve 'BadImageFormatException' when using 64-bit version of PDFNet for .NET? for more information.
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.