<div dir="ltr"><div><font face="Consolas"><font face="Consolas">ok, I think I found the problem, a typo in my code.  The quickfix error message is a bit cryptic, but I searched for LastPx in my code and found this:</font></font></div>
<div><font face="Consolas"><font face="Consolas">AvgPx_fx6 = msg.IsSetAvgPx() ? (</font></font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">decimal</font></font></font><font face="Consolas"><font face="Consolas">?)msg.LastPx.getValue() : </font></font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">null</font></font></font><font face="Consolas"><font face="Consolas">,</font></font></div>
<div><font face="Consolas"><br></font></div><div><font face="Consolas">that should be AvgPx on the right, so I was a looking for LastPx without checking for its existence.</font></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, Jan 10, 2014 at 8:43 PM, Manuel Lopez <span dir="ltr"><<a href="mailto:lopez.post@gmail.com" target="_blank">lopez.post@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Unfortunately that didn't solve the problem--quickfixn is still rejecting messages based on a missing tag 31, even with data dictionary off.</div><div>The code is in session.cs, and it is going through this and raising a CONDITIONALLY_REQUIRED_FIELD_MISSING error.</div>

<div><br></div><div>            catch (FieldNotFoundException e)<br>            {<br>                this.Log.OnEvent("Rejecting invalid message, field not found: " + e.Message);<br>                if ((SessionID.BeginString.CompareTo(FixValues.BeginString.FIX42) >= 0) && (message.IsApp()))<br>

                {<br>                    GenerateBusinessMessageReject(message, Fields.BusinessRejectReason.CONDITIONALLY_REQUIRED_FIELD_MISSING, e.Field);<br>                }<br>                else<br>                {<br>

                    if (msgType.Equals(Fields.MsgType.LOGON))<br>                    {<br>                        this.Log.OnEvent("Required field missing from logon");<br>                        Disconnect("Required field missing from logon");<br>

                    }<br>                    else<br>                        GenerateReject(message, new QuickFix.FixValues.SessionRejectReason(SessionRejectReason.REQUIRED_TAG_MISSING, "Required Tag Missing"), e.Field);<br>

                }<br>            }<br></div><div class="im"><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 10, 2014 at 7:21 PM, Manuel Lopez <span dir="ltr"><<a href="mailto:lopez.post@gmail.com" target="_blank">lopez.post@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr">I think I'll set UseDataDictionary to "N."    <div class="gmail_extra">

<br></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>