Fail to Save Document
SOLIDWORKS Forums
3 days ago

This just happened to me yesterday (using SW2018 SP2.) As some of you know, you try to save the SW part file and it gives you this error dialog "Fail to save document". While I was in this state (file in session but cannot save my recent changes to it), I read most of the forum posts on this topic and tried everything that I could: "Save-as" copy, Pack-n'-Go, save as to different directory, removed addin's etc.

I turned of my Windows7 indexing because I have been having issues with it - apart from SW.  In the end, SW won, and I had to kill my session of SolidWorks. and restart. As a result I lost about 3 hours worth of work. BTW, the same file opened, does now save, without this issue... at least for now.

I'm opening this thread to see if anyone else has had success in overcoming this issue recently. This is a bad one, because, first, I cannot reproduce it for and SR-SPR and second, it isn't like something you can submit to your VAR, because when your in this situation, it is all or nothing, if you know what I mean.

 

Mark


Categories: General

Comments
Last comment By: Gary Garrison   Wed, 13 Feb 2019 01:38:43 GMT
Re: Fail to Save Document

Hello Mark,

 

I can't imagine anything I can suggest that you haven't already tried.  Were you trying to save to a network, and if yes, did you try to save locally?

 

You said you lost 3 hours of work.  Please don't take this the wrong way, but I can't believe you had worked 3 hours without saving, so did it somehow lose the changes from previous saves?

 

Glenn

By: Glenn Schroeder  Wed, 02 May 2018 13:08:16 GMT
Re: Fail to Save Document

This is a problem that I've had on and off since 2006. Its quite a fundemantal part of software usage that is allows you to save your changes. I've also had saves not save when this has happened to me.

 

Very annoying.

 

Steve

By: Steve Crompton  Wed, 02 May 2018 13:46:37 GMT
Re: Fail to Save Document

If I were you:

 

  1. I will check my HD to make sure that there is enough space.
  2. I will try to save other documents to make sure there is no problem with HD (eg: MS Office).
  3. Save SWX files in USB to make sure that SWX is okay.
  4. Uninstall and reinstall the SWX.
  5. Then again I try to save SWX files.

 

Finally I go to VAR. There are problems unless you get formatted your HD you can’t solve. For example I am not getting email notification of my SWX forum post. I decided to get format my HD.    

By: Maha Nadarasa  Wed, 02 May 2018 13:44:25 GMT
Re: Fail to Save Document

Did you activate backup and restore option in Solidworks? maybe you have one step previus to fix your problem.

2016 SOLIDWORKS Help - Backup/Recover Options

By: Rubén Rodolfo Balderrama  Wed, 02 May 2018 14:26:55 GMT
Re: Fail to Save Document

There was a time several releases ago that I had this issue frequently.  If I recall correctly, the thing that worked best at the time was a Ctrl-Q rebuild on every configuration.  I think I even wrote a macro at the time to do that.

By: Josh Brady  Wed, 02 May 2018 14:44:29 GMT
Re: Fail to Save Document

I've had it occasionally over the years, most recently I think it happened when editing a part in the context of an assembly. As you've noted it's a hard one to reproduce.

By: John Layne  Thu, 03 May 2018 00:41:44 GMT
Re: Fail to Save Document

Nope - totally local drive.  Although my colleague did alert me to the fact that I had my GrabCAD folder in a weird location (we use parallels and it is know to create mirror folders.)

By: Mark Biasotti  Thu, 03 May 2018 01:41:59 GMT
Re: Fail to Save Document

Nope, no configurations in the part - although I've heard of that being a fix.

By: Mark Biasotti  Thu, 03 May 2018 01:43:20 GMT
Re: Fail to Save Document

A similar issue that has been happening to me lately is Windows Explorer suddenly shows "not responding" in the Task Manager when saving in Solidworks. When this happens the latest saved changes are not actually saved, sometimes going back a few saves. Closing and reopening Windows Explorer without closing Solidworks allows me to save again.

 

As John Layne said, it seems to happen when editing a part in the context of an assembly. Luckily it hasn't happened in a couple weeks though.

 

 

By: Eric Salvo  Thu, 03 May 2018 13:07:57 GMT
Re: Fail to Save Document

I have the same Problem.

The Auto-Save dosn't work too.

One IT-Man think it's a Problem with the Registration from the PC.

By: Tobias Altmann  Tue, 22 May 2018 07:16:00 GMT
Re: Fail to Save Document

This same problem just started for me today. I updated to SWX 2018 sp05 yesterday. I get the "Failed to save" message at random times when I am not even attempting to save anything.  Also having issues with auto recovered documents.  I have a standalone installation not linked to any server.

By: Rick Casey  Fri, 14 Dec 2018 19:56:37 GMT
Re: Fail to Save Document

