I created an ASP.net webapplication and i have used assemblies
Microsoft.Office.Server.UserProfiles in it.. i get a run time error
"Could not load file or assembly 'Microsoft.Sharepoint.Sandbox' or one of its dependencies. An attempt was made to load a program with an incorrect format. "
How to resolve this?