views:

30

answers:

2

Hi guys, whenever I build my web solution I get this error :

Could not load file or assembly 'dotless.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=96b446c9e63eae34' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

I have VS 2010 with .NET 4.0 on Windows 7.

The dlls are located inside the Bin folder of the Web Application.

Any suggestions?

Thanks.

+1  A: 

Are you running this from IIS? If so check the framework version that is selected for your site.

Shiraz Bhaiji
I am running it using VS 2010. When Rebuild all the solution I get the error. I check the solution and it is .NET 4.0
Joseph Ghassan
A: 

I deleted temporary asp.net files in :

C:\users\username\AppData\Local\Temp\Temporary ASP.NET Files\

And it worked.

Joseph Ghassan