Could not load file or assembly App_Licenses
I was working normally but now i'm getting this error:
Could not load file or assembly 'App_Licenses, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
I have researched for answers on the web but i can开发者_StackOverflow中文版t find any specific help.
I clean all my asp .net temporary files, rebuild the solution but nothing seems to work.
Thanks in Advance
I have solved my problem deleting my temporary files in both .net frameworks folders
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
For 64bit systems, also check the same under the Framework*64* folders i.e.
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files
Greetings
As a developer, I've had to run this a few times, so I created an automated script. Create a bat or cmd file with the following. You can then run this on startup / shutdown / whenever you want to clear free space.
- DEL /Q /S /F %tmp%
- DEL /Q /S /F "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files"
- DEL /Q /S /F "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files"
- DEL /Q /S /F "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files"
- DEL /Q /S /F "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files"
- DEL /Q /S /F "C:\Windows\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files"
- PAUSE
精彩评论