Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Moving Ninjatrader.Custom do a different machine

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

    Moving Ninjatrader.Custom do a different machine

    Hi

    I have modified heavily the Ninjatrader.Custom and want to move it to another machine. Although it compile fine NT complains that cannot load and the only entry in the log is

    2017-09-08 17:22:24:346|0|4|Unable to retrieve type info for 'NinjaTrader.NinjaScript.AddOnBase' from assembly 'NinjaTrader.Custom': Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    How do I get the LoaderExceotions, already tried the fuslogvw but nothing related there

    #2
    forgot to mention that i have restored all references in the Config.xml

    Comment


      #3
      Hello tolisss,

      Thanks for writing in.

      The error received is a generic C# error. The message advises to retrieve the LoaderException properties from Reflection using a try catch.

      As we already know the issue is caused by references in the custom assembly, I would advise to restore the platform on the target PC to a clean state, and then to import the NinjaScripts from your other PC that have been exported as a NinjaTrader Backup. This will rename any references to PC agnostic names that receive complete and correct names on import.

      You can restore NinjaTrader to a clean state by renaming the platform folder in My Documents from "NinjaTrader 8" to "NinjaTrader 8 OLD" and then uninstalling and reinstalling the platform. Your personal settings are kept in the "My Documents/NinjaTrader 8" folder and renaming it beforehand will keep your settings safe when a clean instance of the platform is created.

      If you would like further assistance repairing the custom assembly, please write in to platformsupport[at]ninjatrader[dot]com with the text Attention Jim and the thread URL. I would then like to arrange a time where we can get connected to troubleshoot further.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      111 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      59 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      38 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      42 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      78 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X