Can't load file or assembly - futures io
futures io



Can't load file or assembly


Discussion in NinjaTrader

Updated
    1. trending_up 1,444 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 2 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Can't load file or assembly

(login for full post details)
  #1 (permalink)
 giandee 
Sacramento CA/USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Forex
 
Posts: 3 since Jan 2013
Thanks: 1 given, 0 received

Heya,

Error im receiving is Error on calling 'OnBarUpdate' method for strategy 'dumbstrategy/enterguidhere'. Could not load file or assembly 'CustomDLL, Version=1.0.0.0,Culture=neutral, PublicKeyToekn=null; or one of its dependencies. The System cannot find the file specified.

I have downgraded the original DLL from .net 4 to .net 3.5 and 3.5 client profile which is just a stripped down version of .net 3. We will call the dll I am referencing Test.DLL Now Test has references to other DLL's but upon compilation those should now be contained within the Test.DLL. So I have tried moving the Compiled Test.DLL and its Test.DLL.config and its pdb file to the bin\debug directory in the ninjatrader directory manually, readded references, restarted NT several times. I have also created a new strategy and only added the reference. The reference is picked up by intellisense in the script editor window. Compiles fine without error. The error is at runtime when trying to instantiate a new instance of one of the classes inside the DLL, otherwise no errors occur.

Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
1 min chart v-shape scan help please
ThinkOrSwim
TradingView help in improving Anchored Vwap
Platforms and Indicators
MacdBB V402 NT804 + gradient + pullback not working on N …
NinjaTrader
For the experts of Metastock
Platforms and Indicators
CME removal of 16:15-30 trading halt/effect on OHL
Emini and Emicro Index
 
 
(login for full post details)
  #3 (permalink)
 giandee 
Sacramento CA/USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Forex
 
Posts: 3 since Jan 2013
Thanks: 1 given, 0 received


Had to do a full reinstall of NT7 and now it executes.

Follow me on Twitter Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Can't load file or assembly


Last Updated on June 12, 2013


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing

Your Charts Should Speak To You w/Bob Cometta

Elite only
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts