How Do You Fix the ‘File Path Too Long’ Error When Saving to 3DEXPERIENCE Platform?

FILE PATH TOO LONG ERROR WHEN SAVING TO 3DEXPERIENCE PLATFORM

Many people may encounter the 'File path too long' error when uploading files to the 3DEXPERIENCE platform. In this blog, we will explore the reasons for this error and how to resolve it. 

REASON: 

This error occurs due to a SOLIDWORKS file path exceeding the character length limit. By default, Windows allows a maximum of 260 characters for file paths with file name and extension included. When the path of a file stored in a local folder exceeds this limit, the system displays the 'File path too long' error. 

Some people may have questions that my file path is only 175, including the file name and extension but I am facing this error.

When we try to save a file to the 3DEXPERIENCE platform, SOLIDWORKS will try to store as a cache file in the backend. The default cache path is usually something like: 

C:\Users\[User_Name]\AppData\Local\DassaultSystemes\3DEXPERIENCE [Tenant_ID]_[User_Name]\Remote Files\#1 

This path alone can take up around 110 to 120 characters, depending on your username and tenant ID. When saving files to the 3DEXPERIENCE platform, characters of this path is also included as part of the SOLIDWORKS file path. 

For example: 

Let’s say your original file is located at: 

“D:\Design Data\[Team Name]\[My Design Folder]\Project [Name]\SOLIDWORKS Design\3843473\Assembly Document\Test.sldasm” 

This file path can be around 140 to 150 characters long. 

Already as mentioned above, the default cache location for the 3DEXPERIENCE platform is around 120 Characters Long: 

So when you try to save that assembly file (Test.sldasm) to the 3DEXPERIENCE platform, the full path becomes something like: 

“C:\Users\[User_Name]\AppData\Local\DassaultSystemes\3DEXPERIENCE\[Tenant_ID]_[User_Name]\Remote Files\#1\D:\Design Data\[Team Name]\[My Design Folder]\Project [Name]\SOLIDWORKS Design\3843473\Assembly Document\Test.sldasm” 

This results in a total path length of around 270 to 280 characters, which exceeds the default Windows file path limit of 260 characters.

Therefore, due to this reason you are encountering the "File path too long" error. 

SOLUTION: 

While Installing Design with SOLIDWORKS the fourth stage will ask for Vault View path. By default it will be as shown below 

“C:\Users\[User_Name]\AppData\Local\DassaultSystemes\3DEXPERIENCE ”


Change to shortest path as you can. 
  • For a new installation: You can set a different Vault View path during the installation process as shown in the image above.
  • For an existing installation: You can change the Vault View path for existing Installation using the Windows Command Prompt. Follow the below step-by-step procedure to modify the Cache file location.


STEP: 1 

Check before CacheMove 

Make sure that SOLIDWORKS and all related applications are closed in the Task Manager before proceeding. This includes the following processes: 

  • SLDWORKS.exe 
  • AsyncSaveInto3DEXPERIENCE.exe 
  • SaveInto3DEXPERIENCE.exe 
  • ENOPLMCSACLIENT.exe 


Administrator permissions are required to run CacheMove from the Command Prompt while working with Design with SOLIDWORKS app and the SOLIDWORKS Add-in. 

Note 1: Administrator permissions are not required for 3DEXPERIENCE SOLIDWORKS. You need to run Command Prompt from User Profile here. 

Note 2: You cannot set Network Sharing (\\networkshare) as cache path. 

STEP: 2 

If you are using Design with SOLIDWORKS, run command prompt as an administrator. 

STEP: 3 

Run the ChacheMove.exe in USWC location to achieve that 

For Design with SOLIDWORKS run: “cd C:\Program Files\Dassault Systemes\B427xcadconnectors\win_b64\USWC” 

For SOLIDWORKS Connected run: “cd C:\Program Files\Dassault Systemes\SOLIDWORKS 3DEXPERIENCE\win_b64\USWC”


STEP: 4 

To know your current cache location type: CacheMove –d


To move a non-empty cache that contains existing files to a new location: CacheMove –ne “Enter your Moving Location”


To move an empty local cache to a new location: CacheMove –E “Enter your Moving Location”

SUMMARY: 

This is the procedure to change your cache location path. By using a simple or shorter path, you can avoid this error in the future and save your files to 3DEXPERIENCE without any issues.


Contact Us: Have questions or need assistance? Feel free to reach out!

Phone: +91 94454 24704
Email: mktg@egs.co.in

Comments

Popular posts from this blog

SOLIDWOKRS TECH TIP - SOLIDWORKS PROPERTY TAB BUILDER

Confused With Wire/Cable Harnessing? - Harnessing Technology By SolidWorks Electrical

SolidWorks Electrical Solutions for Control Panel Design