0

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>
4

1 に答える 1