Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Dynamic Send Ports- File Adapter
- This topic has 11 replies, 1 voice, and was last updated 5 years, 3 months ago by
biztalkgurus.
-
AuthorPosts
-
-
July 7, 2010 at 6:54 AM #25154
Hi everyone! I’m working witch Biztalk 2009, I’m trying yo make a simple orchestration that copy a xml file from a folder to another. I want set the folder destination on runtime, for that porpoise I use a expression shape with this code:
ExitPort(Microsoft.XLANGs.BaseTypes.Address)=”file://c:\\FILE\\OUT\\exit1.xml”;
ExitPort(Microsoft.XLANGs.BaseTypes.TransportType)=”FILE”;But when the ochestration run appear this error information in admin console: This service instance exists to help debug routing failures for instance “{6718B896-A2FF-4701-B840-3CB2BEA03564}”. The context of the message associated with this instance contains all the promoted properties at the time of the routing failure.
Anyone have any ideas? I’ve configured the send port as dynamic and i send the same message that the orchestration received.
Thanks
-
July 7, 2010 at 9:48 AM #25156
Hi,
Try just the following line of code in your Expression shape:
ExitPort(Microsoft.XLANGs.BaseTypes.Address)=”FILE://c:\FILE\OUT\exit1.xml”;
Also, make sure that the path “c:\FILE\OUT\exit1.xml” is valid.
Daniel.
-
July 7, 2010 at 10:31 AM #25158
I’ve tried but there is the same error…
-
July 7, 2010 at 10:44 AM #25159
Hi,
After you re-deployed your modified orchestration assembly, try restarting your BizTalk host instance to flush your system of any references to old assemblies, and see if that works.
Daniel.
-
July 8, 2010 at 1:59 AM #25169
I restarted the host, delete the application but it’s not working… I took a llok to the event viewer and i’ve seen the next error(I think there is something very basic that I’m not doing, but I don’t know what):
xlang/s engine event log entry: An unrecoverable exception (see the ‘inner exception’ below) has occurred.
Service Name: PruebaPatterns.Orch
Service Id: cce62be6-ff1d-1aa0-db4b-dfd3f5f85ec4
Instance Id: bf189d74-f0df-4853-9fb0-a21451d8e46d
Exception occurred when persisting state to the database.
Exception type: PersistenceException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void Commit()
The following is a stack trace that identifies the location where the exception occuredat Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.Commit()
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.ScheduleComplete(Boolean terminate)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.ScheduleComplete(Context ctx, Boolean finalPersisting, Boolean terminate)
at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context ctx, Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean terminate)
at Microsoft.XLANGs.Core.ServiceContext.OnCommit()
at PruebaPatterns.Orch.segment0(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Additional error information:A batch item failed persistence Item-ID 6db972d5-102a-4659-a643-e9dae47f31e0 OperationType MAIO_CommitBatch Status -1061151998 ErrorInfo The published message could not be routed because no subscribers were found. .
Exception type: PersistenceItemException
Additional error information:Failed to publish (send) a message in the batch. This is usually because there is no one expecting to receive this message. The error was The published message could not be routed because no subscribers were found. with status -1061151998.
Exception type: PublishMessageExceptionFor more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-
July 8, 2010 at 8:33 AM #25172
Hi,
Based on the error messages that you are getting:
“Failed to publish (send) a message in the batch. This is usually because there is no one expecting to receive this message. The published message could not be routed because no subscribers were found.“
Check the send pipeline of your Dynamic Send port: what kind of pipeline are you using there? It should be XMLTransmit, since you are outputting an XML file.
Daniel.
-
July 9, 2010 at 2:12 AM #25182
Thanks!! It was that!
It’s solved 😉
-
July 9, 2010 at 3:38 AM #25183
Oh no, I was in a mistake. The orchestration still doesn’t work… Now, i get the next error(I don’r know waht i’m doing wrong it cant’ be so difficult change a dynamic port….):
Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘Din.Orche1(16c48ad0-ac2d-c955-c705-2b3414c16e32)’.
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: a69fee76-f4a2-44e6-8976-dac925d99885
Shape name: Send_1
ShapeId: 202f3e11-0d37-4be8-afa2-822de30c988c
Exception thrown from: segment 1, progress 11
Inner exception: Failed while attempting to send message ‘Message_1’.
Exception type: SendFailedException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void WriteMessageState(Microsoft.BizTalk.Interop.IBTPEPInfoLookup, System.Guid, Microsoft.XLANGs.BaseTypes.XLANGMessage, Microsoft.XLANGs.Core.Segment, System.String, System.String, System.Collections.IList, Boolean, System.Collections.IList)
The following is a stack trace that identifies the location where the exception occured-
July 9, 2010 at 8:07 AM #25186
Hi DavidBZ,
You probably have an older version of the orchestration assembly (DLL) in your GAC. Try uninstalling that, and re-install the newer version of the DLL in GAC using gacutil command.
Daniel.
-
-
-
-
-
-
-
-
November 16, 2020 at 9:08 AM #50228
biztalkgurus
First Frost by Sarah Addison Allen : 9781250190970
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.