Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Errors related to missing files?

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

  • stewarco
    replied
    Phew, thanks. The repair option actually did the trick. I appreciate the quick response!

    Leave a comment:


  • NinjaTrader_Jim
    replied
    Hello stewarco,

    Thanks for your post.

    I would suggest running a repair operation from a NinjaTrader installer as a first step, as you may be able to restore files that are missing. If files are moved to other locations, you can then use the NinjaScript Editor and the files listed in the error panel. This can help to restore the platform without having to worry about losing anything after the last time you backed up.

    If that is proving to be too difficult, I would suggest setting up a clean environment, importing the backup, and then removing the older platform folder or archiving it incase you need to grab something specific.

    Setting up a Clean Environment:

    Creating a clean environment can be done by following the steps below:
    1. Close NinjaTrader 8, and rename the "NinjaTrader 8" folder in My Documents to something like: "NinjaTrader 8 OLD" Do not delete this folder.
    2. Uninstall NinjaTrader from the Windows Control Panel
    3. Delete the C:\Program Files (x86)\NinjaTrader 8 folder
    4. Reinstall using the installer from http://ninjatrader.com/PlatformDirect
    5. Import your backup file
    If you ever need to switch back to your original platform, you may do so by closing NinjaTrader and swapping the platform folder names.

    For example, Close NinjaTrader and rename the new "NinjaTrader 8" folder to "NinjaTrader 8 NEW" and the "NinjaTrader 8 OLD" folder to "NinjaTrader 8." Then restart the platform. Simply put: NinjaTrader 8 will always load the "NinjaTrader 8" folder in My Documents.

    We look forward to assisting.

    Leave a comment:


  • stewarco
    started a topic Errors related to missing files?

    Errors related to missing files?

    Hello. I think I accidentally moved/ changed some Ninja related directories, and am now unable to get any of my code to compile. Two things are happening:
    1) All of the indicators show an error that must be resolved before compiling "The name 'indicator' does not exist in the current context."
    2) If i try to restore from a previous back-up file, I get an error (something like) "there are errors in custom strategies that need to be corrected"..
    Any ideas what I should do? Should I just reinstall Ninja and then load in my custom strategies/ indicators from backup?
    Thanks much.

Latest Posts

Collapse

Topics Statistics Last Post
Started by onebcdfs, Today, 05:41 AM
0 responses
2 views
0 likes
Last Post onebcdfs  
Started by Hyper, Yesterday, 11:10 PM
1 response
13 views
0 likes
Last Post timko
by timko
 
Started by Ousher, Today, 04:01 AM
0 responses
7 views
0 likes
Last Post Ousher
by Ousher
 
Started by kuxosude, Today, 02:17 AM
1 response
8 views
0 likes
Last Post NinjaTrader_Jason  
Started by PanicTrades, 05-10-2020, 08:45 AM
6 responses
73 views
0 likes
Last Post damon_achey  
Working...
X