Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled Exception

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

  • adrian
    replied
    Originally posted by NinjaTrader_Dierk View Post
    Although backup always makes sense, there is particular need for in this situation, since procedure below will maintain your data.
    Heh, such is the theory.

    In practice however, the .NET framework seems tightly integrated into Windows so it can have big repercussions. I've had to reinstall .NET a few times over the years, and on two occasions my windows install got so badly damaged that I had to reinstall. I was able to salvage most of my data, but all of my settings got damaged.

    Since then, I won't touch a service pack or .NET changes without precautions

    Leave a comment:


  • NinjaTrader_Dierk
    replied
    Although backup always makes sense, there is no particular need for in this situation, since procedure below will maintain your data.

    Leave a comment:


  • adrian
    replied
    Originally posted by NinjaTrader_Dierk View Post
    Then your .NET 2.0 installation is screwed up. Please:
    - uninstall NT
    - uninstall .NET 2.0 via control panel
    - clear your browser cache
    - install .NET 2.0 from here http://www.microsoft.com/downloads/d...displaylang=en
    - install NT again
    Oh dear. I've got some very bad memories of reinstalling .NET. Time for a full backup before I try that again.

    Thanks for your help.

    Leave a comment:


  • NinjaTrader_Dierk
    replied
    Then your .NET 2.0 installation is screwed up. Please:
    - uninstall NT
    - uninstall .NET 2.0 via control panel
    - clear your browser cache
    - install .NET 2.0 from here http://www.microsoft.com/downloads/d...displaylang=en
    - install NT again

    Leave a comment:


  • adrian
    replied
    Originally posted by NinjaTrader_Dierk View Post
    Hmm .. please make sure you are on latest 6.5.0.10 or 6.0.1000.10.
    I was on 6.0.1000.9 and I just upgraded to .10 and the same problem is present. I tried using different data sources, but it doesn't seem to make a difference.

    Leave a comment:


  • NinjaTrader_Dierk
    replied
    Hmm .. please make sure you are on latest 6.5.0.10 or 6.0.1000.10.

    Leave a comment:


  • adrian
    started a topic Unhandled Exception

    Unhandled Exception

    When I go to add a new Strategy in the Strategies tab, modify the instrument and select "Stock" in the dropdown, a window pops up saying:

    New Strategy

    Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

    Attempted to read or write protected memory. This is often an indication that memory is corrupt.




    Under Details I see:

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

    ************** Exception Text **************
    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    at System.Windows.Forms.UnsafeNativeMethods.CallWindo wProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.NativeWindow.DefWndProc(Messa ge& m)
    at System.Windows.Forms.Control.DefWndProc(Message& m)
    at System.Windows.Forms.Control.WmCommand(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ComboBox.WndProc(Message& 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)



    Should I worry? When I click "OK", I have problems running my strategy but I don't know whether it is related to this error or is something I'm doing.

Latest Posts

Collapse

Topics Statistics Last Post
Started by natngk, 02-21-2019, 06:27 AM
21 responses
1,291 views
1 like
Last Post FMtrader  
Started by richt3, Yesterday, 10:28 PM
0 responses
7 views
0 likes
Last Post richt3
by richt3
 
Started by Atychiphobia66, Yesterday, 10:22 PM
0 responses
8 views
0 likes
Last Post Atychiphobia66  
Started by Scalper1969, Yesterday, 09:24 PM
0 responses
13 views
0 likes
Last Post Scalper1969  
Started by RISKYBUSINEZZ, 12-12-2023, 05:11 PM
3 responses
127 views
0 likes
Last Post judysamnt7  
Working...
X