• 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, 02: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, 03:58 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by tonynt, Today, 02:18 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_JoshG  
      Started by denalek2419, Today, 01:46 PM
      3 responses
      11 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by REI140205, Today, 12:58 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by Aditrade, Today, 12:33 PM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by music_p13, Today, 12:22 PM
      2 responses
      11 views
      0 likes
      Last Post music_p13  
      Working...
      X