Blog Archives

HRESULT: 0x80070057 (E_INVALIDARG)

While developing recently on a new project of mine using EF4 and mvc3, the power went off. (Thanks Eskom /facedesk)

So after waiting for 45minutes and restarting my desktop and project etc….when running I got this error.

Could not load file or assembly ‘EntityFramework’ or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

After some research I found out that all I had to do was clear the Temporary ASP.NET Files folder for my framework and viola, the project worked again.

The path is C:\Users\[username]\AppData\Local\Temp\Temporary ASP.NET Files\

Advertisements
%d bloggers like this: