<div dir="ltr"><div style="font-size:12.8px">Hi,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The exception ConfigError occurred at the start of the initiator with the message:<br><i>Configuration failed: No value for key: ReconnectInterval</i><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Stacktrace:    <i>at QuickFix.Dictionary.GetString(String key)</i><br><br></div><div style="font-size:12.8px">We have implemented the instantiation of the SocketInitiator as follows:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div><i>var dictionnary = new Dictionary();</i></div><div><i>var settings = new SessionSettings();</i></div><div><i><br></i></div><div><i>[...]</i></div><div><i><br></i></div><div><i>// Session</i></div><div><i>dictionnary.SetString("ConnectionType", "initiator");</i></div><div><i>dictionnary.SetString("StartTime", "21:00:00");</i></div><div><i>dictionnary.SetString("EndTime", "21:00:00");</i></div><div><i>dictionnary.SetString("StartDay", "Sunday");</i></div><div><i>dictionnary.SetString("EndDay", "Friday");</i></div><div><i><br></i></div><div><i>// Validation</i></div><div><i>dictionnary.SetBool("UseDataDictionary", true);</i></div><div><i>dictionnary.SetString("DataDictionary", -----");</i></div><div><i>dictionnary.SetBool("ValidateFieldsOutOfOrder", false);</i></div><div><i>dictionnary.SetBool("ValidateUserDefinedFields", false);</i></div><div><i>dictionnary.SetBool("ValidateFieldsHaveValues", false);</i></div><div><i><br></i></div><div><i>// Miscellaneous</i></div><div><i>dictionnary.SetLong("HttpAcceptPort", ------);</i></div><div><i><br></i></div><div><i>// Initiator</i></div><div><i><b>dictionnary.SetLong("ReconnectInterval", 30);</b></i></div><div><i>dictionnary.SetLong("HeartBtInt", 180);</i></div><div><i>dictionnary.SetLong("LogoutTimeout", 86400);</i></div><div><i>[...]</i></div><div><i><br></i></div><div><i>settings.Set(id, dictionnary);</i></div><div><i>// </Connection settings></i></div><div><i><br></i></div><div><i>IMessageStoreFactory storeFactory = new FileStoreFactory(settings);</i></div><div><i>ILogFactory logFactory = new FIXLoggerFactory("------");</i></div><div><i>m_Initiator = new SocketInitiator(application, storeFactory, settings, logFactory);</i></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The exception is thrown internally in QuickFix.dll and caught internally.</div><div style="font-size:12.8px"><br>Is it happening because we set the ReconnectInterval to default value?<br>Is it correct to set the SessionSettings programmatically?</div><div style="font-size:12.8px">Any ideas on how to correct this behavior?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:12.8px"><font color="#000000" face="arial, helvetica, sans-serif">Thomas Cayuela</font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif">-----</font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:12.8px"><font color="#000000" face="arial, helvetica, sans-serif">Alpha Novae Ltd</font></div><div style="font-size:12.8px"><font color="#000000" face="arial, helvetica, sans-serif"><img src="http://alphatrader.alphanovae.com/images/alphasign.png" width="200" height="62"></font></div><div style="font-size:12.8px"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:12.8px"><font color="#0000ff" face="arial, helvetica, sans-serif"><a href="http://www.alphanovae.com/" target="_blank">http://www.alphanovae</a>.com</font></div></div></div></div></div></div></div></div>
</div>