When working in an assembly or drawing in a collaborative environment with multiple users sharing/editing the same files, chances are you may have seen the message below ‘Unable to locate the file… when file references cannot be found. 

image1-2

This message means a reference file has been moved, renamed, or deleted and now SOLIDWORKS cannot locate the file. Understanding the search routine SOLIDWORKS performs to find files may help explain why your file opened with this message or opened with a completely different file reference than expected. 

 

The search routine listed below for SOLIDWORKS is followed every time a file is opened which contains references to another file:  

  1. Search in memory (the computer’s RAM) for an open document. 
  2. Search in the specified locations which have been added to Tools > Options > System Options > File Locations > Referenced Documents. 
  3. Searches the path of the active document, then recursively searches the path where the referenced document was last saved. 
  4. Searches the path where you last opened a document, then recursively searches the path where the referenced document was last saved. 
  5. Searches the path where the software last found a referenced document. 
  6. Search the full path where the document was last saved without a drive designation. 
  7. Searches the full path where the document was last saved with its original drive designation. 
  8. Allows user to browse to the document manually or suppress the missing reference and continue opening. 

Search in memory

The first place SOLIDWORKS searched for a reference document is within the computer’s RAM for files that are already opened with the same name. If files are named using generic names, this may cause problems if a file is opened with the same name as the one being referenced. 

 

Example: If an assembly is opened that references a file named HOUSING.SLDPRT, and you currently have a part with the same name opened, used for another assembly or project, then SOLIDWORKS will display ‘Referenced document has non-matching internal ID. Would you like to use it?’ You can then choose to replace the HOUSING.SLDPRT being referenced with the file opened or continue to open the correctly referenced ones. 

 

Follow this guide to learn more about the message ‘Referenced document has non-matching internal ID’

Search in Specified File Locations

The next place SOLIDWORKS will search for a file is in whatever folder that’s listed as a Referenced Documents folder in Tools > Options > System Options > File Locations > Referenced Documents. Click ‘Add’ to browse to a folder and add it as a Referenced Documents folder. 

Once the assembly is opened and saved with the updated references, the component properties will automatically update and the Referenced Documents folder is no longer required the next time the file is opened. 

Note, be sure to enable the options for ‘Search file locations for external references’ in Tools > Options > Systems Options > External References. 

Recursively Search

If you changed the name of the upper-level folder, you would only need to add the upperlevel renamed folder and then the system will automatically search subfolders for the same sub-folder path and filename. For example, if your mapped network drive changed from T:\Renamed Folder to Z:\Renamed Folder, then you can add Z:\Renamed Folder to the Referenced Documents list to recursively search for references in that location. 

Last Known/Saved Location

Searches the last saved location of the reference file. The last saved location of a component in an assembly can be viewed by right clicking the file in the FeatureManager Design Tree and then selecting Component Properties. 

image2

Browse for file

After the system has completed all the other search steps in the search routine, the user is prompted with the message ‘Unable to locate the file…’ with 3 choices to either browse to a new file, suppress the missing file, or suppress all missing files and continue opening. 

image1-2

Example: The HOUSING.SLDPRT file was renamed (not moved) to HOUSING_BELL.SLDPRT. The next time an assembly opens which references the HOUSING.SLDPRT file, the system will not be able to locate the file and then it will prompt the user to browse to the file. The user can select the HOUSING_BELL.SLDPRT file, save the assembly, and now SOLIDWORKS has updated the file references and “knows” where to find HOUSING_BELL.SLDPRT for that assembly. 

Technical support

If you have any questions regarding the SOLIDWORKS search routine or missing file references when opening files, feel free to reach out to MLC CAD Systems technical support. MLC CAD Systems can also provide services to assist with reviewing and possibly repairing/recovering larger data sets if file references are incorrect or missing. 

SOLIDWORKS Buy One Get One 50% Off!Act Now
+
Scroll to Top