×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Unknown Error
2

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

RE: Unknown Error

Sounds like your file may have been corrupted.  Can you do a Save As and save it as a copy somewhere else?

"The attempt and not the deed confounds us."

RE: Unknown Error

There are several "last actions" 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 "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

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
3DVision Technologies
credence69@REMOVEhotmail.com
http://www.3dvisiontech.com
http://www.3dmca.com

*When in doubt always check the help*

RE: Unknown Error

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 "Save as" in SW)

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

Good Luck

RE: Unknown Error

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.

RE: Unknown Error

(OP)
   Problem solved, for the moment.  Thanks MadMango.  I have no idea of why I did not think "corrupted file" 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

RE: Unknown Error

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

RE: Unknown Error

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close