I have had this issue in the past. If I remember correctly, it was an issue of me having a Windows Explorer window open and the file I was trying to save was selected. When windows generates a preview of the selected, it locks (temporary read-only) the file. This happens to me all the time when I export PDFs, except I don't get the same error message. I'm now in the habit of deselecting files that I'm working on.

By: Shawn Stugard  Fri, 14 Dec 2018 20:13:12 GMT
Re: Fail to Save Document

Shawn Stugard wrote:

 

I have had this issue in the past. If I remember correctly, it was an issue of me having a Windows Explorer window open and the file I was trying to save was selected. When windows generates a preview of the selected, it locks (temporary read-only) the file. This happens to me all the time when I export PDFs, except I don't get the same error message. I'm now in the habit of deselecting files that I'm working on.

I've noticed the same thing. I always try to close any Windows Explorer Windows once I have everything I need opened.

By: Tony Tieuli  Fri, 14 Dec 2018 20:36:53 GMT
Re: Fail to Save Document

Off topic, but Ctrl+Shift+Q rebuilds *all* configurations

By: Jesse Powers  Mon, 17 Dec 2018 16:04:02 GMT
Re: Fail to Save Document

Jesse Powers wrote:

 

Off topic, but Ctrl+Shift+Q rebuilds *all* configurations

Not too off-topic... But I probably didn't type enough in my first post.

The issue with even Ctrl+Shift+Q is that it only force rebuilds the top-level document.  Often (at the time) the "failed to save" would be coming from one of the components, but no indication which one.  Thus the macro, which did a force rebuild of all components at every level of the assembly.  Took a while, but you could go get a cup o' coffee.

By: Josh Brady  Mon, 17 Dec 2018 16:10:39 GMT
Re: Fail to Save Document

Tobias Altmann wrote:

 

I have the same Problem.

The Auto-Save dosn't work too.

One IT-Man think it's a Problem with the Registration from the PC.

If my memory serves me right but part of the problem was the Autosave.  Had to turn it off and then the problem went away, seems this was happening in 2017 one of the early versions.  Problem went away around service pack 5.

 

Found the old topic  https://forum.solidworks.com/message/813982#comment-813982

By: David Nelson  Mon, 17 Dec 2018 16:42:17 GMT
Re: Fail to Save Document

I see.  I'm not sure if OP had the issue with an assy or a part. 

.

I was having the issue saving an auto-saved part over the part file in my local folder (because SW crashed when I was rebuilding-- I knew I should've saved before trying to rebuild, but I didn't).  The part was in an assy that I had open, and I added a few configurations to it.  I tried rebuilding all configs in the part and then saving multiple times (to no avail) because I read in another thread that sometimes SW will say it did not save when, actually, it did save. 

.

I ended up saving the part in a different folder, closing the assy and part, copy-and-replace the saved part over the old part, and then opening the assy again.  ¯\_(ツ)_/¯

By: Jesse Powers  Mon, 17 Dec 2018 19:36:09 GMT
Re: Fail to Save Document

Same here.  I just jumped from 2014 Sp5 to 2019 Sp1.

 

Obviously I haven't done this in a while, so I don't know if I am missing a setting or something.

 

Stand-alone license.  Local drive only until I rework our CAD server that got encrypted by a virus.  All cad files are coming from a storage drive I moved from my old computer to the new one today.

 

The most frustrating part?  Not every part is giving my problems.  Some are "read only" and some aren't.  (See attached)

By: Gary Garrison  Sat, 09 Feb 2019 00:49:53 GMT
Re: Fail to Save Document

I tried to run the conversion utility over the weekend.

 

This is what I found when I came in...  Grrrr

 

Why is my directory partially set to "read only"?  READ-ONLY CONVERT.JPG

By: Gary Garrison  Mon, 11 Feb 2019 15:10:50 GMT
Re: Fail to Save Document

Hey Garry,

 

The files you are trying to batch-run are in read-only. You need to give yourself write permission in order to fix the issue you are facing.

 

2017-04-19_10h37_55_read.png?fit=725%2C924&ssl=1

 

Your directory's set that way probably because of company policies or something like that? Perhaps you have something that gets updated every night from your server to your computer and in order to work that way it needs full write access. It could be a bunch of things to be honest.

By: Alex Lachance  Mon, 11 Feb 2019 15:29:10 GMT
Re: Fail to Save Document

I understand what you are saying, I just don't understand why is did it.  I literally moved my CAD data on a stand-alone HDD (where I had no access issues) to my new computer.  Literally "unplug old - plug in new" and close the PC case.

 

I am and have been the only SW user since 2005.  I created every file and directory on the drive.  I am an "admin" on both computers.  The new PC is a clean install directly to 2019sp1. 

 

It's just frustrating.  I rarely change workstations, so when I do there is always something different or a new setting that I don't know about.

By: Gary Garrison  Mon, 11 Feb 2019 16:19:50 GMT
Re: Fail to Save Document

FYI, you probably moved Read-only files from your cad Data to your stand-alone HDD. Being in read-only doesn't block you from moving or deleting the file, it blocks you from modifying it in the literal sense of programation and being an admin on both computers doesn't unblock the ''Read only''.

 

Just click on the folders you require to fix and remove the Read only on them and check the box to apply on all the files under the folder. Your frustration comes from a lack of understanding certain things, not SolidWorks.

By: Alex Lachance  Mon, 11 Feb 2019 16:50:35 GMT
Re: Fail to Save Document

Alex you may not be understanding my posts completely.  I *should* have full access on both computers.  I created all the SW files and directory folders myself.  They were not read-only before the SW and workstation change, but now they are.  They are not all read-only for SW2019, just most of them while being stored in the same directory folder. 

 

There was no transfer of digital data.  I moved the physical drive that I had full write access on from one computer to another.

By: Gary Garrison  Mon, 11 Feb 2019 17:07:15 GMT
Re: Fail to Save Document

Oh, I understand what you mean now.

 

You, or an IT of your company, could have right clicked on the folder and set it to read-only by inadvertance. Have you looked if the files are actually in read only or if they aren't..?

By: Alex Lachance  Mon, 11 Feb 2019 17:11:38 GMT
Re: Fail to Save Document

This is what I am talking about.  I have to missing something...

READ-ONLY - PARTvsSW.JPG

 

 

If you "Click to find" they will all read "system"

READ-ONLY - CLICK TO FIND.JPG

 

I KNOW I have deselected the "Read Only" checkbox more than once.  For example it seems like it will let me save a drawing (but not subcomponents) before it resets again.  This is a local HDD, but my server folders are resetting their permissions as well.

 

 

READ-ONLY - WORKDIR.JPG

 

 

This is really starting to mess with my productivity.  I've lost almost a full day of work trying to figure this out.

 

Oh and now I am thinking my Server Search Index is messed up on my network folders because my searches for files just keep spinning while finding nothing.  If I copy>paste my drawing pdf into the folder it kicks back as a duplicate instantly.

By: Gary Garrison  Mon, 11 Feb 2019 19:09:28 GMT
Re: Fail to Save Document

Hey Gary,


That's actually pretty darn weird that SolidWorks detects a file as read-only altough it isn't set to read only in Windows. Do you work with PDM..? Perhaps that could be the cause?

 

I'm just spitballing here but perhaps you had SolidWorks opened with some of those files opened when you did the transfer and there's something that ''bugged'' during that event..?

By: Alex Lachance  Mon, 11 Feb 2019 19:35:01 GMT
Re: Fail to Save Document

I had been using PDM for years.  Our servers recently got hit with a virus that encrypted a lot of stuff including my CAD Vault.  Knowing I was upgrading my workstation (and PDM Server) I have been working off my local machine since then with no problems at all (SW2014sp5).  Once the jump to 2019 happened I was going to redo the CAD Vault and check in all my files.

 

That jump to 2019 happened at the end of last week, and it has been one think after another trying to get sorted.  I'm just glad I only have a single seat do deal with.  However as the only CAD user, the longer this takes to resolve the worse it gets for me.  I can't even do a simple drawing change right now.

 

I'm waiting for call back from my VAR to try to get this fixed.

By: Gary Garrison  Mon, 11 Feb 2019 20:05:18 GMT
Re: Fail to Save Document

Still spitballing but I know PDM has some sort of ability to lock files from the vault so that a user will not be able to modify certain parts if someone has taken the access from it. Perhaps that setting is encrypted inside files to make sure it doesn't get modified in case of a server short cut and that is what is stopping you from being able to edit it.

 

Perhaps the virus got to your files too? Honestly, I haven't seen this kind of behavior happen very often and I've been taking care of the IT for our company for 8 years. Have you contacted your VAR about this? They would be best equipped to diagnose the root of your problem.

By: Alex Lachance  Mon, 11 Feb 2019 20:24:28 GMT
Re: Fail to Save Document

It appears at this time that for some reason my change to Win10 in some way caused Windows to reset my working directories to "Read Only".  Even after removing that restriction, it would reset itself almost immediately.

 

After a long call with my VAR the only solution we could find was to create new working directories in Win10 and to copy my files to the new directories.  Once we did that, everything has been working just fine.

By: Gary Garrison  Wed, 13 Feb 2019 01:38:43 GMT
You are not authorized to view this page No results found! Suggestions: Check spelling, try a different search, or browse topics below.