Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem with Import/ Export Ninja Script

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

    Problem with Import/ Export Ninja Script

    Hello.

    When I try to either import or export a NinjaScript archive file, I get the following message,

    "You have custom NinjaScript files on your PC that have programming errors. These errors must be resolved before you can import / export a NinjaScript Archive File"

    How do I find out what files its choking on?

    Regards,
    R. C.

    #2
    R.C.,

    Please go to Tools -> Edit NinjaScript and open any file in the NinjaScript Editor. Then press F5 to compile. Any errors will show up in a list on the bottom and these need to be addressed first.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      This is the error

      Thanks for the quick response.

      When I attempt to compile an indicator, this is the message ..

      "NinjaScript File = Indicator\@ADL.cs

      Error = The type 'System.Web.Services.Protocols.SoapHttpClientProto col' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Services. Version=2.0.0.0. Culture=neutral, PublicKey Token = some hex stuff

      Code = CS0012

      How do I add this reference?

      Regards,
      R. C.

      Comment


        #4
        NinjaScript Editor -> right click -> References -> Add

        File would likely be in C:\Windows\Microsoft.NET\Framework\v2.0.50727\
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          That solved it!

          Thanks for the help,
          R. C.

          Comment


            #6
            Finally! I found a solution!

            Thanks Josh! You don't know how long I've search for the solution to this error. Don't know why it happens. Do you?

            Comment


              #7
              Hello,

              I am sorry this is beyond our level of support.
              DenNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              581 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              337 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              554 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              552 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X