<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:Century;
panose-1:2 4 6 4 5 5 5 2 3 4;}
@font-face
{font-family:Century;
panose-1:2 4 6 4 5 5 5 2 3 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"MS PMincho";}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I just made the following changes, from 'TradeClient' to '</span><span style="font-size:10.0pt;font-family:"Courier New""> MyApplication_Ver_1.0.1</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><AppDesignerFolder>Properties</AppDesignerFolder><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> <RootNamespace><span style="color:red">MyApplication_Ver_1.0.1</span></RootNamespace><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> <AssemblyName>
<span style="color:red">MyApplication_Ver_1.0.1</span></AssemblyName><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> <FileAlignment>512</FileAlignment><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> <StartupObject>
<span style="color:red">MyApplication_Ver_1.0.1</span>.Program</StartupObject><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD">Thanks & Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD">Ashutosh Mishra<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-family:"MS PMincho";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-family:"MS PMincho";color:black">*********************************************************************************<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none"><span style="font-family:"MS PMincho";color:black">This communication (including any attachments) is intended only or the use of the individual whom it is addressed and may contain information
that is privileged, confidential or legally protected. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received
this communication in error, please notify us immediately by replying to the message. Please also delete the message and its attachments, if any, from your computer and destroy any hard copies you may have created. Thank you for your cooperation.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"MS PMincho";color:black">*********************************************************************************</span><span style="font-size:10.5pt;font-family:"Century","serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> quickfixn-bounces@lists.quickfixn.com [mailto:quickfixn-bounces@lists.quickfixn.com]
<b>On Behalf Of </b>Grant Birchmeier<br>
<b>Sent:</b> Tuesday, October 29, 2013 10:40 AM<br>
<b>To:</b> Mailing list for QuickFIX/n<br>
<b>Subject:</b> Re: {{Quickfixn}} FpML file<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="color:black">I'd guess there's some kind of error in your Data Dictionary xml file. Did you alter that file?<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Oct 29, 2013 at 9:36 AM, Ashutosh Mishra <<a href="mailto:A.Mishra@ny.tr.mufg.jp" target="_blank">A.Mishra@ny.tr.mufg.jp</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Even if I don’t define Dictionary d it still gives me tha same error. No clue why..does it have to
do with XML file?</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD">Thanks & Regards,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD">Ashutosh Mishra</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-family:"MS PMincho""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-family:"MS PMincho"">*********************************************************************************</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt;text-autospace:none">
<span style="font-family:"MS PMincho"">This communication (including any attachments) is intended only or the use of the individual whom it is addressed and may contain information that is privileged, confidential or legally protected. If the reader of this
message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message.
Please also delete the message and its attachments, if any, from your computer and destroy any hard copies you may have created. Thank you for your cooperation.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"MS PMincho"">*********************************************************************************</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a> [mailto:<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>]
<b>On Behalf Of </b>Grant Birchmeier<br>
<b>Sent:</b> Tuesday, October 29, 2013 10:32 AM</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Mailing list for QuickFIX/n<br>
<b>Subject:</b> Re: {{Quickfixn}} FpML file<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I don't understand wh<span style="color:#222222">y you are creating Dictionary "d". All that stuff should already be in TradeWebClientInitiator.cfg. You shouldn't need to modify
"settings" after you create it from the file.</span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Tue, Oct 29, 2013 at 9:15 AM, Ashutosh Mishra <<a href="mailto:A.Mishra@ny.tr.mufg.jp" target="_blank">A.Mishra@ny.tr.mufg.jp</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Now I am getting this error:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Object reference not set to an instance of an object.<br>
at QuickFix.DataDictionary.DataDictionary.setVersionInfo(XmlDocument doc)<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
at QuickFix.DataDictionary.DataDictionary.Load(String path)<br>
at QuickFix.SessionFactory.createDataDictionary(SessionID sessionID, Dictiona<br>
ry settings, String settingsKey, String beginString)<br>
at QuickFix.SessionFactory.ProcessFixDataDictionary(SessionID sessionID, Dict<br>
ionary settings, DataDictionaryProvider provider)<br>
at QuickFix.SessionFactory.Create(SessionID sessionID, Dictionary settings)<br>
at QuickFix.AbstractInitiator..ctor(IApplication app, IMessageStoreFactory st<br>
oreFactory, SessionSettings settings, ILogFactory logFactory, IMessageFactory me<br>
ssageFactory)<br>
at QuickFix.Transport.SocketInitiator..ctor(IApplication application, IMessag<br>
eStoreFactory storeFactory, SessionSettings settings, ILogFactory logFactory)<br>
<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">My Program.cs is as follows:<o:p></o:p></p>
<p><span style="font-family:Consolas;color:blue">try</span><o:p></o:p></p>
<p><span style="font-family:Consolas">{</span><o:p></o:p></p>
<p><span style="font-family:Consolas">QuickFix.<span style="color:#2B91AF">SessionSettings</span> settings =
<span style="color:blue">new</span> QuickFix.<span style="color:#2B91AF">SessionSettings</span>(<span style="color:#A31515">@"C:\Users\ashutosh_m\documents\visual studio 2010\Projects\MutbTradeweb_Application_Ver_1.0.1\MutbTradeweb_Application_Ver_1.0.1\TradeWebClientInitiator.cfg"</span>);</span><o:p></o:p></p>
<div>
<p><span style="font-family:Consolas;color:#2B91AF">TradeClientApp</span><span style="font-family:Consolas"> application =
<span style="color:blue">new</span> <span style="color:#2B91AF">TradeClientApp</span>();</span><o:p></o:p></p>
</div>
<p><span style="font-family:Consolas;color:#2B91AF">Dictionary</span><span style="font-family:Consolas"> d =
<span style="color:blue">new</span> <span style="color:#2B91AF">Dictionary</span>();</span><o:p></o:p></p>
<p><span style="font-family:Consolas">QuickFix.<span style="color:#2B91AF">SessionID</span> id1 =
<span style="color:blue">new</span> QuickFix.<span style="color:#2B91AF">SessionID</span>(<span style="color:#A31515">"FIX.4.4"</span>,
<span style="color:#A31515">"MITUFJTR"</span>, <span style="color:#A31515">"TRADEWEB"</span>,
<span style="color:#A31515">"SessionID"</span>);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">d.SetString(<span style="color:#A31515">"ConnectionType"</span>,
<span style="color:#A31515">"initiator"</span>);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">d.SetLong(<span style="color:#A31515">"SocketAcceptPort"</span>, 9000);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">d.SetString(<span style="color:#A31515">"FileLogPath"</span>,
<span style="color:#A31515">"Log"</span>);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">d.SetString(<span style="color:#A31515">"StartTime"</span>,
<span style="color:#A31515">"00:00:00"</span>);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">d.SetString(<span style="color:#A31515">"EndTime"</span>,
<span style="color:#A31515">"00:00:00"</span>);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">d.SetString(<span style="color:#A31515">"FileStorePath"</span>,
<span style="color:#A31515">@"c:fixfiles"</span>);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">d.SetBool(<span style="color:#A31515">"UseDataDictionary"</span>,
<span style="color:blue">true</span>);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">d.SetString(<span style="color:#A31515">"DataDictionary"</span>,
<span style="color:#A31515">@"FIX42.xml"</span>);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">settings.Set(id1, d);</span><o:p></o:p></p>
<div>
<p><span style="font-family:Consolas">QuickFix.<span style="color:#2B91AF">IMessageStoreFactory</span> storeFactory =
<span style="color:blue">new</span> QuickFix.<span style="color:#2B91AF">FileStoreFactory</span>(settings);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">QuickFix.<span style="color:#2B91AF">ILogFactory</span> logFactory =
<span style="color:blue">new</span> QuickFix.<span style="color:#2B91AF">ScreenLogFactory</span>(settings);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">QuickFix.Transport.<span style="color:#2B91AF">SocketInitiator</span> initiator =
<span style="color:blue">new</span> QuickFix.Transport.<span style="color:#2B91AF">SocketInitiator</span>(application, storeFactory, settings, logFactory);</span><o:p></o:p></p>
</div>
<p><span style="font-family:Consolas">initiator.Start();</span><o:p></o:p></p>
<p><span style="font-family:Consolas">application.Run();</span><o:p></o:p></p>
<p><span style="font-family:Consolas;color:#2B91AF">Thread</span><span style="font-family:Consolas">.Sleep(3000);</span><o:p></o:p></p>
<p><span style="font-family:Consolas;color:#2B91AF">Console</span><span style="font-family:Consolas">.ReadLine();</span><o:p></o:p></p>
<p><span style="font-family:Consolas">initiator.Stop();</span><o:p></o:p></p>
<p><span style="font-family:Consolas">}</span><o:p></o:p></p>
<p><span style="font-family:Consolas;color:blue">catch</span><span style="font-family:Consolas"> (System.<span style="color:#2B91AF">Exception</span> e)</span><o:p></o:p></p>
<p><span style="font-family:Consolas">{</span><o:p></o:p></p>
<p><span style="font-family:Consolas;color:#2B91AF">Console</span><span style="font-family:Consolas">.WriteLine(e.Message);</span><o:p></o:p></p>
<p><span style="font-family:Consolas;color:#2B91AF">Console</span><span style="font-family:Consolas">.WriteLine(e.StackTrace);</span><o:p></o:p></p>
<p><span style="font-family:Consolas">}</span><o:p></o:p></p>
<p><span style="font-family:Consolas;color:#2B91AF">Environment</span><span style="font-family:Consolas">.Exit(1);</span><o:p></o:p></p>
<div>
<p><span style="font-family:Consolas">}</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#222222">-- </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="background:white">Grant Birchmeier</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="color:#3333FF;background:#FFCC00">Connamara Systems, LLC</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>Made-To-Measure Trading Solutions.</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Exactly what you need. No more. No less.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="http://connamara.com" target="_blank">http://connamara.com</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="background:white">Grant Birchmeier</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:#3333FF;background:#FFCC00">Connamara Systems, LLC</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b>Made-To-Measure Trading Solutions.</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Exactly what you need. No more. No less.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://connamara.com" target="_blank">http://connamara.com</a><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>