Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Import NinjaScript error

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

    Import NinjaScript error

    I exported a NinjaScript strategy using Export compiled assembly of selected source code with Protect compiled assemblies both checked and. unchecked.

    In both cases I got the following error:
    Import failed. The NinjaScript Archive File may contain duplicate method names that already exist on your PC or there is a required file missing on either your PC or in the import archive.

    Btw, the script compiles without errors and runs as expected; the only problem is that I cannot import nor send it to anyone else for beta testing until this problem is fixed.

    I also tried the following:
    Click Tools > Edit NinjaScript > Strategy
    Select the strategy in question > click the 'Delete' button (I deleted the original but still cannot import the protected compiled assembly)

    AND I tried:

    Click > File > Utilities > Remove NinjaScript Assembly... (the assembly was not listed here)

    I can Export and then Import if I Export unprotected source files.

    Anybody know why this happens?
    Last edited by ricktek; 04-25-2013, 12:41 AM. Reason: Provided additional information

    #2
    I figured it out myself. I checked the trace file and found that two indicators where included. They had to be removed before the protected assembly could be installed.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by benmarkal, Yesterday, 12:52 PM
    3 responses
    22 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by helpwanted, Today, 03:06 AM
    1 response
    18 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    11 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    6 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    244 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Working...
    X