Im Using ABCPDF.net version 5.0 in my development server and it works fine without any issue. Development Server Configuration: OS: Windows Server 2003 32 bit iis 6.0

Production Server Configuration: OS: Windows Server 2008 R2 64 bit Operations System iis7.5

The PDF option works fine in Development Server. But when i move the code to our production Server it is giving the following error

an attempt was made to load a program with an incorrect format Exception Code : 0*8007000b

有帮助吗?

解决方案

In the IIS Manager (inetmgr.msc), find the app pool controling your application, and go to Advanced properties. flip "Enable 32bit Applications" to True. that should do ya. consider creating a new app pool for this purpose if the one you have is shared by multiple applications.

其他提示

You need to run 32bit components in a 32bit app pool, or ensure that when you publish to a 64bit machine you use 64bit components.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top