• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Initialization of 'NinjaTrader.Gui.Tools.ConnectionMenuItem' threw an exception.

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

    Initialization of 'NinjaTrader.Gui.Tools.ConnectionMenuItem' threw an exception.

    NT8 on Win10 64 bit not booting. How do I dodge this exeption in the log file:

    Initialization of 'NinjaTrader.Gui.Tools.ConnectionMenuItem' threw an exception.

    I was builing a dll in VS2018 referencing NinjaTrader.Core.dll from my own dll. My custom dll can be accessed in the NT script and seems to run as expected. But when restarting NT the above exception is thrown and NT closes at the splash screen. Could there be a conflict with the NinjaTrader.Core.dll called from my own dll?

    Reinstalling NT8 and it runs again. But same problem reappears when handling my custom dll as above.

    Appreciate help on whats going wrong here.

    Kindly, Fredrik

    Last edited by FREEN; 09-23-2018, 01:00 AM.

    #2
    Hello FREEN,

    Thank you for your post.

    Please follow the steps below to manually attach your log and trace files to an email to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H' in the subject line and a reference to this thread in the body of the email.
    • Open your NinjaTrader folder under My Documents.
    • Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
    • Send the 2 compressed folders as attachments to your email.
    • Once complete, you can delete these compressed folders.

    I look forward to assisting you further.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Thanks Patrick,

      Sorry, I dont have any trace or log files since I reinstalled NT a couple of times in the process. However, the problem disappeared when I stopped referencing "NinjaTrader.Core.dll" from my own dll. Guess NT tried to load that dll twice since my dll had a dependency on it.

      I wanted to simplify my dll code by accessing NinjaScript, but it works fine with "pure" C# as well.

      Thanks anyways!
      Last edited by FREEN; 09-24-2018, 02:58 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by dtl-saw, Today, 08:44 PM
      0 responses
      12 views
      0 likes
      Last Post dtl-saw
      by dtl-saw
       
      Started by ballboy11, Today, 04:29 PM
      0 responses
      10 views
      0 likes
      Last Post ballboy11  
      Started by zacharydw00, Today, 02:29 PM
      2 responses
      28 views
      0 likes
      Last Post zacharydw00  
      Started by timcjpfx, Today, 06:22 AM
      4 responses
      27 views
      0 likes
      Last Post timcjpfx  
      Started by welson, Today, 08:26 AM
      2 responses
      18 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Working...
      X