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