解决ASP.NET1.1 access is denied: 'Microsoft.Data.Odbc' 的问题

Since the web page works fine on another web server, this issue is could be
probably caused by the configuration and permission on the web server.
Please check the following points:

1. Make sure the account running ASP.NET has enough permission to access
the MDAC folder.

2. Check the web.config file

3. Check the mode of accessing the IIS (Windows authentication, anonymous,
etc;)

For more information, please refer to the following article:

817033.KB.EN-US PRB: "Access denied" Error Message When You Run an ASP.NET
1.0
http://support.microsoft.com/defaul...KB;EN-US;817033

当ASP.NET1.1 出现 access is denied: 'Microsoft.Data.Odbc',或是其他的一些DLL也会这样说没权限的,通常开始都可以,后面不知道为什么不可以,有时偶尔会出现这样的问题。这是ASP.NET1.1的BUG来的,我觉得。我的解决办法是:
      1. 把进程中aspnet_wp.exe关掉(它会得新又出一个,不管它)
      2. cmd: iisreset
      3. 把bin中的那些dll删了或是重命名,重新编译一下程序
      4. 有时候可能要反复做几次,呵呵,就这么怪。


转载于:https://www.cnblogs.com/javak/archive/2008/06/25/1229706.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值