System.IO.FileLoadException: Failed to load file or assembly Access denied resolution

  
                  

Recently, I found that a server running the 2003 operating system that I manage has a web browser service that often fails to explain the error. If the application is set in the previously configured web.config file, it will automatically switch to the custom error page. For example:

customErrors defaultRedirect="error.htm" mode="ReadOnly" />Modify the mode to customErrors defaultRedirect="error.htm" mode="Off" /> You can ensure that the system is in debug state and an error message will appear if something goes wrong. After the setup is complete, visit the website again and the error message is as follows: “/” Server error in the application. -------------------------------------------------- ---------------------- Failed to load file or assembly “AjaxPro” or one of its dependencies. access denied.

Description: An unhandled exception occurred during the execution of the current web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception Details: System.IO.FileLoadException: Failed to load file or assembly “AjaxPro” or one of its dependencies. Refusal to access

According to the prompt "Deny access" in the prompts, it is suspected that there is no corresponding access to the bin directory, so the corresponding permissions are given to the bin directory and then tested, the same problem still occurs. Considering that macfee was installed before the problem occurred, I opened the macfee log and saw that the AjaxPro.dll class had been blocked. So set it to not stop, restart the iis and visit the website, the problem is solved smoothly.

Copyright © Windows knowledge All Rights Reserved