Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can't open chart. NinjaTrader wants to shutdown.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't open chart. NinjaTrader wants to shutdown.

    Installing NinjaTrader on a windows xp laptop and it fails repeatedly. Please let me know if there is something I can do to fix this problem.

    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.

    #2
    Try uninstalling NT, uninstall .NET, reinstall .NET 2, reinstall NT. My Documents needs to be on your local drive. This is generally determined by how your Windows is setup and not by NT.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by Josh View Post
      Try uninstalling NT, uninstall .NET, reinstall .NET 2, reinstall NT. My Documents needs to be on your local drive. This is generally determined by how your Windows is setup and not by NT.
      Josh, Thanks for your response.

      I had to fix the security level as suggested in another thread and it works fine now.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by inanazsocial, Today, 01:15 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by rocketman7, Today, 02:12 AM
      0 responses
      10 views
      0 likes
      Last Post rocketman7  
      Started by dustydbayer, Today, 01:59 AM
      0 responses
      2 views
      0 likes
      Last Post dustydbayer  
      Started by trilliantrader, 04-18-2024, 08:16 AM
      5 responses
      23 views
      0 likes
      Last Post trilliantrader  
      Started by Davidtowleii, Today, 12:15 AM
      0 responses
      3 views
      0 likes
      Last Post Davidtowleii  
      Working...
      X