Could not load file or assembly … The parameter is incorrect … HRESULT: 0x80070057 (E_INVALIDARG
Resolve with:
I deleted the directory C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyWebService and recompiled and it worked fine.