Make sure you seek to the beginning of the stream before passing into
the SessionSettings...
memoryStream.Seek( 0, IO.SeekOrigin.Begin ).
On Aug 2, 2004, at 3:43 AM, Ramprakash Umapathy wrote:
> QuickFIX Documentation:
> http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX FAQ: http://www.quickfixengine.org/quickfix/doc/html/FAQ.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> I'm trying to pass MemoryStream parameter While instantiating
> SessionSettings class.
>
> But I always get the Error "Configuration failed: No sessions
> defined". My
> memorystream object contains valid data which is dynamically read from
> the
> database.
>
> I'm using QuickFIX 1.8.0/Windows2003/VB.NET
>
> Here is my cfg file contents which is stored in ntext field of the SQL
> SERVER 2000 database.
>
> [DEFAULT]
> ConnectionType=initiator
> HeartBtInt=30
> FileStorePath=D:\Caboto\QFStoreFiles
> FileLogPath=D:\Caboto\QFLogFiles
> StartTime=00:00:00
> EndTime=00:00:00
> UseDataDictionary=N
> SocketConnectHost=localhost
> SocketConnectPort=5001
> [SESSION]
> BeginString=FIX.4.2
> SenderCompID=FS
> TargetCompID=s09183
>
>
>
>
> Thanks,
> Ramprakash
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source
> Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
|