Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0×80131401)

If you get the error below (or something resembling the error below), you should uncheck the 32-bit only flag in your host and be sure the orchestration will be hosted by a new 64-bit instance. xlang/s engine event log entry: Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘Company.CompanyDivision.BizTalk.AutoWarehouse.Orchestrations.HandleMessageFromAutoWarehouse(8a6f1226-bf81-5a66-3929-0fd9a6362777)’. The service instance will remain suspended until administratively resumed or terminated. If resumed the instance will...

Exception from HRESULT: 0xC0C01B3D 0

Exception from HRESULT: 0xC0C01B3D

If you get the following error: Exception from HRESULT: 0xC0C01B3D Check your project properties > deployment and change the server to either “(LOCAL)” if you are doing a local deployment, or the actual servername to which you are trying to deploy the solution or project.