[Quickfix-developers] QuickFix.SessionNotFound
Brought to you by:
orenmnero
|
From: Mike S. <MS...@rj...> - 2006-08-25 18:44:08
|
I know this is a very beginner level question, but I am going absolutely nuts trying to figure out why I'm getting a QuickFix.SessionNotFound exception. I've got a C# application in which the startup code is the following... SessionSettings settings =3D new SessionSettings(dataReader["Session_Path"].ToString()); ICEApplication application =3D new ICEApplication(); MSSQLStoreFactory storeFactory =3D new MSSQLStoreFactory(settings); MessageFactory messageFactory =3D new DefaultMessageFactory(); ScreenLogFactory logFactory =3D new ScreenLogFactory(true,true,true); ThreadedSocketInitiator initiator =3D new ThreadedSocketInitiator(application, storeFactory, settings, logFactory, messageFactory); I've confirmed that dataReader["Session_Path"].ToString() points to a valid file, which contains the following session definition # default settings for sessions [DEFAULT] ConnectionType=3Dinitiator ReconnectInterval=3D60 #ICE session definition [SESSION] BeginString=3DFIX.4.2 TargetCompID=3DICE SenderCompID=3D1755 SessionQualifier=3DICE StartTime=3D01:00:00 EndTime=3D22:00:00 HeartBtInt=3D30 SocketConnectPort=3D80 SocketConnectHost=3D1.1.1.1 DataDictionary=3DC:\Projects\FIX42_ICE.xml MillisecondsInTimeStamp=3DY SendResetSeqNumFlag=3DY MSSQLStoreDatabase=3Dxxxx MSSQLStoreUser=3Dxxxx MSSQLStorePassword=3Dxxxx MSSQLStoreHost=3Dxxxx I've then also gone to the database and have the following in the Sessions table Beginstring - FIX.4.2 Sendercompid - 1755 Targetcompid - ICE Session_qualifier - ICE Creation_time - 8/9/2006 5:22:58 PM Incoming_seqnum - 1 Outgoing_seqnum - 1 That should be all I need, right? Can anybody think of anything else? Thanks, Mike |