BizTalk 2010 File to File App - make two copies

Hi there, 
I'm learning how to develop applications in BizTalk. 
I crated a simple "file to file" app,expected behavior is that when I drop any file in the rec folder it will get processed, it's name will be appended of the current date-time and it will be put in the snd folder.
All works fine except that sometimes there are two files being created not one.
Example I drop a file named a.txt to rec and two files appear in the snd folder:
2014-04-25T094304a.txt
and 
2014-04-25T094303a.txt
Also, this not always happens. Most of the time  I'm just getting a single file. 
When  I added the %MessageID% to the port configuration, it turns out BizTalk creates two different messages 
Example:
Also, I can see no errors in BizTalk :(

Try using messaging only approach as this type of scenario can be achieved using the messaging only approach.
Just put a filter on the sendport and provide the details of the receive location in the filter.
I agree with la cour, this scenario doesnt demand an orchestartion. I have answered a question on messaging only approach and it also gives you details on how to catch exceptions if using the fault messages routing. If you want you can
refer to this post.
Thank You.
Regards,
Mandar Dharmadhikari.
Please mark as answer if this helps you.

Similar Messages

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • Why does Time Machine make two copies when backing up

    I use Time Machine to back up to an external harddrive and it is duplicating files, how can I fix this?

    Daisy Duke is a third party software app I bought on App Store that helps to find easily find files that you no longer want or need and delete to create more HD space.  I don't believe that I reformatted the source volume, is there a way to check for that.  I have been doing some research that talks about multiple users,  DD did show me the files under two different users and I wonder if it showing me the file but is not really on there twice.  As you can probably tell by now I can get around a computer for personal use but do not have much hardware or software experience.

  • Iphoto 2. importing pics that disappeared makes two copies ?

    how can i keep this from happening ?
    when i import the photos that actually just disappeared from my library, there are two. one regular size (2.3mb or so) and on that is 13kbs or so.
    whats up with this ? and how can i avoid it ?
    i thought that trying to import the "data" from each month's past photos would work, but no luck there either.
    please help. the last thing i want to do on my sunday if take forever deleting these dumb aliases from my library.
    cant wait to upgrade this software is really rough. once i got over 1000 pics in here it ran slow as whatever goes slow..

    i know what you mean, and no, thats not whats happening..
    it was just a random dissappearance.. for real very very strange.
    then upon re-import of the photos that in my my lib i get two..
    but you remind me i'll just select all of the "real"images for import, one by one i guess so that i dont have the aliases in there too.
    any other way ?

  • Can a catalog have references to two copies of an image?

    Here is what I mean.
    My workflow is such that when I import images from my CF card lighroom makes two copies of the images. copy 1 to local drive and copy two to NAS drive (backup). I than filter and work on the images on the local drive. On a usual basis I run a syncing program that syncs the local drive files with the NAS files (changes, deletions, addition etc.) This way I always have two updated copies (actually 3 copies since the NAS is in RAID1) of the files.
    Now, if my local drive crashes (the files I do all the work on), my plan was to be able to get the backup files copied into a new local drive and continue as if nothing happened. Will that work? Will the lightroom catalog recognize the newly copied files and apply all of the correct setting (ratings, adjustments etc.)
    Luckily this hasn't happend yet, but the whole point of backing up is to be ready for when it does.
    Thanks for any info.
    Michael

    Excellent. Thanks fo the answer. I actually just tested it out earlier today with some garbage images.
    deleted them from the hard disk--> opend lightrrom which obviously couldn't find them, closed lightrrom. Copied the images back to the local drive and opened lightrrom again. The images were there with all data intact.
    I guess I finally found a working workflow that gets backed up as well, and with no manual copying etc.
    Gotta love Lightrrom!
    thx again.
    Michael

  • Two copies of the same album on iPhone (but not in iTunes library) ?

    Something very wierd is going on...
    In my iTunes library there are 2 albums which appear to be duplicated on my iPhone.
    In my iTunes library there is only one copy of the following two albums...
    1. Armin Van Buuren - Imagine (11 tracks)
    2. Armin Van Buuren - Shivers (10 tracks)
    Yet on my iPhone these 2 albums are duplicated.
    When viewing on the iPhone in coverflow, the albums appear as...
    1. Armin Van Buuren - Imagine (11 tracks)
    2. Armin Van Buuren - Shivers (10 tracks)
    3. Armin Van Buuren - Imagine (11 tracks)
    4. Armin Van Buuren - Shivers (10 tracks)
    Even stranger, when viewing in Album view (phone held in potrait mode) one album appears 3 times...
    1. Armin Van Buuren - Imagine (11 tracks)
    2. Armin Van Buuren - Imagine (11 tracks)
    3. Armin Van Buuren - Imagine (11 tracks)
    And the other album appears 2 times...
    1. Armin Van Buuren - Shivers (10 tracks)
    2. Armin Van Buuren - Shivers (10 tracks)
    Yet when I look at the music on my iPhone using iTunes (Devices->iPhone->Music), these tracks are not duplicated.
    I cannot work out what the **** is going on.
    Can anyone help ?

    See One cover, too many tracks and One album, too many covers. A tiny spelling discrepancy in the Artist or *Album Artist* field is making one part of the iPod app see two copies of the album, the *Greatest Hits* "bug" then gives each copy of the album all of the tracks rather than just those with the matching value of Artist/Album Artist.
    tt2

  • Two copies on iPhone?

    Why is it happening? It has the same amount of songs. It doesn't show doubles on my library.

    See One cover, too many tracks and One album, too many covers. A tiny spelling discrepancy in the Artist or *Album Artist* field is making one part of the iPod app see two copies of the album, the *Greatest Hits* "bug" then gives each copy of the album all of the tracks rather than just those with the matching value of Artist/Album Artist.
    tt2

  • Duplicate File issue using FTP adapter - BizTalk 2010

    Hi We encountered an Issue of picking Duplicate files in BizTalk 2010 from the FTP Location. Need your assistance on this.
    Mainframe sends multiple files a 0 KB file to FTP and BizTalk picks during a particular service window using FTP Adapter. 
    Receive Location has a pipeline component which decodes the MF file(EBCDICRow format). 
    Send Port transmits the file which is decoded in the Receive location. There is no mapping or orchestration involved. 
    When 2 files are placed in FTP Location. BizTalk Transmits the files successfully
    No suspended messages in BizTalk but we see below error in event log. we tried reproduce the issue but no luck. 
    Host Instance running FTP Location is Clustered  
     There was a failure executing the receive pipeline: "XXXX.XX.Pipelines.Receive_XXX_TransactionsMC_passthru, XXX.XX.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c2d1f476d5c2f97d"
    Source: "EbcdicRowDeCode" Receive Port: "XXX.XX.MCSTransactionsMC" URI: "ftp://XXXXXXXX:21/'XXXX'/MCSDT.DEFKOP.R001.D*.T*" Reason: Unable to cast object of type 'Microsoft.BizTalk.Streaming.BasicStreamWrapper' to type 'XXX.BizTalk.Pipeline.Components.Streams.V3.VirtualStream
    MF Puts below Files at FTP Location
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T002100
    BizTalk Picks ( at specified Service window) and Transmits as 
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T002100
    Regards
    -Sri

    Hi Sri,
    There could be two reason for such a behavior:
    1) Using Non-Clustered Hosts: It is always recommended to use the clustered host for FTP adapter. Because FTP don't allow
    any locking mechanism on the files so in case of non-clustered with multiple host instances you might receive same file multiple times through different host instances.
    2) If the original document is still being written to the FTP server by the host application, the FTP adapter cannot
    delete the document and will retrieve another copy of the document at the next polling interval that is configured for the receive location. This behavior causes document duplication to occur. 
    Workaround could be:
    Configure the host application to write to a temporary folder on the same hard disk as the public FTP folder and to periodically move the contents of the temporary folder
    to the FTP folder. The temporary folder should be on the same hard disk as the public FTP folder to make sure that the move operation is atomic. An atomic operation is an operation that is functionally indivisible. If you write data to the public FTP folder
    by using the BizTalk Server FTP adapter, you can do this by specifying a Temporary Folder property in the FTP Transport Properties dialog box when you configure a send port. If you specify a Temporary Folder property, make sure that this folder is on the same
    physical disk as the public FTP folder.
    Configure the FTP receive location to operate within a service window when the host application is not writing data to the FTP server. You can specify the service window
    when you configure the receive location properties.
    Refer: Known Issues with the FTP
    Adapter
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Attachment File non-English Name DISAPPEARS problem in BizTalk 2010 SMTP Adapter

    Hello ,
    I'm using BizTalk 2010 SMTP Adapter for sending mail with attachments by setting them via property SMTP.Attachments
    //Attachment
    msgEmail(SMTP.Attachments)= AttachmentList;
    I have files in several languages (In English and in Russian partialy) for the example
    My attachment list looks like this:
    "C:\Temp\Files\EnglishNameFile.xml | C:\Temp\Files\RussianFileName_РусскоеИмя.xml";
    After the sending Mail with this attachments the second file (it's name partialy in Russian) received without this part name
    (The non-english part of name is DISAPPEARS)
    like this: 
    RussianFileName_.xml ( must be RussianFileName_РусскоеИмя.xml)
    The NON-English part is DISAPPEARS!!!
    And if i have file that doesn't have latin latters (non-english) at all  than BizTalk SMTP Adapter change name
    to default one like ATT41233.xml
    I found this behaviour occur in other non-english languages also!!!
    Unfortunately i'm not found any info about this
    Any help would be very
    much appreciated
    Vadim

    Refer to this link -
    http://social.msdn.microsoft.com/Forums/en-US/163a47cf-db31-49a5-9ee3-ce9272ba24ff/setting-contenttransferencoding-in-dynamic-smtp-port?forum=biztalkgeneral
    There is an option of the Multipart message that controls the filename and the charset used to control how the attachment is treated, including content-transfer encoding.
    Regards.

  • I want to upgrade my mac os 10.6.8 to 10.8.2 , will this erase all my files,apps,etc ? and will i loose the licence of microsoft office 2011, how to make a backup on a pendrive ?  I have files of approx 180 gb , THANK YOU

    I want to upgrade my mac os 10.6.8 to 10.8.2 , will this erase all my files,apps,etc ? and will i loose the licence of microsoft office 2011, how to make a backup on a pendrive ?  I have files of approx 180 gb , THANK YOU !!

    Forget the Pendrive stategy...
    Before attempting any Major Upgrade... get yourself an External Hard Drive... and create a Bootable Clone Backup of your current Hard Drive...
    By far the easiest way to make such a Backup, is to use something like
    SuperDuper  http://www.shirt-pocket.com/
    or CCC  http://www.bombich.com/
    That way, should anything untoward happen during the Upgrade,
    you will NOT LOSE ANYTHING.
    (Get an EHD that is at least equal to your current Drive...)
    Also, Check here for compatibility of 3rd party Software you may be using...
    http://roaringapps.com/apps:table
    You should also consider more RAM... Get the Maximum you can for your Mac...
    It is important to get the Correct and Matching RAM
    See Here  >  OWC RAM  >  http://www.macsales.com

  • Zipping files/Compressing files in BizTalk 2010

    Hi all!
    I have a BizTalk solution that needs to pick up all files in a directory, zip them up, and send them to a customer. I'm using BizTalk 2010.
    I tried using a 3rd party adapter I found on CodeProject but it would not work reliably. Are there other options out there for BizTalk 2010?

    Hi Sean,
    Check out the article,
    http://social.technet.microsoft.com/wiki/contents/articles/11679.biztalk-list-of-custom-pipeline-components.aspx  here you will find zip pipeline component.

  • Bridge Files app and media card encryption..

    Just wanted to note clearly, in hopes that someone from RIM will see, that opening files over the Bridge Files app is almost useless if your BES admins force media card encryption on, like mine do. All files saved on the MicroSD card are encrypted and have a .rem extension appended to the filename. When this happens, the Bridge Files app is too dumb to see the file and decrypt it.
    It is clear to me that this could be fixed in a software update and I hope it will be. It dramatically limits the usefulness of the bridge. I can't open any file saved with the bridge browser, or anything that comes as an email attachment. Most annoying..
    Can anyone comment on whether RIM has made a statement anywhere on whether this will be fixed or not?
    Thanks!!
    Solved!
    Go to Solution.

    That is great news, please mark solution.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Can't open Project 2010 file in Project 2007

    I am trying to open a Project 2010 file in Project 2007, I get an error that asks if I would like to download the converter and I say yes and get a generic product page for Project 2010. I can't locate the file that I need, how do I find it?

    Addressed here:
    http://office.microsoft.com/en-us/project-help/opening-project-mpp-files-from-different-versions-HA001045020.aspx
    You have reached this page because the Project MPP file that you are trying to open was created in a later version of Microsoft Project. Check below to determine if a converter for opening later files is available to you.
    Which Project version are you using?
    Which file version are you trying to open?
    Notes
    Project 2007
    Project 2010
    No converter is available. If you received a Project 2010 file that you want to open using Project 2007, ask the person who sent the file to first save it to the Project 2007 file format.
    Alternately, you can install the free
    trial version of Project 2010, and then view the file, or save it to the Project 2007 file.
    Note Once the trial version of Project 2010 has expired, it can continue to open and view project files, but it won’t be able to save them.
    Project 2003
    Project 2007
    There are two possibilities here.
    If you are using Project 2003 with SP3, project files from Project 2007 can be opened read-only.
    Download Microsoft Office Project 2003 Service Pack 3.
    If you are using Project 2003 without SP3, there is no converter available. Upgrade to Project 2003 with SP3, or ask the person who sent the Project 2007 or later file to save the file first in the Project 2000-2003 file format.
    Project 2003
    Project 2010
    No converter is available. Ask the person who sent the Project 2010 file to save the file first in the Project 2000-2003 file format.
    Project 2000 or Project 2002
    Project 2007 or Project 2010
    No converter is available. Ask the person who sent the Project 2007 or later file to save the file first in the Project 2000-2003 file format.
    Project 98
    Project 2000 and later versions
    No converter is available. Consider upgrading to the latest version of Project, or install the free
    trial version of Project 2010 to try out Project’s enhanced functionality.
    Alternately, ask the person who sent the Project 2000-2003 file to save the file first in the Project 98 file format.
    Note Project 2007 and later versions of Project do not have the ability to save to the Project 98 file format.”

  • Can we compare file contents of two files in the Application server?

    Hi,
    A file is generated daily to the application server. and i need to compare the generated file to the file generated on the previous day and prepare a report.
    Can we compare file contents of two generated files present in the Application server?
    If there is any alternative, please suggest.
    regards
    cs

    yes we can compare if the app server is Unix.
    cmp compare two binary files and report if different
    cmp is silent if the files are the
         same;
    if they differ, the byte and line number at which the first
    difference occurred is reported.
    REPORT ZUNIX line-size 400
                    no standard page heading.
    data: unixcom like   rlgrap-filename.  
    unixcom = 'cmp file1 file2'.
    data: begin of tabl occurs 500,
            line(400),
          end of tabl.
    data: lines type i.
    start-of-selection.
      refresh tabl.
      call 'SYSTEM' id 'COMMAND' field unixcom
                    id 'TAB'     field tabl[].
    "if the files are different then you will some content in tabl
    Regards
    Viajy  Babu Dudla

  • How to do a clean install go yosemite and then just install certain files, apps, documents, phopt's, etc...from time machine backup?

    How to do a clean install of yosemite (have Mavericks 10.9.5 now) and then just install certain files, apps, documents, phopt's, etc...from time machine backup?

    Do a backup before doing anything.
    If you want to make a clean install of Mountain Lion, boot into the Recovery Volume (command - R) on a restart, use Disk Utility to Verify/Repair  the disk and run Repair Permissions. Then erase the hard drive using Mac OS Extended (Journaled) format using the Options button. Reinstall Yosemite. Restart normally and test. Use Setup Assistant or Migration Assistant to import what you want.
    Clean Install

Maybe you are looking for

  • My iPhone 4s is not recognized in windows or itunes

    I just upgraded from the iPhone 3s to the 4s. I tried to connect to iTunes on my Windows 7 computer and the device is not recognized in either Windows Explorer or iTunes. Did some troubleshooting with a different USB cable, checked that the USB conne

  • Subscribed to uk but living in Italy and can't get English movies

    I have Apple TV from the uk, my iTunes account is subscribed to the uk but now am living in Italy and when I try to buy a movie, language is in Italian. I have checked my settings and all set to English, is there anyway to change the movies back to o

  • How to rebuild index in E-Business

    Hi As on core DB side we can check index status for rebuild with command select owner,index_name,blevel,last_analyzed from dba_indexes where blevel>3 order by last_analyzed and after that alter index <index_name> rebuild compute statistics; my questi

  • IDVD burning - but playback shutters

    Recently I made a quick 8:31 slideshow using iDVD. I added a 3:36 mp3 file for background sound (which will loop). I select the Road Trip template in 4:3 and then completed the slideshow. Burned it and then played it in a DVD player. The sound and sl

  • Case expression in where clause

    I have requirement to select a columns based on condition Datacode should (when the column id=1 THEN 'GILL' ELSE WHEN ID=11 THEN IT Should be 'HEL' how can i write in case statment AND DATA_CD =CASE WHEN  ID=1  THEN 'GIL'                          WHE