In short
If GstarCAD displays Gcad::ErrorStatus::eCantOpenFile [code: 364] and the DWG file cannot be saved, first check the free space on the destination drive. In our support experience, a full disk is a common cause of this error. If enough space is available, check write permissions and make sure the destination drive or folder is accessible.
Problem
When trying to save a DWG drawing to a selected drive or folder, GstarCAD cannot complete the save operation and displays an error similar to:
Error message
Error: Gcad::ErrorStatus::eCantOpenFile [code: 364]. "D:\test.dwg" could not be saved.
Solution
Check the free disk space
The first thing to check is the amount of free space on the drive where you are trying to save the DWG file.
If the disk is full or has very little free space remaining, GstarCAD may not be able to create or update the drawing file.
- Check the destination drive
Open Windows File Explorer and check how much free space is available on the drive. - Free up disk space
Delete or move unnecessary files to another drive. - Save the drawing again
Return to GstarCAD and try saving the DWG file again.
Support tip
We have encountered this error in practice when the destination disk was full. Freeing up disk space immediately resolved the problem.
Check folder permissions
If there is enough free disk space, make sure your Windows user account has permission to write to the destination folder.
This is especially important when saving to company folders, shared drives, protected Windows folders or locations managed by an administrator.
- Try another location
UseSAVEASand save the drawing to a local folder such as the Desktop or Documents. - Check the result
If the file saves successfully in another folder, the original destination probably has a permissions or access problem. - Check write permissions
Make sure your Windows account has permission to create and modify files in the original folder.
Check whether the drive or path is accessible
The error can also occur when GstarCAD is trying to save to a location that is no longer available.
This can happen with:
- disconnected network drives,
- unavailable server folders,
- external drives that have been disconnected,
- folders that were moved or deleted,
- invalid or inaccessible temporary or automatic save locations.
Try saving the drawing with SAVEAS to a known local folder. If this works, reconnect or correct the original storage location before saving there again.
Expected result
After freeing disk space, restoring write permissions or correcting the unavailable save path, the DWG file should save normally without the eCantOpenFile [code: 364] error.