Microsoft Knowledge Base Email Alertz

FIX: Error message when you use BizTalk Accelerator for SWIFT 2.1 or 2.3 to process an MT340 message: Year for tag 14C must be in YYYY Format

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 945105 - Last Review: March 3, 2008 - Revision: 1.1

FIX: Error message when you use BizTalk Accelerator for SWIFT 2.1 or 2.3 to process an MT340 message: "Year for tag 14C must be in YYYY Format"

Hotfix download is availableHotfix Download Available
View and request hotfix downloads

On This Page

SYMPTOMS

When you use Microsoft BizTalk Accelerator for SWIFT 2.1 or Microsoft BizTalk Accelerator for SWIFT 2.3 with 2007 Message Pack to process messages, MT240 messages incorrectly fail in schema validation. When this problem occurs, you receive an error message that resembles the following:
<?xml version="1.0" encoding="utf-8"?><SWIFT_ERROR MessageType="340"><XmlValidationError ExceptionType="System.Xml.Schema.XmlSchemaException: The 'Year' element has an invalid value according to its data type." LineNumber="1" LinePosition="2197" SchemaName="http://schemas.microsoft.com/BizTalk/Solutions/FinancialServices/SWIFT/Category3/MT340#SWIFT_CATEGORY3_MT340_Interchange" Severity="Error"><Message>Year for tag 14C must be in YYYY Format.</Message></XmlValidationError></SWIFT_ERROR>

CAUSE

This problem occurs because of a bug in the MT340 message schema.

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have either BizTalk Accelerator for SWIFT 2.1 Service Pack 1 or BizTalk Accelerator for SWIFT 2.3 Service Pack 1 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix. However, you must restart Internet Information Services (IIS) and the BizTalk Server host Instance after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Mt340.xsdNot Applicable415,66821-Nov-200717:02
Mt340.xsnNot Applicable168,24721-Nov-200717:04
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The following hotfix installation instructions are also included in the hotfix package:
  1. Back up the MT340.xsn and MT340.xsd files that are currently installed under the SWIFT Message Pack 2007 installation folder.
  2. Move the schema file and the Microsoft Office InfoPath form file to the appropriate folder under the Message Pack 2007 installation folder:
    • For the MT340.xsd file:Drive:\Program Files\Microsoft BizTalk Accelerator for SWIFT 2007 Message Pack\SWIFT Messages\A4SWIFT-SRG2007\Category 3\MT340
    • For the MT340.xsn file:Drive:\Program Files\Microsoft BizTalk Accelerator for SWIFT 2007 Message Pack\SWIFT InfoPath Forms\A4SWIFT-SRG2007\Category 3
  3. To publish an individual form the MT340.xsn file, see the "Publishing InfoPath Form Templates" topic in the A4SWIFT 2.1 or A4SWIFT 2.3 Help file.

    Note A sub-section in this topic describes how to publish a single message form template.
  4. Redeploy the MT340.xsd file if it has already been deployed in any of the Microsoft BizTalk Server runtime computers.

    Note Multiple BizTalk Server runtime computers may exist. In this case, after you deploy the hotfix that is described in this article, you must recompile and install the assembly that contains the latest MT340.xsd file in the Global Assembly Cache (GAC) on all the other BizTalk Server runtime computers.
  5. Restart IIS and the BizTalk Host Instance services.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://kbalertz.com/Feedback.aspx?kbNumber=824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Microsoft BizTalk Server 2006 Standard Edition
  • Microsoft BizTalk Server 2006 Enterprise Edition
  • Microsoft BizTalk Server 2006 Developer Edition
  • Microsoft BizTalk Accelerator For SWIFT 2.1 Standard Edition
  • Microsoft BizTalk Accelerator for SWIFT 2.3 Standard Edition
  • Microsoft BizTalk Accelerator For SWIFT 2.1 Enterprise Edition
  • Microsoft BizTalk Accelerator for SWIFT 2.3 Enterprise Edition
Keywords: 
kbautohotfix kbexpertiseinter kbfix kbhotfixserver kbqfe KB945105
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate