有时候我们会引用一些外部assembly.
这个时候系统会报不是有效的win32程序。
此时需要在IIS7里做些设置
1. Inside IIS (7) click on Application Pools.
2. Find the Application Pool that is configured for your web application in the list.
3. Select it, then click Advanced Settings on the right.
4. Second setting in the list: Enable 32-Bit Applications - must be set to True.