Friday, December 28, 2012

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))


Some time ago i was working with a ASP.NET application and suddenly got the above error. To resolve the error i did the following.


Delete the content in the temporary .NET framework 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

If the issue still persists delete the content in following folder also.

C:\Users\{user_name}\AppData\Local\Temp\Temporary ASP.NET Files\

No comments:
Write comments
Recommended Posts × +