在vs2005中调试生成 webservice在localhost是可以打开的, 可访问mysql.  但是发布到我本机的iis后,无法打开, MySql.Data.dll我已经拷贝了到了很多位置,还是报错:Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: The format of the file 'MySql.Data' is invalid.Source Error: 
Line 19:  <compilation debug="true">
Line 20:  <assemblies>
Line 21:  <add assembly="MySql.Data, Version=5.0.6.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/></assemblies></compilation>
Line 22:  <!--
Line 23:             通过 <authentication> 节可以配置 ASP.NET 使用的 
 Source File: D:\My Documents\Visual Studio 2005\Projects\WebSite3\PrecompiledWeb\WebSite3\web.config    Line: 21 Assembly Load Trace: The following information can be helpful to determine why the assembly 'MySql.Data' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = MySql.Data, Version=5.0.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d
 (Fully-specified)
LOG: Appbase = file:///D:/My Documents/Visual Studio 2005/Projects/WebSite3/PrecompiledWeb/WebSite3
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (c:\windows\microsoft.net\framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: MySql.Data, Version=5.0.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/webtest/c467512e/a2912f15/MySql.Data.DLL.