当前位置: 代码迷 >> ASP.NET >> .net Unable to load DLL 'libmySQL.dll': 拒绝访问。该怎么处理
  详细解决方案

.net Unable to load DLL 'libmySQL.dll': 拒绝访问。该怎么处理

热度:2633   发布时间:2013-02-25 00:00:00
.net Unable to load DLL 'libmySQL.dll': 拒绝访问。
asp.net 连接 mysql 报 Unable to load DLL 'libmySQL.dll': 拒绝访问。

这是放到服务器上报的错。在我本机是可以的。我将libmySQL.dll 已经复制到 C:\WINDOWS\system32 下了。。
HTML code
Server Error in '/' Application.Unable to load DLL 'libmySQL.dll': 拒绝访问。 (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.DllNotFoundException: Unable to load DLL 'libmySQL.dll': 拒绝访问。 (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.Stack Trace:



哪位大侠知道?




------解决方案--------------------------------------------------------

没有用过
------解决方案--------------------------------------------------------
WEB服务扩展允许.

IIS管理里的WEB服务扩展上,把ASP.NET设为允许.

也不排除权限。
  相关解决方案