Go to the IIS7 Application Pool -> advanced settings and set the 32-bit application to true. 转载于:https://www.cnblogs.com/yangwujun/p/3324578.html