I was connecting in a simulator mode and then opened up a chart for ES 09-08 and immediately got an error saying NinjaTrader has to shutdown.
Could not send email from help->contact support as email send failed, so posting here.
I could not find a way to modify any .net security settings as suggested in the other installation thread. Not sure if it is related to code loading or if it is related to permissions for writing to a file.
My documents folder go into a "strange" drive which is local but "synched" to a network when i am connected to that network (not now). Would also like a way to change that to another local drive.
Thanks for your help.
Following is the from the trace file:
2008-07-12 15:15:02:031 (mirus-demo) Cbi.AccountUpdateEventArgs.Process: Account='Sim101' ItemType='BuyingPower' Currency='Unknown' Value=200000
2008-07-12 15:15:02:031 (mirus-demo) Cbi.AccountUpdateEventArgs.Process: Account='Sim101' ItemType='CashValue' Currency='Unknown' Value=100000
2008-07-12 15:15:02:031 (mirus-demo) Cbi.AccountUpdateEventArgs.Process: Account='Sim101' ItemType='ExcessEquity' Currency='Unknown' Value=200000
2008-07-12 15:15:02:031 (mirus-demo) Cbi.AccountUpdateEventArgs.Process: Account='Sim101' ItemType='InitialMargin' Currency='Unknown' Value=0
2008-07-12 15:15:02:031 (mirus-demo) Cbi.AccountUpdateEventArgs.Process: Account='Sim101' ItemType='RealizedProfitLoss' Currency='Unknown' Value=0
2008-07-12 15:15:02:031 (mirus-demo) Cbi.ConnectionStatusEventArgs.Process: Connected Connected
2008-07-12 15:15:11:484 in OnUnhandledThreadException
2008-07-12 15:15:11:703 ********* exception trapped *********
2008-07-12 15:15:11:703 Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
2008-07-12 15:15:11:703 at System.Security.CodeAccessSecurityEngine.Check(Obj ect demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDocument.Save(String filename)
at NinjaTrader.Cbi.ConfigSerializer.Serialize()
at NinjaTrader.Gui.Chart.ChartData.get_DaysBackMinute ()
at NinjaTrader.Data.MinuteBarsType.get_DaysBack()
at NinjaTrader.Gui.Chart.FormatDataSeries.OnPeriodTyp eChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(In t32 value)
at System.Windows.Forms.ComboBox.set_SelectedItem(Obj ect value)
at NinjaTrader.Gui.Chart.FormatDataSeries..ctor()
at NinjaTrader.Gui.ControlCenterForm.mnuChartWindow_C lick(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(M ouseEventArgs 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.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Mes sage& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Thanks.
Comment