When I start the program, below error occurs and the program is stopped
in initializing order manager step after clicking the continue button.
OS : windows 11 pro insider preview, build 22518.rs_prelease.211203-1458
program version : WealthLab7SetupBuild39
please check below error message,
System.ArgumentOutOfRangeException: Length cannot be less than zero. (Parameter 'length')
at System.String.Substring(Int32 startIndex, Int32 length)
at DicConfiguration.SelectRepository(Object , Int32 , Int32 , DicConfiguration )
at WealthLab.Core.Tokenizer..ctor(String source)
at WealthLab.Backtest.SignalManager.Initialize()
at InvocationPrinter.EnableCode(InvocationPrinter )
at WealthLab7.MainController..ctor()
at WealthLab7.MainController.CreateInstance()
at WealthLab7.App.ListCallback()
at WealthLab7.App.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Rename
Try navigating to your WL7 User Data folder, it should be in a path like ...
C:\Users\{your user name}\AppData\Roaming\WealthLab7
... and look for a file named PersistedOrders.txt. Does it exist? If so, delete it and try restarting and report back the results.
C:\Users\{your user name}\AppData\Roaming\WealthLab7
... and look for a file named PersistedOrders.txt. Does it exist? If so, delete it and try restarting and report back the results.
I've solved the problem. Thank you for your help.
Thanks for the report, still trying to work through the cause, but WL7 will handle this exception for the next build so it won't prevent it from starting up.
unfortunately it didn't work for me, I still have the same error
Haven't you already started a new topic for your issue?
https://www.wealth-lab.com/Discussion/Durch-absturz-meines-PC-kann-Wealth-Lab-nicht-246-fnen-7985
At the risk of repeating, I explained that you're still using WL7 B53 (I just double checked this a few moments ago) but this issue is resolved in WL8.
https://www.wealth-lab.com/Discussion/Durch-absturz-meines-PC-kann-Wealth-Lab-nicht-246-fnen-7985
At the risk of repeating, I explained that you're still using WL7 B53 (I just double checked this a few moments ago) but this issue is resolved in WL8.
Your Response
Post
Edit Post
Login is required