Thursday, January 7, 2010

ERROR: Unable to load one or more of the requested types

When I was trying to deploy a web part using CTP release of VSeWSS 1.3 for Visual Studio 2008, I got the following error:
VSeWSS Service Error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information

The solution:
I've found the following steps solving this error, here are the steps:
1. Add the All referenced assemblies to the GAC
2. Restart IIS
3. Clean the project in Visual Studio
4. Redeploy your solution again, Then everything will work.

Thanks,
Mohammad AlShafe'i