Could not load file or assembly ‘Microsoft.Sharepoint.Sandbox, Version=14.0.0.0

Could not load file or assembly ‘Microsoft.Sharepoint.Sandbox, Version=14.0.0.0, ………….. Posted: June 25, 2013 in SharePoint 2010 , Technical Diary Tags: 'Microsoft.Sharepoint.Sandbox , Could not load file or assembly , DLL Erro , SharePoint2010 , Version=14.0.0.0 0 Assembly error in ASP.Net Web Application during Run Time “Could not load file or assembly ‘Microsoft.Sharepoint.Sandbox, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies. An attempt was made to load a program with an incorrect format.” Issue I created an ASP.Net Web Application. I added a reference to the “Microsoft.SharePoint.dll”. I needed this to use some of the SharePoint Server Object Model assemblies. The application was built successfully, however at runtime it threw the following error – On investigating I found that a “Microsoft.Sharepoint.Sandbox.dll” was created in the bin folder of my Web application. An instinctiv...