Unknown Error
Unknown Error
(OP)
I am trying to save a SolidWorks assembly model. The save fails with the message "An unknown error occurred while accessing <filename deleted here>". The filename is that of the assembly model. We cannot save work.
If I try selecting a new configuration, I get the error message "An unknown error occurred while accessing an unnamed file.", then SolidWorks crashes. I can delete configurations without problem, but I still cannot save.
I tried copying the assembly file over to a new file, but I still get the unknown error.
Our document control people went in recently and renamed all the files in the model, but I think things have worked since then. They are not working now. There could be something embedded in one of the inactive configurations.
Has anyone ever seen anything like this? Any ideas?
JHG
If I try selecting a new configuration, I get the error message "An unknown error occurred while accessing an unnamed file.", then SolidWorks crashes. I can delete configurations without problem, but I still cannot save.
I tried copying the assembly file over to a new file, but I still get the unknown error.
Our document control people went in recently and renamed all the files in the model, but I think things have worked since then. They are not working now. There could be something embedded in one of the inactive configurations.
Has anyone ever seen anything like this? Any ideas?
JHG






RE: Unknown Error
"The attempt and not the deed confounds us."
RE: Unknown Error
But there are some tricks. First, MAKE A BACKUP COPY OF THE CORRUPT FILE, so you have the original file.
1. Send this file to your VAR, they should send to SolidWorks, there are some developer tools, which allow to reanimate such files in some circumstances. Allow them 2 to 4 days. They need the original file!
To active use the waiting time you can try some of the next tricks:
2. Use your backup file of this assembly. May be you have checked it in the options settings and are not aware of it
3. Save it with another name
4. Save it with another name to a different drive
5. Try to open and save it on another machine
6. Try to rename the configurations (I know, sounds silly, but works sometimes). If you can't do that in SolidWorks try SolidWorks Explorer instead
7. Try opening the assembly with "Advanced" checked and make a new configuration "showing assembly structure only" and name it as you like. No try to resave with this configuration active.
If all this fails you can try to get rid of some of the datas included in the document:
8. Use Unfrag (Joe Jones have it in the download section at www.nhcad.com if you can't find it elsewhere) to get rid of the shadow, this might be corrupt
9. Use EcoSqueeze (on the original file) to deleted the display list and the preview bitmaps. EcoSqueeze is a freeware and can be found at http://www.ecocom.com
No I have no trick left, sorry. If all this fails you want to hope that SolidWorks will reanimate the file, or you have to rebuild it.
Bye,
Stefan
RE: Unknown Error
1) Make a new directory somewhere on your HDD.
2) Open the assembly
3) Go to File\Find References\Click on Copy files.
4) Copy those files to a new directory on your local HDD
5) Try opening those files and see if you have the problem.
Question: Are you working over a network?
Or
To try and figure out whats wrong yourself. Make copies of your files like above.
Start deleteing parts or sub-assemblies out till you find the right component thats causing the problem.
If you don't have the time to try that out then you will have to wait for your VAR to do this, because I'll bet thats what they will do.
Or you can go blame SW right away and reinstall it.
See FAQ FAQ559-488
Good Luck,
Scott Baugh, CSWP

3DVision Technologies
credence69@REMOVEhotmail.com
http://www.3dvisiontech.com
http://www.3dmca.com
*When in doubt always check the help*
RE: Unknown Error
1 - open each component, force rebuilding (Ctrl+Q) and save.
2 - rename the file or make a copy using M$ Explorer (not a "Save as" in SW)
Strangely these procedures have saving me a lot of errors, mainly when opening drawings.
Good Luck
RE: Unknown Error
1. Suppress all parts and save assembly. If this works, then one of the parts is corrupt. Unsuppress each part and try save again to see which is bad.
If wouldn’t save with all parts suppressed, then it is the assembly itself. You may have to reassemble the parts.
2. If you have part relations in the assembly, suppress or delete them one by one in a file copy and try to save.
Good luck, I hope something works for you.
RE: Unknown Error
I recovered our backup from last week. Since I had not changed much at the assembly level, I did not lose too much work.
JHG
RE: Unknown Error
Regarding drawings, I think SW doesn't like much to have a lot of modifications in parts or assemblies without opening and rebuilding the drawing in intermediate stages of the modification.
Now I allways open the part/assembly to modify, toghether with it's drawing and make intermediate rebuildings: no more problems (at leaste untill now!).
Regards
RE: Unknown Error
I think this is the first major screw-up I have had, caused by SolidWorks (as opposed to screw-ups caused by me).
Several people have worked on the main assembly and on the sub-assemblies. Subassemblies have been checked into and out of SmarTeam. Files have been moved around, and most of them have been renamed at least once. Not everybody's SolidWorks modelling procedure is as methodical as I wish it were.
Most of the above is avoidable. It is the cause of the problem...
JHG