Hi Rich, i tried it with different custom entities it gives same error. and the same process works fine for customizable entities.
I am working on CRM record creation using MS BTS 2006 adapter for MS CRM 4.0. I am able to create records for customizable entities [e.g. Account, contact]. But I am getting an error when trying to create records for custom entities. I also tried creating custom entity records using CRM web client as well as by windows application using web services. And it’s working with it.
I am getting an error when using BTS adapter:
Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'BTS_Imports.Orchestration_3(e66520ec-cf1e-85d6-f555-3e682fa807c4)'. The service instance will remain suspended until administratively resumed or terminated. If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception. InstanceId: cdf5eba7-c431-4256-ab65-61074ce62313 Shape name: ShapeId: Exception thrown from: segment -1, progress -1 Inner exception: An error occurred while processing the message, refer to the details section for more information Message ID: {502907CF-34BC-4794-864F-15B9D1A8F957} Instance ID: {C780ADA4-B411-4C36-AC7B-846AF059EC1A} Error Description: There is an error in the XML document.
Exception type: XlangSoapException Source: Microsoft.XLANGs.BizTalk.Engine Target Site: Void VerifyTransport(Microsoft.XLANGs.Core.Envelope, Int32, Microsoft.XLANGs.Core.Context)
The following is a stack trace that identifies the location where the exception occured:
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.VerifyTransport(Envelope env, Int32 operationId, Context ctx)
at Microsoft.XLANGs.Core.Subscription.Receive(Segment s, Context ctx, Envelope& env, Boolean topOnly) at Microsoft.XLANGs.Core.PortBase.GetMessageId(Subscription subscription, Segment currentSegment, Context cxt, Envelope& env, CachedObject location) at BTS_Imports.Orchestration_3.segment1(StopConditions stopOn) at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)