Never mind. I found the culprit. It is this line:
EndTime= 21:30:00
The extra blank space after the equals sign was fatal. This may be a
record for how much how little has cost me.
On Tue, May 13, 2008 at 9:07 PM, Manuel Lopez <lop...@gm...> wrote:
> Thanks for your help. I'm having some trouble getting QuickFix to
> run. I get this error using C# 2008 in Visual Studio:
> "QuickFix.ConfigError: Configuration failed: Could not convert field
> at QuickFix.SocketInitiator..ctor(Application application,
> MessageStoreFactory factory, SessionSettings settings, MessageFactory
> messageFactory)"
>
> Here are the relevant lines (the documentation seems contradictory
> over the parameters to SocketInitiator).
>
> try
> {
> QuickFix.Application qfApp = Qf.GetApp();
> SessionSettings settings = new SessionSettings(QfSettingsFile);
> FileStoreFactory factory = new FileStoreFactory(settings);
> MessageFactory msgFactory = new DefaultMessageFactory();
> SocketInitiator initiator = new SocketInitiator(qfApp,
> factory, settings, msgFactory);
> initiator.start();
> initiator.stop();
> }
> catch (ConfigError e)
> {
> Debug.WriteLine(e);
> }
>
> This is the contents of my config file:
>
> [DEFAULT]
> ConnectionType=initiator
> SenderCompID=STEST
> ReconectInterval=60
> MillisecondsInTimeStamp=Y
> SendRedundantResendRequests=Y
> SocketNoDelay=N
> PersistMessages=Y
>
> [SESSION]
> TargetCompID=TTEST
> BeginString=FIX.4.4
> SocketConnectPort=9200
> SocketConnectHost=147.63.150.34
> StartTime=06:00:00
> EndTime= 21:30:00
> ResetOnLogout=N
> ResetOnDisconnect=N
> RefreshOnLogon=N
> UseDataDictionary=Y
> DataDictionary=c:\Users\usr\Autocta\QuickFix\FIX44.xml
> ValidateFieldsOutOfOrder=Y
> ValidateFieldsHaveValues=Y
> ValidateUserDefinedFields=Y
> CheckCompID=Y
> CheckLatency=Y
> MaxLatency=60
> ReconnectInterval=30
> HeartBtInt=20
> FileStorePath=c:\Users\usr\Autocta\QuickFix\LehmanMsg\
> LogonTimeout=30
> LogoutTimeout=10
>
|