Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add References... ERROR

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

    Add References... ERROR

    Hello,
    When I have added reference to
    "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Data.dll"

    and then used it this way:
    Code:
    using System.Data;
    Code:
    DataTable dt = new DataTable();
    I have got an error which you can see in the attachment.

    Please could you help me what to do?

    Thank you in advance.
    Attached Files

    #2
    Hello Luigio,

    Thank you for your post.

    Please send me your log and trace files for today so that I may look into what occurred.

    You can do this by going to the Control Center-> Help-> Mail to Support.

    Please place 'ATTN: Patrick - 920466' in the subject line and reference this thread in the body of the email: http://www.ninjatrader.com/support/f...ad.php?t=61012

    I look forward to assisting you further.

    Comment


      #3
      Originally posted by Luigio View Post
      Hello,
      When I have added reference to
      "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ System.Data.dll"

      and then used it this way:
      Code:
      using System.Data;
      Code:
      DataTable dt = new DataTable();
      I have got an error which you can see in the attachment.

      Please could you help me what to do?

      Thank you in advance.
      You should use the correct version of .NET. NinjaTrader is using .NET v3.5 SP1, not .NET v4.0. Some features that NinjaTrader has not documented actually require .NET 2

      Comment


        #4
        Thanks for all support.
        It was caused by wrong path to the reference in configuration file.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        649 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        576 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X