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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    79 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    66 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X