如何在asp.net中添加程序集 [英] how to add assembly in asp.net

查看:201
本文介绍了如何在asp.net中添加程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





i运行我的应用程序时出现此web配置错误。但在本地服务器中应用程序工作正常





hi

i am getting this web config error while running my application.but in the localserver by application works fine


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.3.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

Source Error:


Line 20:
Line 21:        <assemblies>
Line 22:         <add assembly="MySql.Data, Version=6.3.4.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D" />
Line 23:       </assemblies>
Line 24:


Source File: D:\Inetpub\vhosts\istepinfotech.com\sbtbeta\web.config    Line: 22

Assembly Load Trace: The following information can be helpful to determine why the assembly 'MySql.Data, Version=6.3.4.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]







有谁知道这个问题有什么问题帮助我。




do anyone knows what wrong with this the problem help me.

推荐答案

参考 -

1。 无法加载文件或程序集'MySql.Data,Version = 6.3.5.0,Culture = neutral,PublicKeyToken = c5687fc88969c44d'或其中一个依赖项 [ ^ ]。

2. 无法加载文件或程序集'MySql.Data,Version = 6.3.6.0 [ ^ ]。



它可能会解决问题。
Refer -
1. Could not load file or assembly 'MySql.Data, Version=6.3.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies[^].
2. Could not load file or assembly 'MySql.Data, Version=6.3.6.0[^].

It might resolve the issue.


这篇关于如何在asp.net中添加程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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