请使用Mysql数据库在vb中使用我的Web应用程序asp.net寻求帮助 [英] Please i need help with my web application asp.net in vb with Mysql Database

查看:79
本文介绍了请使用Mysql数据库在vb中使用我的Web应用程序asp.net寻求帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用Asp.net托管了一个Web应用程序,其在Vb中被写入,后端是MySQL数据库,在我的开发系统上运行良好,但是当我将其上传到我的主机时,出现以下错误消息

无法加载文件或程序集``MySql.Data,Version = 5.1.7.0,Culture = neutral,PublicKeyToken = c5687fc88969c44d''或其依赖项之一.系统找不到指定的文件.

错误的子部分,我认为来自网络配置

i hosted a web application with Asp.net with was wrriten in Vb ,and the backend is MySQL database ,it works fine on my development system ,but when i upload is to my Host i get the following error message

Could not load file or assembly ''MySql.Data, Version=5.1.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'' or one of its dependencies. The system cannot find the file specified.

with sub section of the error has which i think comes from the web config

Line 32:         <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 33:         <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 34:         <add assembly="MySql.Data, Version=5.1.7.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>
Line 35:       </assemblies>
Line 36:     </compilation>



请我真的需要解决这个问题
感谢



please i really need to get this over
thanks

推荐答案

Mysql.Data.dll复制到服务器上Web应用程序的bin目录.
Copy the Mysql.Data.dll to the bin directory of your web application on the server.


这篇关于请使用Mysql数据库在vb中使用我的Web应用程序asp.net寻求帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