Solution: failed to load the file, assembly "ajaxcontroltoolkit", or one of its dependencies. Access denied.

Source: Internet
Author: User

Solution:

Set the read and write permissions for the folder "C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. NET files", as shown in:

"/" Application Program Server error.

Failed to Load file or assembly "ajaxcontroltoolkit" or one of its dependencies. Access denied.

Note:An error occurred while executing the current Web request. Check the stack trace information to learn about this error andCodeDetailed information about the cause of the error.

Exception details:System. Io. fileloadexception: failed to load the file, assembly "ajaxcontroltoolkit", or one of its dependencies. Access denied.

Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

Assembly loading tracking:The following information helps determine why the assembly "ajaxcontroltoolkit" cannot be loaded.

Warning assembly binding logging is disabled. To enable the Assembly Binding failure log, set the registry value to [HKLM \ Software \ Microsoft \ Fusion! Enablelog] (DWORD) is set to 1. Note: There will be some performance loss associated with the Assembly Binding failure log. To disable this function, remove the registry value [HKLM \ Software \ Microsoft \ Fusion! Enablelog].

Stack trace:

[Fileloadexception: failed to Load file or assembly "ajaxcontroltoolkit" or one of its dependencies. Access denied.] [Fileloadexception: failed to Load file or assembly "ajaxcontroltoolkit, version = 1.0.10123.0, culture = neutral, publickeytoken = 28f01b0e84b6d53e" or a dependency of the Assembly. Access denied.] System. reflection. assembly. _ nload (assemblyname filename, string codebase, evidence assemblysecurity, assembly locationhint, stackcrawlmark & stackmark, Boolean throwonfilenotfound, Boolean forintrospection) + 0 system. reflection. assembly. nload (assemblyname filename, string codebase, evidence assemblysecurity, assembly locationhint, stackcrawlmark & stackmark, Boolean throwonfilenotfound, Boolean fori Ntrospection) + 43 system. reflection. assembly. internalload (assemblyname assemblyref, evidence assemblysecurity, stackcrawlmark & stackmark, Boolean forintrospection) + 127 system. reflection. assembly. internalload (string assemblystring, evidence assemblysecurity, stackcrawlmark & stackmark, Boolean forintrospection) + 142 system. reflection. assembly. load (string assemblystring) + 28 system. web. configuration. Compilationsection. loadassemblyhelper (string assemblyname, Boolean stardirective) + 46 [configurationerrorsexception: failed to Load file or assembly "ajaxcontroltoolkit, version = 1.0.10123.0, culture = neutral, publickeytoken = 28f01b0e84b6d53e "or one of its dependencies. Access denied.] System. web. configuration. compilationsection. loadassemblyhelper (string assemblyname, Boolean stardirective) + 613 system. web. configuration. compilationsection. loadallassembliesfromappdomainbindirectory () + 203 system. web. configuration. compilationsection. loadassembly (assemblyinfo AI) + 105 system. web. compilation. buildmanager. getreferencedassemblies (compilationsection compconfig) + 178 system. web. compilat Ion. buildproviderscompiler .. ctor (virtualpath configpath, Boolean supplocallocalization, string outputassemblyname) + 54 system. web. compilation. codedirectorycompiler. getcodedirectoryassembly (virtualpath virtualdir, codedirectorytype dirtype, string assemblyname, stringset excludedsubdirectories, Boolean isdirectoryallowed) + 8812194 system. web. compilation. buildmanager. compilecodedirectory (virtualpath v Irtualdir, codedirectorytype dirtype, string assemblyname, stringset excludedsubdirectories) + 128 system. web. compilation. buildmanager. compilecodedirectories () + 265 system. web. compilation. buildmanager. ensuretoplevelfilescompiled () + 320 [httpexception (0x80004005): failed to load the file or assembly "ajaxcontroltoolkit, version = 1.0.10123.0, culture = neutral, publickeytoken = 28f01b0e84b6d53e "or one of its dependencies. Access denied.] System. web. compilation. buildmanager. reporttoplevelcompilationexception () + 58 system. web. compilation. buildmanager. ensuretoplevelfilescompiled () + 512 system. web. hosting. hostingenvironment. initialize (applicationmanager appmanager, iapplicationhost apphost, iconfigmappathfactory configmappathfactory, hostingenvironmentparameters hostingparameters) + 729 [httpexception (0x80004005): failed to load the file or assembly "ajaxcontro Ltoolkit, version = 1.0.10123.0, culture = neutral, publickeytoken = 28f01b0e84b6d53e "or one of its dependencies. Access denied.] System. Web. httpruntime. firstrequestinit (httpcontext context) + 8893503 system. Web. httpruntime. ensurefirstrequestinit (httpcontext context) + 85 system. Web. httpruntime. processrequestinternal (httpworkerrequest wr) + 259

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.