FIX: The %src_filename% Symbol Does Not Work with the Pass-Through Flag (316637)



The information in this article applies to:

  • Microsoft BizTalk Server 2002
  • Microsoft BizTalk Server 2000 SP1
  • Microsoft BizTalk Server 2000 SP1a

This article was previously published under Q316637

SYMPTOMS

The %src_filename% symbol does not retain the correct file name and path if you use the pass-through flag to submit the input file to BizTalk Server. Instead of the name and path of the input file name being passed to the output file name by these symbols, the actual text of the symbol name is passed to the output file name.

RESOLUTION

BizTalk Server 2000

To resolve this problem, obtain the latest service pack for Microsoft BizTalk Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

299664 INFO: How to Obtain the Latest BizTalk Server 2000 Service Pack

BizTalk Server 2002

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next version of BizTalk Server that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
    Date        Time   Version     Size     File name
   -------------------------------------------------------
   09-Aug-2003  00:27  3.0.2501.0  139,536  Cisapi.dll 
   09-Aug-2003  00:27  3.0.2501.0  549,136  Ciscore.dll 
   09-Aug-2003  00:27  3.0.2501.0  426,256  Cisengine.dll 
   09-Aug-2003  00:26  3.0.2501.0   53,520  Dbaccessor.dll 
   09-Aug-2003  00:27  3.0.2501.0  368,912  Mscis.exe

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

By using the %src_filename% symbol that is available in BizTalk Server 2000 Service Pack 1 (SP1) and BizTalk Server 2002, you can dynamically modify output file names by using the File transport.

You can use the %src_filename% symbol to generate output files that have the name and the path of the original input file. For example, when you are configuring a BizTalk Messaging Port, you can configure the File transport address as the following:
file://c:\outputfile%src_filename%.txt
In this example, if you name the input file test.xml, the output file name becomes
outputfiletest.xml.txt
if you use the pass-through flag to submit the input file to BizTalk Server.

For the File transport type, you can include characters and symbols to dynamically modify the output file name. The following table contains the symbols that you can use with the File transport type:

SymbolDescriptionUnique file name
%datetime%Date and time, in milliseconds, of the file creation
The time is based on Greenwich Mean Time.
No
%document_name%Name of the document definition that is used to process the source fileNo
%server%Host name of the server that processed the documentNo
%src_filename%Name of the file that is being submitted for processingNo
%tracking_id%Globally unique tracking numberYes
%uid%Counter that increases over time, represented in milliseconds
This number is reset when you restart the server.
No

Modification Type:MinorLast Reviewed:10/12/2005
Keywords:kbHotfixServer kbQFE kbbug kbpending KB316637 kbAudDeveloper