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 kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    90 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    92 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    70 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    87 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    64 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X