Re: [Quickfix-users] error:no session defined for initiator
Brought to you by:
orenmnero
From: George M. C. <ge...@qu...> - 2005-04-13 14:02:34
|
I resolved the COM error by entering UseDataDictionary=3DN, now I am=20 trying to get the initiator to succesfully log on to the session. Is it=20 bad not to use the DataDictionary? Thanks for your help! Best, George Guillermo Arbeiza Alameda wrote: >Have you just copied the contents of your config file here? If that's th= e >case you should look carefully to the ConnectionType field: it should be >"initiator" instead of "initator". > >Hope it will help. > >Cheers, >Guillermo. > >-----Mensaje original----- >De: qui...@li... >[mailto:qui...@li...]En nombre de George >M. Coles >Enviado el: martes, 12 de abril de 2005 15:18 >Para: qui...@li... >Asunto: [Quickfix-users] error:no session defined for initiator > > >QuickFIX Documentation: >http://www.quickfixengine.org/quickfix/doc/html/index.html >QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFA= Q >QuickFIX Support: http://www.quickfixengine.org/services.html > >I am trying to use the sample c# application code with a simple config >file. I get the error "no session defined for initiator" in the >constructor of my Intiator object. Here is my code and the config fiel >contents: > >try > { > SessionSettings settings =3D new >SessionSettings(_fileName); > FixApplication application =3D new FixApplication(); > FileStoreFactory storeFactory =3D new >FileStoreFactory(settings); > FileLogFactory logFactory =3D new >FileLogFactory(settings); > MessageFactory messageFactory =3D new >DefaultMessageFactory(); > ThreadedSocketInitiator init =3D new >ThreadedSocketInitiator( application, storeFactory, settings, >messageFactory ); > } > catch(ConfigError e) > { > log.Error( e ); > } > >config file: >[DEFAULT] >ConnectionType=3Dinitator >ReconnectInterval=3D30 >HeartBtInt=3D30 >SenderCompID=3DA > >[SESSION] >BeginString=3DFIX.4.2 >TargetCompID=3DB >SocketConnectPort=3D9890 >SocketConnectHost=3D192.168.1.8 >DataDictionary=3DC:/tools/quickfix/quickfix-bin-vc7-1.9.4/quickfix/spec/= FIX42. >xml > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick >_______________________________________________ >Quickfix-users mailing list >Qui...@li... >https://lists.sourceforge.net/lists/listinfo/quickfix-users > > >*** > > > >****************************** AVISO LEGAL *****************************= * > >La informaci=F3n contenida en este mensaje es para uso exclusivo de su d= estinatario. No debe copiarse, transmitirse a terceros ni guardarse por e= stos =FAltimos, salvo autorizaci=F3n del remitente. > >Puede contener informaci=F3n confidencial o legalmente protegida cuyo r=E9= gimen legal de utilizaci=F3n no se ve afectado por el hecho de que haya s= ido enviada por correo electr=F3nico. > >Su env=EDo por error a una persona distinta de su destinatario real no i= mplica que se haya modificado tal destinatario ni supone renuncia a su ev= entual car=E1cter confidencial o al r=E9gimen legal que rija su utilizaci= =F3n. > >Cualquier opini=F3n expresada en este mensaje vincular=E1 exclusivamente= a la persona que lo haya remitido, excepto cuando el mensaje establezca = lo contrario y el remitente est=E9 autorizado para establecer que dichas = opiniones vincular=E1n a esta entidad.=20 > >En el supuesto de que este correo se recibiera por error, rogamos proced= an a borrarlo, sin reenviarlo a terceros ni conservarlo en cualquier sopo= rte y nos informen inmediatamente llamando al tel=E9fono 34 91 5892123 o = a la direcci=F3n de correo electr=F3nico remitente. Gracias. > >****************************** DISCLAIMER ****************************** > >The information contained in this message is for the exclusive use of th= e named person. It can not be copied, transmitted to third parties or sto= red by the latter, except if authorised by the sender. > >It may contain confidential or legally privileged information whose lega= l regime is not affected by the fact that this information has been sent = by e-mail.=20 > >Its erroneous transmission to a person other than the real named person = neither implies any modification of this named person nor a renunciation = of the eventual confidentiality or legal regime affecting the use of conc= erned message. >=20 >Any views expressed in this message are binding exclusively upon the ind= ividual sender, except where the message states otherwise and the sender = is authorised to bind this entity.=20 > >If you receive this message in error, please delete it without transmitt= ing it to any third party or keeping it in any form and notify us immedia= tely either by phone (34 91 5892123) or using the e- mail address of the = sender. Thank You. > > =20 > |