Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled exception: cannot access tmp file. Have tried everything

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

    Unhandled exception: cannot access tmp file. Have tried everything

    Using latest version of Nt8. When trying to import addon script I guess this message:
    Click image for larger version

Name:	image.png
Views:	169
Size:	8.4 KB
ID:	1299441


    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?

    #2
    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!
    Luis H.NinjaTrader Customer Service

    Comment


      #3
      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.

      Comment


        #4
        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!​
        Luis H.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by cmv727 View Post
          Using latest version of Nt8. When trying to import addon script I guess this message:
          Click image for larger version

Name:	image.png
Views:	169
Size:	8.4 KB
ID:	1299441


          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 have the same error when trying to import an indicator.
          I deleted the tmp file and restarted. Error persists.
          Any update on why?

          Comment


            #6
            Hello DavidHP,

            cmv727 , were you able to get this resolved? If so, I'd like to update this forum post with some ideas so others can learn through it.


            Thank you!
            Luis H.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_LuisH View Post
              Hello DavidHP,

              cmv727 , were you able to get this resolved? If so, I'd like to update this forum post with some ideas so others can learn through it.


              Thank you!
              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.

              Comment


                #8
                Click image for larger version  Name:	image.png Views:	0 Size:	8.3 KB ID:	1312106

                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.

                Comment


                  #9
                  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!
                  Clayton G.NinjaTrader Customer Service

                  Comment


                    #10
                    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

                    Comment


                      #11
                      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
                      Before restarting NinjaTrader, please ensure all available updates are installed to your PC from the Windows Settings > Update and Security page. Be sure to manually check for updates here, and reboot after any updates are installed.

                      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
                      Disable Controlled Folder Access


                      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
                      ​If these steps do not resolve the issue, then yes you will need to contact a PC technician for further assistance.

                      Please let us know if we can be of any further assistance!

                      Comment


                        #12
                        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:

                        Click image for larger version

Name:	image.png
Views:	27
Size:	27.5 KB
ID:	1320961

                        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:

                        Click image for larger version

Name:	image.png
Views:	24
Size:	44.2 KB
ID:	1320962
                        Click image for larger version

Name:	image.png
Views:	24
Size:	39.4 KB
ID:	1320963
                        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​​

                        Comment


                          #13
                          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'
                          After stopping the backup, you will need to copy the NinjaTrader 8 folder from the original OneDrive Documents location onto the local PC.
                          • 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
                          It is best to have one window open with the OneDrive documents location and one window open with the local PC documents location to achieve this.

                          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.

                          Comment


                            #14
                            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​

                            Comment


                              #15
                              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!​

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Papaya, Today, 12:37 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post Papaya
                              by Papaya
                               
                              Started by Papaya, Today, 12:36 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post Papaya
                              by Papaya
                               
                              Started by UniPiece-daivil, Yesterday, 12:26 AM
                              2 responses
                              12 views
                              0 likes
                              Last Post UniPiece-daivil  
                              Started by leojimenezp, Today, 12:06 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post leojimenezp  
                              Started by Davidmilisits111, Yesterday, 08:44 PM
                              0 responses
                              4 views
                              0 likes
                              Last Post Davidmilisits111  
                              Working...
                              X