Runtime error: attempting to deserialize an empty stream
Author: mkalayog
Creation Date: 2/7/2011 2:20 PM
profile picture

mkalayog

#1
whenever i try to run *any* strategy w/ < daily (e.g., 1 min, 30 min, 60 min etc) datasets, for any symbol, for any timeframe, I get the following error:

Runtime error: Attempting to Deserialize an empty stream
at WelathLabPro.ChartForm.a(Object A_0, LoadSymbolEventArgs A_1)
at cd.a(String A_0, BarScale A_1, Int32 A_2, Boolean A_3)
at WealthLab.DataProviders.Database.DBStatic.RequestData(DataSource ds, String symbol, DateTime startDate, DateTime endDate, Int32 maxBars, Boolean includePartialBar)
at WealthLab.DataProviders.Database.DBStaticSettings.DeserializeFromString(String soapString)
at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize (Stream serializationStream, HeaderHandler handler)

Any help much appreciated. Never got this error on 1 min datasets with WLP 5.6
profile picture

Eugene

#2
Clearly it has to do with the Database provider. For example, when it's configured as the default Streaming provider and you're trying to view a streaming chart of a symbol not found in Database provider's DataSets.

* Uncheck Streaming. Does the error persist?

* Open Preferences, Streaming, and select any other streaming provider - preferably Fidelity. Does the error persist?
profile picture

mkalayog

#3
Yes error persists - I do not have streaming checked in either scenario- Also appears in a 1 min random dataset not just 1 min Fidelity.
profile picture

Eugene

#4
Is there a Benchmark Buy & Hold symbol configured?

How are you using Database provider? What actions (DataSet creation, configuration change etc) preceded the error?
profile picture

Eugene

#5
Not sure why you mentioned 5.6 (unavailable I don't know how long, 6.0 was mandatory upgrade and 6.1 too) but try the following:

1. Close WLP 6.1
2. Delete the file DBStreamingSettings.xml from:

Windows XP, Windows Server 2003:
C:\Documents and Settings\Windows User Name\Application Data\Fidelity Investments\WealthLabDev\1.0.0.0\Data\

Windows Vista, Windows 7
C:\Users\Windows User Name\AppData\Roaming\WealthLabDev\1.0.0.0\Data\

This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).