Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Unhandled exception: cannot access tmp file. Have tried everything
Collapse
X
-
Hello mandrake88,
Thank you for the response!
I am very glad to hear that you were able to get everything working to your satisfaction!
Please let us know if you are ever in need of further support. Happy Trading!
-
Hi NT Support team,
Your last recommendation was a hit. One Drive was causing the problem. This is what I did based on your advice:
- Stopped One Drive to synch my computer
- Relocated the Documents folder out from One Drive folder to the standard C:\Users\<username>\Documents
- Uninstalled NinjaTrader, deleted NinjaTrader 8 folder, and restarted the computer.
- Downloaded NinjaTrader and installed from scratch.
After that, everything is working now.
Thank you so much for all your guidance in solving this problem. I appreciate it. I hope this case will be useful to others facing the same problem.
Regards,
Jose
Leave a comment:
-
Hello mandrake88,
Thank you for your message.
Within your screenshots we see that your Documents folder is located on OneDrive, which is most likely contributing to this issue.
To try resolving this issue, please move your Documents folder to your local hard drive on your PC using the following instructions:- Completely close NinjaTrader
- Hover your mouse over the OneDrive icon (the cloud) in the App Tray
- Right click and select Settings
- Locate the 'Backup' tab
- Under the 'Documents' Folder, select 'Stop backup'
- Go to your Documents folder
- Locate the 'Where are my files' icon
- Right click and select 'Open in new window'
- Locate the NinjaTrader 8 folder from within the OneDrive location
- Copy and paste the entire NinjaTrader 8 folder into the documents folder on your local hard drive
Once you have moved all of the NinjaTrader 8 files over, you will need to do a 'soft reinstall of NinjaTrader Desktop.- In the search field on your Windows taskbar, type Control Panel and select this app
- Select Programs > Programs and Features
- Locate NinjaTrader in the list, right click, and select uninstall
Once these steps are completed, download and install NinjaTrader Desktop by logging in to your user dashboard with the following link:
After you log in, please click the Download button in the bottom left corner and click the Download button on the Desktop Application Download page.
Please let us know if we may be of further assistance and if this works for you!
If you would like to schedule a remote call for assistance with this process, please email into clientservices[AT]ninjatrader[DOT]com and a representative can reach out to you during normal operating hours to provide you with an appointment link.
Leave a comment:
-
Hi Ninja Trader Cust. Service,
Thanks for your explanation.
Actually, I've done everything you recommend in your message.
I'm sending you the first message I receive right after login in:
Then, after clicking Ok, I get a second message. I'm including here two screenshots because I had to scroll down, so you can read the entire message:
I tried a new installation of Ninja Trader the same way you described, I also tried disabling the Windows Firewall/Antivirus, and checked that the Controlled Folder Access is disabled.
Nothing worked.
I think I'll try creating a new user account and installing Ninja Trader there to see what happens.
Please let me know if you have any other suggestions.
Thanks,
Jose
Leave a comment:
-
Hello mandrake88,
Thanks for the inquiry.
Can you post a screenshot with the exact language of the error you are seeing?
To clarify further, this error is not always caused by Dropbox; it can be any program on your PC affecting the accessibility of your local files, hence why it is recommended that you contact a PC technician for further assistance.
You are also welcome to try the following troubleshooting steps.
Please try opening the Platform regularly after each of these steps.
Reinstall the NinjaTrader Desktop App
Please follow the steps below to complete a quick reinstallation of NinjaTrader. You will not lose any custom information while using these steps.- Close all running applications.
- Do not do anything to the Documents/NinjaTrader folder
- Uninstall NinjaTrader within Windows Control Panel.
- Navigate to C:\ > Program Files > Delete the 'NinjaTrader 8' folder if it exists
- Reboot your PC.
- Once these steps are completed, download and install NinjaTrader from the 'Download' page on the NinjaTrader Account Dashboard
Windows Firewall/Anti-Virus
First, please check for any virus protection, firewall, and backup software you may be running, and add exceptions for NinjaTrader so that they do not interfere with NinjaTrader's operation.
"Hidden" and "Read-only" Folder Settings
Next, try to adjust the read/write protection for NinjaTrader's Documents folder:- Go to the Documents folder > highlight and right-click on 'NinjaTrader 8' > select "Properties".
- From the Folder properties, ensure that the Attributes have both "Read-only" and "Hidden" unchecked.
- When prompted to Confirm Attribute Changes, please make sure to select "apply changes to this folder, subfolders, and files" and press OK.
- Re-open the platform to see if the error persists
Next, press the "Windows Key" on your keyboard > Search for "Controlled Folder Access" > Click on "Controlled Folder Access" > Turn "Controlled Folder Access" off if it is enabled- This can be restricted by administrator settings. If you are unable to access this setting, please contact your network/PC administrator.
- Additional information on Controlled Folder Access may be read at this publicly-available link from Microsoft's website
Please let us know if we can be of any further assistance!
Leave a comment:
-
Hi,
I'm having the same problem described here but in my case it happens at starting the NT program.
I don't have Drop Box installed in my computer so I really don't know what's happening.
Today, I had a meeting with NT support but that didn't help. They said it's something in my computer and that I should call a PC technician.
Any help will be appreciated.
Thanks
Leave a comment:
-
Hello Everyone,
Thank you for your patience.
After working with a user directly, they found that having Drop Box installed within the start up drive or directory was causing this error to happen.
Here is the small amount of information we received on the steps:- "No files relating to NT8 or indicators were stored or installed from Dropbox. That is not the issue.
Just having the Dropbox app in the Windows Startup folder causes the problem. As soon as that startup item is removed, everything works fine."
I have asked that user to share more insight here, but that is completely up to them if they want to do so.
If you perform the steps as suggested and it resolves this error, please confirm so we may document this as a resolution for this message.- If it works for you, providing step-by-step instructions could be helpful for us to share with others too!
Thank you for your patience and assistance!
Leave a comment:
- "No files relating to NT8 or indicators were stored or installed from Dropbox. That is not the issue.
-
I am trying to resolve the same problem. I'm trying Unlocker Tool with no success. How are you using Unlocker? I've tried the obvious: dragging the indicator zip file into Unlcoker, or the tmp folder into Unlocker? Any help appreciated.Last edited by cmv727; 07-29-2024, 10:46 AM.
Leave a comment:
-
I have not resolved it.
The issue only happens on my NT 8.1.3.1 version.
I do not have the issue on my NT 8.0 version.
I have changed the persmissions on the tmp folder but the issue persists.
I don't see any other process using the file except NT.
*******
Update 7/16 9AM
I ran the portable Unlocker Tool and it resoved the issue and unlocked the file.
I was able to install the indicator afterwards.Last edited by DavidHP; 07-16-2024, 08:19 AM.
Leave a comment:
-
-
I have the same error when trying to import an indicator.Originally posted by cmv727 View PostUsing latest version of Nt8. When trying to import addon script I guess this message:
I have tried every conceivable fix, includi8ng a completely clean install (deleting all Nt8 folders everywhere). Removed antivirus and any background apps.
On a perfectly clean and new install this persists from the start. nT8 tech support says there is another process on my PC that is accessing the NT8 folder.\
Does anyone have any ideas what that could be?
I deleted the tmp file and restarted. Error persists.
Any update on why?
Leave a comment:
-
Hello cmv727,
I'll leave this thread open to other users in case they want to provide input.
If you are unable to get this resolved we recommend reaching out to a trusted PC technician.
Thank you!
Leave a comment:
-
I have done that and after following every instruction they provided, I was advised it is not a problem NT can support - suggesting is a problem with my computer/Windows. I posted here to see if anyone has had the same problem and may have found a solution.
Leave a comment:
-
Hello cmv727,
Thank you for your forum post.
It looks like it's trying to access the \tmp file and unable to.
Please contact our technical support team at platformsupport@ninjatrader[dot]com.
Thank you!
Leave a comment:
-
Unhandled exception: cannot access tmp file. Have tried everything
Using latest version of Nt8. When trying to import addon script I guess this message:
I have tried every conceivable fix, includi8ng a completely clean install (deleting all Nt8 folders everywhere). Removed antivirus and any background apps.
On a perfectly clean and new install this persists from the start. nT8 tech support says there is another process on my PC that is accessing the NT8 folder.\
Does anyone have any ideas what that could be?Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
173 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
328 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
252 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
355 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
181 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Leave a comment: