Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unknown Error 2

Status
Not open for further replies.

drawoh

Mechanical
Oct 1, 2002
8,912
I am trying to save a SolidWorks assembly model. The save fails with the message &quot;An unknown error occurred while accessing <filename deleted here>&quot;. The filename is that of the assembly model. We cannot save work.

If I try selecting a new configuration, I get the error message &quot;An unknown error occurred while accessing an unnamed file.&quot;, 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
 
Replies continue below

Recommended for you

Sounds like your file may have been corrupted. Can you do a Save As and save it as a copy somewhere else? &quot;The attempt and not the deed confounds us.&quot;
 
There are several &quot;last actions&quot; to take with such a document. Sounds like the document (read: the data therein) is corrupt, like cMadMango said.

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 &quot;Advanced&quot; checked and make a new configuration &quot;showing assembly structure only&quot; 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 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
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
 
You can also do this.

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 [spin] [americanflag]
3DVision Technologies
credence69@REMOVEhotmail.com

*When in doubt always check the help*
 
Another idea:

1 - open each component, force rebuilding (Ctrl+Q) and save.

2 - rename the file or make a copy using M$ Explorer (not a &quot;Save as&quot; in SW)

Strangely these procedures have saving me a lot of errors, mainly when opening drawings.

Good Luck
 
More thoughts: (copy file first and try on the copy)
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.
 
Problem solved, for the moment. Thanks MadMango. I have no idea of why I did not think &quot;corrupted file&quot; before. I tried most of the other stuff listed above, including the suppression of all the parts.

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
 
Does anyone knows how, or why, does this happens, so we can prevent future problems?

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
 
macPT,

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor