Cocould not load file or assembly & quot; App_Licenses.dll &

Source: Internet
Author: User
Tags aspdotnetstorefront

Today, we have customized development in AspDotNetStorefront. during compilation, We Inexplicably reported the cocould not load file or assemb'App_Licenses, Version =, Culture = neutral,...(Exception from HRESULT: 0x80070057 (E_INVALIDARG), Check the file system, find that the file is still in, And then view the folder permissions, no exception is found. So Google. Many online users provide solutions, such as restarting/reinstalling ASP. NET and setting Network Service permissions.

Later, I found that not only this App_Licenses.dll could not be loaded, but even if I delete this reference from References, other DLL could not be loaded. In addition, the same problem also occurs when I reinstall a new AspDotNetStorefront application. Obviously, it is not my solution.

I suddenly remembered my previous experiences of abnormal machine restart. I guess it was caused by file loss or damage during the abnormal restart process. So I used iisreset/stop to stop the IIS service and then started ASP. NET Temporary Folder (in 32bit ,. in NET 2.0, yes% Windows Install Folder % \ Microsoft. NET \ Framework \ v2.0.50727 \ Temporary ASP. NET Files), Delete all files and folders, and then compile the solution after iisreset/start. Everything works.

This problem is not complex, but it is difficult to solve it. I want to help users who encounter the same problems.

Related Article

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: 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.