 |
|
เขียน ASP.NET/C# connect MySql ในเครื่อง local รันได้ แต่อัพขึ้นโฮสแล้ว err. |
|
 |
|
|
 |
 |
|
เขียน ASP.NET/C# connect MySql ในเครื่อง local รันได้ แต่อัพขึ้นโฮสแล้ว err. ครับ รบกวนผู้รู้ด้วยครับ
ใช้ VS2010 using MySql.Data.MySqlClient; แล้ว
Quote:Server Error in '/' Application.
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: Could not load file or assembly 'MySql.Data, Version=6.2.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 8: <compilation debug="false" targetFramework="4.0">
Line 9: <assemblies>
Line 10: <add assembly="MySql.Data, Version=6.2.5.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>
Line 11: <add assembly="MySql.Data.Entity, Version=6.2.5.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>
Line 12: <add assembly="MySql.Web, Version=6.2.5.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/></assemblies></compilation>
Source File: D:\Inetpub\vhosts\stepzeed.com\httpdocs\testmysql\web.config Line: 10
Assembly Load Trace: The following information can be helpful to determine why the assembly 'MySql.Data, Version=6.2.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Tag : ASP.NET, MySQL, Web (ASP.NET), VB.NET, C#, VS 2010 (.NET 4.x)
|
|
 |
 |
 |
 |
Date :
2012-03-26 19:57:24 |
By :
North |
View :
1944 |
Reply :
3 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
บนเครื่อง local ที่ใช้เขียนติดตั้งตัวนี้แล้วครับ บนเครื่อง local รันได้ ปกติ แต่พออัพไว้บน host จะเต็มปัญหาข้างตัวครับ
หรือบน host ก็ต้องติดตั้งตัวนี้ด้วยหรือเปล่า
|
 |
 |
 |
 |
Date :
2012-03-30 19:42:36 |
By :
North |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
น่าจะประมาณนั้นครับ หรือไม่ก็ใช้ dll version ที่บนโฮสรองรับครับ หรือไม่ก็ใช้ผ่าน ODBC ครับ
|
 |
 |
 |
 |
Date :
2012-03-30 20:19:50 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|