Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fail to connect sql server database

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

    Fail to connect sql server database

    I had a indicator needing to connect to sql server database. it wroks before, but not works after October, 2012. It may be the problem of Microsoft.net new version. The version is my computer is v4.0.30319.

    The error message in log file is

    Failed to call method 'Initialize' for indicator 'MyIndicator1a': Could not load file or assembly 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

    Can anyone help me to fix this?
    You can find my indicator code attached.

    Thanks,
    bxgforex
    Attached Files
    Last edited by bxgforex; 11-09-2012, 01:07 PM. Reason: add attachment

    #2
    Hello bxgforex,
    You are missing an reference and you need to add it.

    Please refer to the section "How to add a reference" from our help guide to know more.


    Systems.Data is part of the .Net Framework and you can locate the file in the .Net Framework installation folder. A typical folder would be like C:\Windows\Microsoft.NET\Framework64\v2.0.50727
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    417 views
    0 likes
    Last Post CaptainJack  
    Working...
    X