原文 http://www.cnblogs.com/yuejin/archive/2013/01/19/2867428.html
<system.webServer>
<validationvalidateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
在web.config增加<modules runAllManagedModulesForAllRequests="true" />