SOLIDWORKS PDM Error: “Could not create folder. Cause: The file/key name was invalid.”

Article by Joe Medeiros, CSWE updated January 26, 2021

Article

This article is part of a series for troubleshooting common, and perhaps not so common, SOLIDWORKS PDM error messages.

SOLIDWORKS PDM ERROR: “Could not create folder. Cause: The file/key name was invalid.”

This reported error can occur when executing a SOLIDWORKS PDM Template. The error is caused when a folder/file name being defined in the SOLIDWORKS PDM Template contains an invalid character. Later versions of SOLIDWORKS PDM will capture the invalid character, and prevent it from being used in the folder/file name

SOLIDWORKS PDM Invalid Character

Invalid Character

If the Template was created in an earlier version of SOLIDWORKS PDM, an invalid character may exist in the folder/file name defined in the PDM Template. In this situation, a user will receive the message “Could not create folder. Cause: The file/key name was invalid.”  when executing the PDM Template. Editing the PDM Template and removing the invalid character will resolve this issue.

Invalid characters for folder/file names include:

" (Double quote)
/ \ (Forward / Back slash)
: (Colon)
? (Question mark)
* (Asterisk)
< > (Smaller / Bigger than)
| (Pipe)
and any character created when pressing the CTRL key

This error message can also occur if the folder/file name is empty.

Upcoming Related Event

Become a SOLIDWORKS Expert by watching a LIVE Broadcast in October to learn What's New in SOLIDWORKS 2022, plus learn about 3D Scanning, and Additive Manufacturing.

Posts related to 'SOLIDWORKS PDM Error: “Could not create folder. Cause: The file/key name was invalid.”'

Joe Medeiros, CSWE

Joe Medeiros is a SOLIDWORKS and PDM Certified Expert. He has been helping SOLIDWORKS users with training, mentoring and implementations since 1998. He combines industry experience with a thorough understanding of SOLIDWORKS products to assist customers in being successful. He shares his experience and expertise through blogs; one of which has been incorporated into the SOLIDWORKS Essentials training manual.