Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled Exception

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

    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.

    #2
    Hmm .. please make sure you are on latest 6.5.0.10 or 6.0.1000.10.

    Comment


      #3
      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.

      Comment


        #4
        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

        Comment


          #5
          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.

          Comment


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

            Comment


              #7
              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

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by adeelshahzad, Today, 03:54 AM
              5 responses
              32 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by stafe, 04-15-2024, 08:34 PM
              7 responses
              32 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by merzo, 06-25-2023, 02:19 AM
              10 responses
              823 views
              1 like
              Last Post NinjaTrader_ChristopherJ  
              Started by frankthearm, Today, 09:08 AM
              5 responses
              22 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by jeronymite, 04-12-2024, 04:26 PM
              3 responses
              43 views
              0 likes
              Last Post jeronymite  
              Working...
              X