如何在 web.config 中添加处理程序,我的处理程序名称是图像处理程序。托管处理程序不工作后。
这是我的 web.config
<?xml version="1.0"?>
<configuration>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<dependentAssembly>
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.6.5.0" newVersion="6.6.5.0" />
<codeBase version="6.6.5.0" href="bin\Assembly\6.6.5\MySql.Data.dll"/>
<codeBase version="6.7.4.0" href="bin\MySql.Data.dll"/>
</dependentAssembly>
</DbProviderFactories>
</system.data>
<system.web>
<customErrors mode="Off" />
<compilation defaultLanguage="c#" debug="true" targetFramework="4.0"/>
</system.web>
</configuration>