无法将数据库添加到WSP(独立) [英] Can't Add Databases to WSP (Standalone)
本文介绍了无法将数据库添加到WSP(独立)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经安装了MySQL并测试了我可以连接到它。
然后我安装了WSP Standalone并以serveradmin身份登录。
点击配置,服务器,我的服务器,并尝试添加MySQL服务器。
I've installed MySQL and tested that I can connect to it.
I then installed WSP Standalone and logged in as serveradmin.
Clicked on Configuration, Servers, My Server and tried to add MySQL Server.
它说我必须在
http://dev.mysql.com/downloads/connector/net/ ;
只有32位下载(我正在运行64位服务器)。 所以我安装了"mysql-connector-net-6.3.6.zip"。 以下是我收到的错误消息。
There is only 32-bit downloads (I'm running 64-bit server). So I installed "mysql-connector-net-6.3.6.zip". Here is the error message I get.
Page URL: http://192.168.7.101:9001/Default.aspx?pid=Servers&mid=133&ctl=edit_service&ServerID=1&ServiceID=6
Logged User: serveradmin
Work on Behalf: serveradmin
Hosting Space: 0
Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.3.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data, Version=6.3.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
at WebsitePanel.Providers.Database.MySqlServer.Install()
at WebsitePanel.Server.ServiceProvider.Install()
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].
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at WebsitePanel.Providers.ServiceProvider.Install()
at WebsitePanel.EnterpriseServer.esServers.InstallService(Int32 serviceId)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at WebsitePanel.EnterpriseServer.esServers.InstallService(Int32 serviceId)
at WebsitePanel.Portal.ServersEditService.btnUpdate_Click(Object sender, EventArgs e)
推荐答案
通过卸载最新版本并安装MySQL .Net连接器6.2.4来解决问题。
Fixed the problem by uninstalling the latest version and installing MySQL .Net connector 6.2.4.
这篇关于无法将数据库添加到WSP(独立)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文