Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Unable to retrieve type info error when loading Ninja
Collapse
X
-
Hello cjriceperez,
Thanks for your post and welcome to the Forums.
Since this is an error being caused by a NinjaScript addOn from a third-party developer, you would need to reach back out to the developer of the addon to inform them of what error their script is causing so that they may look into the error message further and provide you with direction.
If the developer has any questions they could contact support[at]ninjatrader[dot]com.
-
I recently installed a trade copier from Apex on my N8 platform. Afterwards I got this error message NinjaTrader.NinjaScript.AddOnBase From assembly Microsoft.AspNet.SignalR.Client: Unable to load one or more of the requested types. Retrieve the LoadExceptions property​ for more information. They said they do not know what it is and that it may be a NinjaTrader error. After speaking with NinjaTrader support they confirmed it is not. Can someone tell me what it is and how to resolve it? (see image)
Leave a comment:
-
Okay, here's an update:
Turns out that I had the wrong Newtonsoft.Json.dll and that's what Ninja was complaining about. It was an older version I think got copied over from Ninja7. But the one that Twilio needs apparently was a different one. I copied that one over and now it's launching fine
So the trick is to put Newtonsoft.Json.dll into the Custom folder but not to add it to the references in the Ninja editor. If I do that I get a compile error in NinjaTrader.NinjaScript.DrawingTools.PriceLevels, some overlapping function call.Last edited by molecool; 07-23-2018, 10:11 AM.
- Likes 1
Leave a comment:
-
Hello molecool,
Thanks for your post.
This error is typically seen when there is a missing reference. The Newtonsoft.Json.dll package you mention may be involved.
You may wish to make sure that you have .NET 4.5 compatible DLL's and you may wish to confirm that all necessary packages are included.
I've included links to 2 threads that may provide further direction for troubleshooting.
Importing Newton.Json - https://ninjatrader.com/support/foru...d.php?t=108382
LoaderExceptions verifying references - https://ninjatrader.com/support/foru...ad.php?t=85453
Please let us know if there is anything else we can do to help.
Leave a comment:
-
Unable to retrieve type info error when loading Ninja
I'm getting this after adding a DLL to Ninja8:
Time Category Message
7/23/2018 6:43:28 AM Default Unable to retrieve type info for 'NinjaTrader.NinjaScript.AddOnBase' from assembly 'Twilio': Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Thing is that I have added Twilio's references and it compiles just fine in both NinjaTrader as as well as VisualStudio.
The one reference I have not added is Newtonsoft.Json.dll which also used to be part of Ninja7 (or at least was tolerated) but now causes compile conflicts (I think some overlapping definitions) in Ninja8.
It's possible that Newtonsoft is the culprit here, but the code works - I tested it. Can't get rid of that error message on load however. Please advise.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by proptradingshop, 03-21-2024, 09:50 AM
|
5 responses
26 views
0 likes
|
Last Post Today, 05:17 AM | ||
Started by MaupinFinche, Today, 05:08 AM
|
0 responses
2 views
0 likes
|
Last Post
by MaupinFinche
Today, 05:08 AM
|
||
Started by Enkidu, Yesterday, 06:40 AM
|
9 responses
35 views
0 likes
|
Last Post
by Enkidu
Yesterday, 01:11 PM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
12 responses
309 views
0 likes
|
Last Post
by z.franck
Today, 04:29 AM
|
||
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
32 responses
268 views
0 likes
|
Last Post
by f.saeidi
Yesterday, 06:49 AM
|
Leave a comment: