实用技巧

关注公众号 jb51net

关闭
首页 > 网络编程 > ASP.NET > 实用技巧 > Could not load file

完美解决Could not load file or assembly AjaxPro.2 or one of its dependencies. 拒绝访问。 原创

作者:

Could not load file or assembly AjaxPro.2,经排查原来是mcafee限制了

Server Error in '/' Application. 
--------------------------------------------------------------------------------

Could not load file or assembly 'AjaxPro.2' or one of its dependencies. 拒绝访问。 
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.IO.FileLoadException: Could not load file or assembly 'AjaxPro.2' or one of its dependencies. 拒绝访问。

........


Server Error in '/' Application. 
--------------------------------------------------------------------------------

Could not load file or assembly 'AjaxPro.2' or one of its dependencies. 拒绝访问。 
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.IO.FileLoadException: Could not load file or assembly 'AjaxPro.2' or one of its dependencies. 拒绝访问。
解决方法:
1、有可能是防火墙问题
2、temp目录权限问题 ,一般是Mac杀毒的安全设置问题,把temp目录的权限设置下即可
3、如果服务器安装了mcafee可以查看日志,很多服务器禁止c盘读取或写入dll文件导致,取消dll保护就可
您可能感兴趣的文章:
阅读全文