Access is denied: AjaxPro

Problem

You get this error message when running your application:

Access is denied: 'AjaxPro'.

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: Access is denied: 'AjaxPro'.

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.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxPro' could not be loaded.

 

The AjaxPro.DLL file reference is not included in the CompileApplication.rsp file

Your application includes a CompileApplication.rsp file used by the compiler.  Add the ajaxPro.dll reference to CompileApplication.rsp if it is not already present in the file.

Web.config does not include AjaxPro related settings

Your application’s Web.config file should include a reference to the AjaxPro.dll file.  Add the appropriate reference to this file if it is missing in Web.config.  You can create an application in Iron Speed Designer and copy the AjaxPro.dll file reference from that application’s Web.config file to your application’s Web.config file.

Temporary ASP.NET files preclude AjaxPro

Delete the contents in your temporary ASP.NET files folder:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

Then, rebuild your application with Iron Speed Designer (Build, Rebuild All).

See Also

Part VII:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages