Biztalk 2013 - Oracle WCF Adapter throws Error “System.NullReferenceException: Object reference no set to an instance of an object”.

Customer was using Biztalk 2013 WCF Oracle Adapter to Insert messages into Oracle Database. The host Instance would crash and we would get error “System.NullReferenceException: Object reference no set to an instance of an object”.

After we took a WCF trace we found that the real error was "Unable to load OraMTS".

 

Resolution:

After some research we found that this error can occur if the Ambient Transaction property on the Port Configuration is checked. Disabling it fixed the issue.