Topic: Improved Stab&Speed: Force FSB to use latest .NET Framework

Hi,

earlier this week I had massive problems with crashes when generating strategies on more than 100.000 bars of data. FSB was crashing on me all the time. However, I now got this problem fixed with a trick I found elsewhere.

This will force FSB/FST to use the latest installed .NET Framework Runtime instead of .NET Framework 2.0 (which FSB was build with/for).

Simply execute the attached .reg file and afterwards FSB/FST will be using the latest .NET Framework you have installed (4.0 on my machine). Speed during generating and optimizing a strategy has improved for me and the crashes have disappeared as well.

Post's attachments

NetFrameforce.reg 466 b, 12 downloads since 2010-05-25 

You don't have the permssions to download the attachments of this post.

Re: Improved Stab&Speed: Force FSB to use latest .NET Framework

Thank you for your contribution. I'll try your patch.

Download link for the latest .NEW Framework 4.0 http://www.microsoft.com/downloads/deta … aylang=en

Re: Improved Stab&Speed: Force FSB to use latest .NET Framework

hi geektrader, if you can zip and post on rapidshare.com  you data I will try to run a few test with generator. send me the link when you uploaded.

I have .Net 4, Vista x64.

Re: Improved Stab&Speed: Force FSB to use latest .NET Framework

@FXWinner: there is nothing to download except the REG file which I attached to the first post. Just download it and then double-click it to add it to the registry. Of course also install NET Framework 4.0 if you haven´t already. After you´ve done that, FSB and FST will automatically use NET Framework 4.0.

Re: Improved Stab&Speed: Force FSB to use latest .NET Framework

@geektrader, I mean can up zip your DATA - csv . so i can test it .
As your tests should be equil. the same data the same registry the same FSB ver  and the same .Net 4.0
I just need your DATA(CSV) file , the rest I have . PM me the link. and I will provide my Feedback.

Re: Improved Stab&Speed: Force FSB to use latest .NET Framework

Vista x64, .Net 4.0 with geektrader patch.
Have sometimes crashes too, but I just ignore and it works fine.

http://my.jetscreenshot.com/1298/20100530-vbaq-43kb.jpg

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Forex_Strategy_Builder.Backtester.CalculateAccountInfo()
   at Forex_Strategy_Builder.Actions.Calculate(Boolean bRecalcIndicators)
   at Forex_Strategy_Builder.Actions.ShowOptimizer()
   at Forex_Strategy_Builder.Actions.BtnTools_OnClick(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Forex Strategy Builder
    Assembly Version: 2.50.0.0
    Win32 Version: 2.50.0.0

Re: Improved Stab&Speed: Force FSB to use latest .NET Framework

For some reason you are not using .NET 4.0 yet. Have a look at the error-report, it shows the path to .NET 2.0 (under "Loaded Assemblies" - "CodeBase")!

Re: Improved Stab&Speed: Force FSB to use latest .NET Framework

geektrader,
You are right, strange it slipped from my sharp eye. Probably was at 4am or something :-(.
Let me reboot machine and see if it fixed.