[Quickfix-developers] QuickFix.ConfigError
Brought to you by:
orenmnero
From: Ramprakash U. <ram...@ca...> - 2004-05-27 15:24:05
|
Hi, I have just started learning QuickFix in .NET I trying to use SocketAcceptor I get an error whenever I initialize that. The Error is, An unhandled exception of type 'QuickFix.ConfigError' occurred in WindowsApplication1.exe Additional information: Configuration failed: Could not initialize COM Unhandled Exception: QuickFix.ConfigError: Configuration failed: Could not initialize COM at ReceiveFixEngineCS.Test.Main(String[] args) in c:\documents and settings\umapar1a\my documents\visual studio projects\cabutilities\testingprojects\windowsapplication1\class1.cs:line 37The program '[468] WindowsApplication1.exe' has exited with code 0 (0x0). The code is here, String fileName = "server.cfg"; SessionSettings settings = new SessionSettings(fileName); Application application = new Application(); FileStoreFactory storefactory = new FileStoreFactory(settings); ScreenLogFactory logFactory = new ScreenLogFactory( true, true, true ); MessageFactory messageFactory = new DefaultMessageFactory(); SocketAcceptor acceptor = new SocketAcceptor( application, storefactory, settings, logFactory, messageFactory ); The configuration file is this, [DEFAULT] ConnectionType=acceptor SocketAcceptPort=5001 FileStorePath=store StartTime=00:00:00 EndTime=00:00:00 [SESSION] BeginString=FIX.4.2 SenderCompID=s09183 TargetCompID=umapar1a DataDictionary=FIX42.xml Any help is appreciated, Ramprakash |