Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT6 crashes on opening ScriptEditor window

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

    NT6 crashes on opening ScriptEditor window

    Hi, there.
    I have been developing a custom indicator for a couple of days already, and recenty Ninja Trader started to crash every time I open script editing window. It crashes on any of available indicator or strategy code files, not just mine.

    I'm not quite familiar with NJ yet, how I can fix that? Clearing Intellisense cache, removing temporary assemblies, clearing .mdb database file, etc. I can provide any additional information that could be of help.

    BTW, I think I encountered a bug in NinjaScript editor syntax checker. The code below caused syntax checking to point out an error, while compiling was successful:

    int IComparable<AGenericType<Type, TComparer>>.CompareTo(AGenericType<Type, TComparer> k)
    {
    return 1;
    }


    #2
    imported post

    Hmm weird.

    a) can you provide a stack trace as NT crashes when you open an indicator

    b) can you please provide a simple as possible sample code (indicator or strategy) showing the problem on the template?

    Thanks
    DierkNinjaTrader Customer Service

    Comment


      #3
      imported post

      Thanks for the reply.
      Exception info is:
      AppName: ninjatrader.exe AppVer: 6.0.0.10 AppStamp:460aa6c5
      ModName: kernel32.dll ModVer: 5.1.2600.2945 ModStamp:44ab9ae0
      fDebug: 0 Offset: 00012a5b

      I managed to localize problem hovewer. I removed NinjaTrader.Custom.dll assembly from My DocumentsNinjaTrader 6binCustom folder, after that NT was able to load any existing indicator code file.

      Please find attached a simple indicator code file which causes syntax errors. If I compile this file and restart NT, then trying to open script editor causes NT to crash again.

      Attached Files

      Comment


        #4
        imported post

        I confirm the problems you experience with your sample code. I contacted the provider of the 3rd party editor component and asked for resolution. I will keep you posted.

        For now I suggest not using templates in your NinjaScript code.

        Thanks for bringing this up.
        DierkNinjaTrader Customer Service

        Comment


          #5
          imported post

          We figured out what's going wrong and created a custom build. Please:
          -uninstall NT6 via control panel
          -clear your browser cache
          -install custom build from here: http://www.ninjatrader-support.com/n...er.Install.msi
          This should resolve the issue.

          Thanks for bringing this up.
          DierkNinjaTrader Customer Service

          Comment


            #6
            imported post

            This helped, thank you very much,
            I am really impressed and appreciate your support efforts and efficiency.


            p.s. The syntax checker still does not recognize generics, however. Not a problem as to me.

            Comment


              #7
              imported post

              I'm not that familiar with templates/generics in C#. Could you please point out expected behaviour by e.g. screenshot and/or sample code?

              Thanks
              DierkNinjaTrader Customer Service

              Comment


                #8
                imported post

                Please look at the attached screenshot. It includes code snippet from my previous attachment.

                The construct which is underscored by editor is legal in C# (.Net 2.0) though, and is recognized by, for example, Visual Studio 2005. Moreover, NT can even compile this code file and run it normally despite of the failed syntax check.

                Attached Files

                Comment


                  #9
                  imported post

                  Thanks, I can confirm the issues and will come back to you.
                  DierkNinjaTrader Customer Service

                  Comment


                    #10
                    imported post

                    The 3rd party vendor acknowledged the problem and announced fix for the near future (no real ETA yet).
                    DierkNinjaTrader Customer Service

                    Comment


                      #11
                      imported post

                      Dierk

                      imisuno is developing this indicator for me. I downloaded the custom build and installed it. I did NOT clear my cache becuase this is a probelm for me. I compiled the indicator. The custom indicator works fine but I get an error when I try to exit Ninja Trader (from the control panel).

                      Environment: xp pro sp2, current fixes.

                      Scenario:
                      1. Start Ninja Trader (I did not connect)
                      2. Started a new chart (50 tick)
                      3. Added the custom indicator. It works ok on the chart.
                      4. Select EXIT from the control panel. Received the error message below.

                      Any suggestions? I am guessing you are going to say clear my cache.

                      Thanks.

                      ------------------------------------
                      Here are the details of the error:

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

                      ************** Exception Text **************
                      System.InvalidOperationException: Unable to generate a temporary class (result=1).
                      error CS0012: The type 'System.Text.RegularExpressions.RegexOptions' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

                      at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)
                      at System.Xml.Serialization.TempAssembly.GenerateAsse mbly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
                      at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
                      at System.Xml.Serialization.XmlSerializer.GenerateTem pAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
                      at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
                      at System.Xml.Serialization.XmlSerializer..ctor(Type type)
                      at NinjaTrader.Cbi.XmlSerializerDictionary.get_Item(T ype type)
                      at NinjaTrader.Cbi.Serializer.Serialize()
                      at NinjaTrader.Gui.Chart.ChartControl.SaveToXml(XmlDo cument doc, XmlElement element, String[] elements, Boolean asTemplate)
                      at NinjaTrader.Gui.Chart.ChartForm.Save(XmlDocument document, XmlElement element)
                      at NinjaTrader.Gui.WorkspaceOptions.SaveForm()
                      at NinjaTrader.Gui.WorkspaceOptions.OnFormClosed(Obje ct sender, FormClosedEventArgs e)
                      at System.Windows.Forms.Form.OnFormClosed(FormClosedE ventArgs e)
                      at System.Windows.Forms.Form.RaiseFormClosedOnAppExit ()
                      at System.Windows.Forms.Application.ExitInternal()
                      at System.Windows.Forms.Application.Exit(CancelEventA rgs e)
                      at System.Windows.Forms.Application.Exit()
                      at NinjaTrader.Gui.Globals.AppExit()
                      at NinjaTrader.Gui.ControlCenterForm.ControlCenterFor m_Closing(Object sender, CancelEventArgs e)
                      at System.Windows.Forms.Form.OnClosing(CancelEventArg s e)
                      at System.Windows.Forms.Form.WmClose(Message& m)
                      at System.Windows.Forms.Form.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)


                      ************** Loaded Assemblies **************
                      mscorlib
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/Microsoft.NET/Fra...7/mscorlib.dll
                      ----------------------------------------
                      NinjaTrader
                      Assembly Version: 6.0.0.11
                      Win32 Version: 6.0.0.11
                      CodeBase: file:///C:/Program%20Files/NinjaTrad...injaTrader.exe
                      ----------------------------------------
                      NinjaTrader.Core
                      Assembly Version: 6.0.0.11
                      Win32 Version: 6.0.0.11
                      CodeBase: file:///C:/Program%20Files/NinjaTrad...rader.Core.DLL
                      ----------------------------------------
                      System.Windows.Forms
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...dows.Forms.dll
                      ----------------------------------------
                      System
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      System.Drawing
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...em.Drawing.dll
                      ----------------------------------------
                      System.Xml
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...System.Xml.dll
                      ----------------------------------------
                      WilsonORMapper
                      Assembly Version: 4.2.2.0
                      Win32 Version: 4.2.2.0
                      CodeBase: file:///C:/Program%20Files/NinjaTrad...onORMapper.DLL
                      ----------------------------------------
                      System.Data
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_32/S...ystem.Data.dll
                      ----------------------------------------
                      System.Configuration
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...figuration.dll
                      ----------------------------------------
                      mvkscdzd
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      SMTP.Net
                      Assembly Version: 3.0.1.0
                      Win32 Version: 3.0.1.0
                      CodeBase: file:///C:/Program%20Files/NinjaTrad...n/SMTP.Net.DLL
                      ----------------------------------------
                      d87e295de3b7457799ccda398b6a1504
                      Assembly Version: 6.0.0.11
                      Win32 Version: 6.0.0.11
                      CodeBase: file:///C:/Documents%20and%20Setting...der.Custom.dll
                      ----------------------------------------
                      System.Management
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...Management.dll
                      ----------------------------------------
                      NinjaTrader.Vendor
                      Assembly Version: 6.0.0.1
                      Win32 Version: 6.0.0.1
                      CodeBase: file:///C:/Documents%20and%20Setting...der.Vendor.dll
                      ----------------------------------------
                      7973277ded6640ad897dabcae7c0a3d0
                      Assembly Version: 6.0.0.1
                      Win32 Version: 6.0.0.1
                      CodeBase: file:///C:/Documents%20and%20Setting...dowTraders.dll
                      ----------------------------------------
                      n-viu_at
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      73vvnghg
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      aqorzkvd
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      dr0ftplk
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      jnpigtor
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      qih9eksk
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      jrw9gem3
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      dlmci9nh
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      2ulwenp_
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      -gg9xyz3
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      pjodiksn
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      vgpqn9q8
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      embbp0ol
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      axhx5zbk
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      onhx_bna
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      ddzztiux
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      f3vlbkpf
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      j84jzof0
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      vohixm0z
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      c_oswxqm
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      ykiqdfnw
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      4sturkn8
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      xjgv4bkp
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      System.Data.OracleClient
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_32/S...acleClient.dll
                      ----------------------------------------
                      System.Transactions
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_32/S...ansactions.dll
                      ----------------------------------------
                      System.EnterpriseServices
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_32/S...seServices.dll
                      ----------------------------------------
                      iac9tj4j
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      kehv0m6l
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      uzilaugb
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      9buxm1qi
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      SourceGrid2
                      Assembly Version: 2.2.0.0
                      Win32 Version: 2.2.0.0
                      CodeBase: file:///C:/Program%20Files/NinjaTrad...ourceGrid2.DLL
                      ----------------------------------------
                      SourceLibrary
                      Assembly Version: 1.2.3.0
                      Win32 Version: 1.2.3.1
                      CodeBase: file:///C:/Program%20Files/NinjaTrad...rceLibrary.DLL
                      ----------------------------------------
                      System.Design
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...tem.Design.dll
                      ----------------------------------------
                      Accessibility
                      Assembly Version: 2.0.0.0
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...essibility.dll
                      ----------------------------------------
                      lfhlmoy7
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      r9tz4f0g
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      mdvhec_l
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      yunlzohm
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      sevp4w8u
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      sxhl9cz7
                      Assembly Version: 6.0.0.1
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      qujpqjqt
                      Assembly Version: 6.0.0.1
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      gwcs0pee
                      Assembly Version: 6.0.0.1
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      vva-a-li
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      qcmrb_7z
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      ussxnjun
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------
                      bcaipu5p
                      Assembly Version: 6.0.0.11
                      Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                      CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
                      ----------------------------------------

                      ************** JIT Debugging **************
                      To enable just-in-time (JIT) debugging, the .config file for this
                      application or computer (machine.config) must have the
                      jitDebugging value set in the system.windows.forms section.
                      The application must also be compiled with debugging
                      enabled.

                      For example:

                      <configuration>
                      <system.windows.forms jitDebugging="true" />
                      </configuration>

                      When JIT debugging is enabled, any unhandled exception
                      will be sent to the JIT debugger registered on the computer
                      rather than be handled by this dialog box.

                      Comment


                        #12
                        imported post

                        I suppose your are talking about the intellisense cache <my documents>/cache. Not sure why you would have a problem clearing your cache, since it would be rebuild anyway on next editor start.

                        Anyway, issue below is not related. This looks like your .NET runtime installation is screwed up. Please:
                        - uninstall NT6
                        - uninstall .NET 2.0
                        - clear your browser cache
                        - download and install again .NET 2.0 runtime
                        - download and install NT6 again


                        DierkNinjaTrader Customer Service

                        Comment


                          #13
                          imported post

                          Dierk

                          I thought you were talking about IE cache. Are we taking about the same cache?

                          Comment


                            #14
                            imported post

                            Dierk

                            I still have the error:

                            - uninstalled NT6
                            - uninstalled .NET 2.0
                            - clearedbrowser Microsoft IE 7.0 browser cache
                            - rebooted machine
                            - downloaded and install again .NET 2.0 runtime
                            - downloaded 2 secuirty fixes for .net 2.0 to get it current
                            - installed NT6 special verion again from previous download (download was taking forever from Ninja so I used my previous download)
                            - Followed same ninja trader sequence as before

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

                            ************** Exception Text **************
                            System.InvalidOperationException: Unable to generate a temporary class (result=1).
                            error CS0012: The type 'System.Text.RegularExpressions.RegexOptions' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

                            at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)
                            at System.Xml.Serialization.TempAssembly.GenerateAsse mbly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
                            at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
                            at System.Xml.Serialization.XmlSerializer.GenerateTem pAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
                            at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
                            at System.Xml.Serialization.XmlSerializer..ctor(Type type)
                            at NinjaTrader.Cbi.XmlSerializerDictionary.get_Item(T ype type)
                            at NinjaTrader.Cbi.Serializer.Serialize()
                            at NinjaTrader.Gui.Chart.ChartControl.SaveToXml(XmlDo cument doc, XmlElement element, String[] elements, Boolean asTemplate)
                            at NinjaTrader.Gui.Chart.ChartForm.Save(XmlDocument document, XmlElement element)
                            at NinjaTrader.Gui.WorkspaceOptions.SaveForm()
                            at NinjaTrader.Gui.WorkspaceOptions.OnFormClosed(Obje ct sender, FormClosedEventArgs e)
                            at System.Windows.Forms.Form.OnFormClosed(FormClosedE ventArgs e)
                            at System.Windows.Forms.Form.RaiseFormClosedOnAppExit ()
                            at System.Windows.Forms.Application.ExitInternal()
                            at System.Windows.Forms.Application.Exit(CancelEventA rgs e)
                            at System.Windows.Forms.Application.Exit()
                            at NinjaTrader.Gui.Globals.AppExit()
                            at NinjaTrader.Gui.ControlCenterForm.ControlCenterFor m_Closing(Object sender, CancelEventArgs e)
                            at System.Windows.Forms.Form.OnClosing(CancelEventArg s e)
                            at System.Windows.Forms.Form.WmClose(Message& m)
                            at System.Windows.Forms.Form.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)


                            ************** Loaded Assemblies **************
                            mscorlib
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
                            ----------------------------------------
                            NinjaTrader
                            Assembly Version: 6.0.0.11
                            Win32 Version: 6.0.0.11
                            CodeBase: file:///C:/Program%20Files/NinjaTrader%206/bin/NinjaTrader.exe
                            ----------------------------------------
                            NinjaTrader.Core
                            Assembly Version: 6.0.0.11
                            Win32 Version: 6.0.0.11
                            CodeBase: file:///C:/Program%20Files/NinjaTrader%206/bin/NinjaTrader.Core.DLL
                            ----------------------------------------
                            System.Windows.Forms
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
                            ----------------------------------------
                            System
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            System.Drawing
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
                            ----------------------------------------
                            System.Xml
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
                            ----------------------------------------
                            WilsonORMapper
                            Assembly Version: 4.2.2.0
                            Win32 Version: 4.2.2.0
                            CodeBase: file:///C:/Program%20Files/NinjaTrader%206/bin/WilsonORMapper.DLL
                            ----------------------------------------
                            System.Data
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
                            ----------------------------------------
                            System.Configuration
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
                            ----------------------------------------
                            fzqt9ory
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            SMTP.Net
                            Assembly Version: 3.0.1.0
                            Win32 Version: 3.0.1.0
                            CodeBase: file:///C:/Program%20Files/NinjaTrader%206/bin/SMTP.Net.DLL
                            ----------------------------------------
                            d87e295de3b7457799ccda398b6a1504
                            Assembly Version: 6.0.0.11
                            Win32 Version: 6.0.0.11
                            CodeBase: file:///C:/Documents%20and%20Settings/Cliff%20Thompson/My%20Documents/NinjaTrader%206/bin/Custom/NinjaTrader.Custom.dll
                            ----------------------------------------
                            System.Management
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
                            ----------------------------------------
                            NinjaTrader.Vendor
                            Assembly Version: 6.0.0.1
                            Win32 Version: 6.0.0.1
                            CodeBase: file:///C:/Documents%20and%20Settings/Cliff%20Thompson/My%20Documents/NinjaTrader%206/bin/Custom/NinjaTrader.Vendor.dll
                            ----------------------------------------
                            7973277ded6640ad897dabcae7c0a3d0
                            Assembly Version: 6.0.0.1
                            Win32 Version: 6.0.0.1
                            CodeBase: file:///C:/Documents%20and%20Settings/Cliff%20Thompson/My%20Documents/NinjaTrader%206/bin/Custom/ShadowTraders.dll
                            ----------------------------------------
                            4folw7jb
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            exl7hppm
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            9qkgckdc
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            jvtciaev
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            pape6jwb
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            fkjdpti-
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            jhv-glti
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            vzwia-sa
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            y6qzcuq3
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            hmsz4afw
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            k8fd5ksd
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            qc1w4e6q
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            yhub0lxd
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            bgle4wyv
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            suk4jqla
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            ls8eks_i
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            bdb4usu3
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            utjhgj4x
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            ox9rs14v
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            itvk2ztd
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            iqyis772
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            1rn7-0uy
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            dysmhkd-
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            System.Data.OracleClient
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data.OracleClient/2.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll
                            ----------------------------------------
                            System.Transactions
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
                            ----------------------------------------
                            System.EnterpriseServices
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
                            ----------------------------------------
                            xhucoogo
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            d3iqswps
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            rr8ys-n7
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            6oo56wvd
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            SourceGrid2
                            Assembly Version: 2.2.0.0
                            Win32 Version: 2.2.0.0
                            CodeBase: file:///C:/Program%20Files/NinjaTrader%206/bin/SourceGrid2.DLL
                            ----------------------------------------
                            SourceLibrary
                            Assembly Version: 1.2.3.0
                            Win32 Version: 1.2.3.1
                            CodeBase: file:///C:/Program%20Files/NinjaTrader%206/bin/SourceLibrary.DLL
                            ----------------------------------------
                            System.Design
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
                            ----------------------------------------
                            Accessibility
                            Assembly Version: 2.0.0.0
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
                            ----------------------------------------
                            5osjmdw1
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            n5xx2a-a
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            tw6i_o-x
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            edkunsnk
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            sdo7nfwo
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            qd9vrbzh
                            Assembly Version: 6.0.0.1
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            3dw1g3ga
                            Assembly Version: 6.0.0.1
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            fiickp5g
                            Assembly Version: 6.0.0.1
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            0dnzsvxi
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            m03cmx_x
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            z475og1i
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------
                            in4tgqn7
                            Assembly Version: 6.0.0.11
                            Win32 Version: 2.0.50727.42 (RTM.050727-4200)
                            CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
                            ----------------------------------------

                            ************** JIT Debugging **************
                            To enable just-in-time (JIT) debugging, the .config file for this
                            application or computer (machine.config) must have the
                            jitDebugging value set in the system.windows.forms section.
                            The application must also be compiled with debugging
                            enabled.

                            For example:

                            <configuration>
                            <system.windows.forms jitDebugging="true" />
                            </configuration>

                            When JIT debugging is enabled, any unhandled exception
                            will be sent to the JIT debugger registered on the computer
                            rather than be handled by this dialog box.



                            Comment


                              #15
                              imported post

                              I suggest
                              - removing all indicators from the chart and trying to shut down NT again
                              - if this then works you can re-add the indicators you had on the chart step by step to isolate the indicator which causes the trouble

                              DierkNinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by ppau2004, Today, 01:32 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post ppau2004  
                              Started by drwbns, 03-12-2020, 08:45 PM
                              10 responses
                              125 views
                              0 likes
                              Last Post habibalex  
                              Started by westofpluto, Today, 12:39 AM
                              0 responses
                              6 views
                              0 likes
                              Last Post westofpluto  
                              Started by Bidder, Yesterday, 09:16 PM
                              0 responses
                              13 views
                              0 likes
                              Last Post Bidder
                              by Bidder
                               
                              Started by connorgrant5, Yesterday, 07:12 PM
                              0 responses
                              18 views
                              0 likes
                              Last Post connorgrant5  
                              Working...
                              X