<html>
 <head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 </head>
 <body>
  <span dir="ltr" style="margin-top:0; margin-bottom:0;">So did you maybe specify FIX50SP2 as transport dictionary?</span> <br>
  <div>
   <br>
   <div>
    <p>Nov 8, 2022 20:47:06 Christoph John <christoph.john@macd.com>:</p>
   </div>
   <blockquote style="margin:0;border-left:3px solid #ccc; padding-left:10px"><span dir="ltr" style="margin-top:0; margin-bottom:0">The session level messages should be in the session level factory, I.e. FIXT.1.1.  At least in the Java variant, don't know how quickfixn handles this. </span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0">Cheers</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0">Chris</span> <br>
    <div><br>
     <div>
      <p>Nov 8, 2022 20:38:49 Francis Gingras <francis@collective2.com>:</p>
     </div>
     <blockquote style="margin:0;border-left:3px solid #ccc; padding-left:10px">
      <div dir="ltr">
       I found the problem, but I don't know if the cause is the FIX spec or the QF implementation.<br><br>GenerateLogon does not add the MsgType field for the Logon because FIX50SP2 does not have that message type.<br><br>FIX50SP2.Create(string beginString, string msgType) => switch ("A") results in a message with no tag 35 which is then rejected by Session.SendRaw() due to  message.Header.GetString(Fields.Tags.MsgType) => FieldNotFoundException.<br>
       <div>
        <div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
         <div dir="ltr">
          <div dir="ltr">
           <div><font size="2"><br></font>
           </div>
           <div><font size="2">Francis Gingras</font>
           </div>
           <div><br>
           </div>
          </div>
         </div>
        </div>
       </div>
      </div>
     </blockquote>
    </div>
   </blockquote>
  </div>
 </body>
</html>