Re: Send Port Functionality

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Stephen W. Thomas (StephenWThomas_at_discussions.microsoft.com)
Date: 10/09/04


Date: Fri, 8 Oct 2004 19:35:02 -0700

I think you will have to use Specify Later in order to set this property
otherwise it will get overwritten when your redeploy or your will get a
deployment error.

You can see it now though and change it if you want. I would suggest using
Specify Later in the long run though.

Just follow these steps:
1. Open BizTalk Explorer
2. Find your send port that was created by your Orchestration
3. Right click, go to Edit
4. Under Transport, go to Primary
5. Transport Type should be File, so click on the Address (URI) field
6. You should a new window and you should see Copy Mode with a drop down
box.
7. Change it to Overwrite
8. Stop and Restart your host

That would work for you.

Let me know if you have any additional questions.

Stephen W. Thomas
http://www.geekswithblogs.net/sthomas

"chabber" wrote:

> No, my Send Port is configured as "specify now", so BizTalk automatically
> creates the Send Ports for me when the orchestration is deployed. I still
> can't find the Copy Mode property, however. How are you getting to it?
> What are you clicking on to see the property?
>
>
> "Stephen W. Thomas" <StephenWThomas@discussions.microsoft.com> wrote in
> message news:D944A1A0-593E-4D20-88B2-DC240305E62D@microsoft.com...
> > Oh, sorry. That setting is on the send port outside the Orchestration.
> >
> > Are you trying to use Dynamic Send Ports? If so, I would guess you'd
> have
> > to set the FILE.CopyMode context property to 2. I think that would work,
> but
> > I have never tried it.
> >
> > The line of code inside the message construct shape would be:
> > YourOutMessage(FILE.CopyMode) = 2;
> >
> > If you are using Dynamic Send Ports and need help with this just let me
> know.
> >
> > Stephen W. Thomas
> > http://www.geekswithblogs.net/sthomas
> >
> >
> > "chabber" wrote:
> >
> > > I see the following properties for the Send Port:
> > >
> > > Binding, Communication Direction, Description, Identifier, POrtType,
> Report
> > > To Analyst, Send Pipeline, Transport, URI
> > >
> > > But, no Copy Mode...I am running BizTalk Server 2004. Is there any
> update
> > > that provides this functionality? I thought I had the latest of
> everything,
> > > though. Even when I run the wizard for the Send Port, to set the
> Adapter
> > > Type (e.g. File), there still is no copy mode...need help.
> > >
> > > Chris
> > >
> > > "Stephen W. Thomas" <StephenWThomas@discussions.microsoft.com> wrote in
> > > message news:F67F9255-7605-4697-BF41-76A5BD9A0F8C@microsoft.com...
> > > > Hello.
> > > >
> > > > In the send port when you set the File Adapter Properties (like
> location
> > > and
> > > > file name). They have a setting called Copy Mode. If this is set to
> > > > Overwrite then the file will be overwritten.
> > > >
> > > > Stephen W. Thomas
> > > > http://www.geekswithblogs.net/sthomas
> > > >
> > > >
> > > > "chabber" wrote:
> > > >
> > > > > If I send a file to a port (with a transport of "File") and the
> filename
> > > > > already exists in this port, BizTalk will generate the error message
> > > below
> > > > > and suspend the message:
> > > > >
> > > > > The adapter failed to transmit message going to send port
> > > > > "C:\Test\%SourceFileName%". It will be retransmitted after the retry
> > > > > interval specified for this Send Port. Details:"The FILE send
> adapter
> > > cannot
> > > > > open file C:\Test\filename.txt for writing. ".
> > > > >
> > > > > Is there a way to get the Send Port to overwrite this file, instead
> of
> > > > > trying to open the file for writing?
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > >
> > >
> > >
> > >
>
>
>



Relevant Pages

  • Re: Send Port Functionality
    ... find a good reason for late-binding the ports. ... > I think you will have to use Specify Later in order to set this property ... Find your send port that was created by your Orchestration ...
    (microsoft.public.biztalk.general)
  • RE: ports are oot showing up
    ... "Nik Crabtree" wrote: ... > Are your orchestration ports 'Specify Now' or 'Specify Later'? ...
    (microsoft.public.biztalk.general)
  • RE: How to change webport names?
    ... ports yourself. ... The Specify Now builds the dynamic port names for you, ... when you deploy your orchestration, the "Specify Now' ports are automatically ... want to override any of the port properties, you have to do it in the ...
    (microsoft.public.biztalk.general)
  • RE: ports are oot showing up
    ... Are your orchestration ports 'Specify Now' or 'Specify Later'? ... "Venkat" wrote: ...
    (microsoft.public.biztalk.general)
  • Re: Inconsistency in Adapters lists?
    ... The reason is that ports in an orchestration are not the same as the real physical Ports. ... Ports in an orchestration are logical endpoints of communication from the Orchestration to the Message Box. ... This means that after you deploy the orchestration you will "bind" the orchestration's logical ports to real physcial ports (the ones that you create in the BizTalk Explorer). ... The reason that you only see those protocols, is that those are the only ones that can work with just a simple URI. ...
    (microsoft.public.biztalk.general)