none
Host File Adapter :The host file qualified name is invalid. A qualified name can contain up to 22 parts and have a maximum length of 44 characters." RRS feed

  • Question

  • Hi Folks ,

     When I am trying to transfer the file to mainframe , I am getting this error:->The adapter failed to transmit message going to send port "SendPort_HFTest1" with URL "HostFiles://URL". It will be retransmitted after the retry interval specified for this Send Port. Details: "The host file qualified name is invalid. A qualified name can contain up to 22 parts and have a maximum length of 44 characters."

     I found Microsoft release a hotfix for this issue for HIS 2010, https://support.microsoft.com/en-us/kb/2699274

    I am experiencing the same issue with HIS 2013.  If any one have any suggestion on this issue please let me know.

    Thanks, Chandra

    Thursday, July 28, 2016 6:03 PM

Answers

  • Hi,

    Try changing the file name per this article if the hotfix is not working at the moment along with escalating it to the MS support.

    https://msdn.microsoft.com/en-us/library/aa578688.aspx

    The file mask is a string that specifies the type of file that the File receive handler will pick up from the receive location. The file name is a string that specifies the name of the file where the File send handler will write the message.

    The following restrictions apply to the file name and file mask properties:

    • Only one file mask or file name can be specified per receive location or send port.

    • The full path or part of the path along with the file mask or file name is not allowed. The file mask and file name always represent a name without the path.

    • The file mask and file name are not case-sensitive.

    • The file name cannot contain any of the following characters: < > : / | " ? * ;

    • The file mask cannot contain any of the following characters: < > : / | " ;

    • The following reserved device names cannot be used as the name of a file: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. In addition, any combinations of these with extensions are not allowed.

    • The File adapter considers only the first three characters in a file mask extension when matching files in receive locations with a mask. For example, if a file mask is "*.xml", files with the extension ".xml[any other symbol]" will be picked up. In addition, if a file mask is "*.xmln", files with the extension ".xml[any other symbol]" will be picked up.

    • The total length of the file path, file mask, and file name (without macro substitution) must not exceed 256 characters. (This is a restriction of the MessageBox database.)

    • The file path cannot begin with "\\?".

    • Mapped network drive letters cannot be used in the file path, because they are user session based.

    The BizTalk Messaging Engine always validates the file name and file mask properties at design time by using the items previously listed. In addition, the File adapter validates the file name and file mask properties at run time if the adapter sends the message on a dynamic port.

    System_CAPS_noteNote

    The File adapter does not pick up system files or read-only files. Only disk-based files are picked up, and not device files.




    Regards Pushpendra K Singh

    Sunday, July 31, 2016 7:11 PM

All replies

  • Hi,

    The error itself suggest the answer, It looks no one have reported issue with HIS 2013 and hence no hotfix is available.

    1) Suggest to report a issue with Microsoft Support Team (https://support.microsoft.com/en-us/)

    2) Till the time you can check with the workaround provided (try to remove the leading and trailing spaces [which includes tab, space characters]).

    Hope this Helps!!!!

    Please Mark As Answered If you Satisfy with Reply.

    Friday, July 29, 2016 4:15 AM
  • Hi,

    Try changing the file name per this article if the hotfix is not working at the moment along with escalating it to the MS support.

    https://msdn.microsoft.com/en-us/library/aa578688.aspx

    The file mask is a string that specifies the type of file that the File receive handler will pick up from the receive location. The file name is a string that specifies the name of the file where the File send handler will write the message.

    The following restrictions apply to the file name and file mask properties:

    • Only one file mask or file name can be specified per receive location or send port.

    • The full path or part of the path along with the file mask or file name is not allowed. The file mask and file name always represent a name without the path.

    • The file mask and file name are not case-sensitive.

    • The file name cannot contain any of the following characters: < > : / | " ? * ;

    • The file mask cannot contain any of the following characters: < > : / | " ;

    • The following reserved device names cannot be used as the name of a file: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. In addition, any combinations of these with extensions are not allowed.

    • The File adapter considers only the first three characters in a file mask extension when matching files in receive locations with a mask. For example, if a file mask is "*.xml", files with the extension ".xml[any other symbol]" will be picked up. In addition, if a file mask is "*.xmln", files with the extension ".xml[any other symbol]" will be picked up.

    • The total length of the file path, file mask, and file name (without macro substitution) must not exceed 256 characters. (This is a restriction of the MessageBox database.)

    • The file path cannot begin with "\\?".

    • Mapped network drive letters cannot be used in the file path, because they are user session based.

    The BizTalk Messaging Engine always validates the file name and file mask properties at design time by using the items previously listed. In addition, the File adapter validates the file name and file mask properties at run time if the adapter sends the message on a dynamic port.

    System_CAPS_noteNote

    The File adapter does not pick up system files or read-only files. Only disk-based files are picked up, and not device files.




    Regards Pushpendra K Singh

    Sunday, July 31, 2016 7:11 PM