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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    46 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    33 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X