SolidWorks Crashing - Strange Behavior
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
SolidWorks Crashing - Strange Behavior
Created this extremely simple part and saved it.
Now any time I open that part SolidWorks crashes.
What's really strange - is if I open a DIFFERENT, older SolidWorks part first, then I can open this one without crashing.
Any insights why just opening this part would crash SolidWorks?
And/or why opening a regular part first would then allow this one to open?
Now any time I open that part SolidWorks crashes.
What's really strange - is if I open a DIFFERENT, older SolidWorks part first, then I can open this one without crashing.
Any insights why just opening this part would crash SolidWorks?
And/or why opening a regular part first would then allow this one to open?
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
Re: SolidWorks Crashing - Strange Behavior
UPDATE:
Running SolidWorks Rx...
"launch SOLIDWORKS in Software OpenGL mode" did not solve the problem.
But "Click here to launch SOLIDWORKS while bypassing the Tools/Options settings'"
did solve the problem (so far).
Ugh... that means going back to default settings?
I spent hours getting my settings set up right.
(And did not back them up...)
Running SolidWorks Rx...
"launch SOLIDWORKS in Software OpenGL mode" did not solve the problem.
But "Click here to launch SOLIDWORKS while bypassing the Tools/Options settings'"
did solve the problem (so far).
Ugh... that means going back to default settings?
I spent hours getting my settings set up right.
(And did not back them up...)
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
Re: SolidWorks Crashing - Strange Behavior
I don't understand why opening an older part first would fix the problem.
- AlexLachance
- Posts: 2226
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2419
- x 2061
Re: SolidWorks Crashing - Strange Behavior
Hey Cbecks,
Have a look at your messages checked to not show again, most likely one in there causing the crash.
Kind of odd that you can open it after opening another part.
Have a look at your messages checked to not show again, most likely one in there causing the crash.
Kind of odd that you can open it after opening another part.
- Frederick_Law
- Posts: 1952
- Joined: Mon Mar 08, 2021 1:09 pm
- Location: Toronto
- x 1648
- x 1477
Re: SolidWorks Crashing - Strange Behavior
Copy the file, see if still crash.
If it does, delete the CS and try again.
Anything else in the file? Macro?
Disable addin you don't use.
If it does, delete the CS and try again.
Anything else in the file? Macro?
Disable addin you don't use.
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
Re: SolidWorks Crashing - Strange Behavior
Hi Alex. I checked all the "Dismissed Messages" so they would show again.AlexLachance wrote: ↑Fri Sep 09, 2022 7:30 am Have a look at your messages checked to not show again, most likely one in there causing the crash.
Opening the file still crashed and no messages shown.
- zxys001
- Posts: 1079
- Joined: Fri Apr 02, 2021 10:08 am
- Location: Scotts Valley, Ca.
- x 2323
- x 1001
- Contact:
Re: SolidWorks Crashing - Strange Behavior
Hi Checks, can you share (attach) your model here so we can test?Cbecks Design wrote: ↑Sat Sep 10, 2022 12:57 am Hi Alex. I checked all the "Dismissed Messages" so they would show again.
Opening the file still crashed and no messages shown.
"Democracies aren't overthrown; they're given away." -George Lucas
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
Re: SolidWorks Crashing - Strange Behavior
Thanks for offering to look at it.
It's actually any file I create now. Even just a simple cube. I create it, save it, quit SolidWorks. Launch SolidWorks again, try to open it, SolidWorks crashes.
Will try resetting Custom Settings now (resetting the SolidWorks registry).
Re: SolidWorks Crashing - Strange Behavior
Do you have PDM?
I have a strange PDM bug. If the PDM tab is set to "preview" in the "File-Open" dialog, and I click on a drawing file, Solidworks crashes.
I am a GIF. Click me!
I have a strange PDM bug. If the PDM tab is set to "preview" in the "File-Open" dialog, and I click on a drawing file, Solidworks crashes.
I am a GIF. Click me!
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
Re: SolidWorks Crashing - Strange Behavior
Not using PDM. Found the problem though. There was a 3rd party Add-In that was seemingly the culprit.
Clearing my User Registry Settings allowed the system to throw up the Error message pertaining to that.
(So good idea @AlexLachance , but just un-checking the Dismissed Messages did not allow that particular message to appear. I had to completely reset the SolidWorks registry in order to see it - following instructions in this Link).
Then I restored all my custom settings EXCEPT "System options".
And now I can open all my old files it seems.
(Restoring System options would make it crash again)
- AlexLachance
- Posts: 2226
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2419
- x 2061
Re: SolidWorks Crashing - Strange Behavior
That was what I was going to suggest,to clear your registry.Cbecks Design wrote: ↑Mon Sep 12, 2022 6:11 pm Not using PDM. Found the problem though. There was a 3rd party Add-In that was seemingly the culprit.
Clearing my User Registry Settings allowed the system to throw up the Error message pertaining to that.
(So good idea @AlexLachance , but just un-checking the Dismissed Messages did not allow that particular message to appear. I had to completely reset the SolidWorks registry in order to see it - following instructions in this Link).
Then I restored all my custom settings EXCEPT "System options".
And now I can open all my old files it seems.
(Restoring System options would make it crash again)
image.png
Hopefully you have a fresh restore-file to use so you do not have to recreate your entire settings.
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
Re: SolidWorks Crashing - Strange Behavior
Hah. No, I did not.AlexLachance wrote: ↑Tue Sep 13, 2022 7:18 am That was what I was going to suggest,to clear your registry.
Hopefully you have a fresh restore-file to use so you do not have to recreate your entire settings.
I had no idea the SolidWorks Custom Settings could become corrupt!
(What will they think of next?)
So instead I saved out 7 versions of my custom settings.
One with all the settings intact. And one with each of settings type removed. Meaning one without System Options. One without Toolbar Layout. One without Keyboard Shortcuts, etc. And I tested each settings package to see which ones worked / didn't work. That's how i found it was just the System Options that was causing the error. So now, I fixed the error and have ALL my other settings in tact! (And backed up...)
- AlexLachance
- Posts: 2226
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2419
- x 2061
Re: SolidWorks Crashing - Strange Behavior
Once you have it, save one that will never change that will become a start-up template, and one that will be 'yours'. This way, you ensure having a custom settings that is proper for all the company and that never corrupts itself and one that is the same as the company but with it's customization that belong to you.Cbecks Design wrote: ↑Tue Sep 13, 2022 9:34 pm Hah. No, I did not.
I had no idea the SolidWorks Custom Settings could become corrupt!
(What will they think of next?)
So instead I saved out 7 versions of my custom settings.
One with all the settings intact. And one with each of settings type removed. Meaning one without System Options. One without Toolbar Layout. One without Keyboard Shortcuts, etc. And I tested each settings package to see which ones worked / didn't work. That's how i found it was just the System Options that was causing the error. So now, I fixed the error and have ALL my other settings in tact! (And backed up...)
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
Re: SolidWorks Crashing - Strange Behavior
Mine are always changing it seems. Tweaking one setting here, another setting there occasionally.AlexLachance wrote: ↑Wed Sep 14, 2022 7:10 am Once you have it, save one that will never change that will become a start-up template, and one that will be 'yours'. This way, you ensure having a custom settings that is proper for all the company and that never corrupts itself and one that is the same as the company but with it's customization that belong to you.
I'll have to save out a new Custom Settings file any time I modify any setting at all.
Otherwise I'll never have the latest one if it gets corrupted again.
Incremental backups.
Re: SolidWorks Crashing - Strange Behavior
In theory, I export a settings file every time I make a change. In reality, it doesn't happen as often as it should.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
- AlexLachance
- Posts: 2226
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2419
- x 2061
Re: SolidWorks Crashing - Strange Behavior
Tweaking one setting here and there isn't too bad compared to recreating an entire setting file But yeah, incremental backups is a good alternative too, it is how we used them here at first. setting_user_date was our "incrementing". We stopped doing these because we'd end up carrying over the corruption. So, we have the main setting that is the "standard" where I work, and then we tweak that setting to change things at our preference and save it in a new file with our name.Cbecks Design wrote: ↑Wed Sep 14, 2022 1:28 pm Mine are always changing it seems. Tweaking one setting here, another setting there occasionally.
I'll have to save out a new Custom Settings file any time I modify any setting at all.
Otherwise I'll never have the latest one if it gets corrupted again.
Incremental backups.
Reason we stopped also is that we noticed that the corruption sometimes came from an even earlier save that hadn't caused issue up until now. SolidWorks Registry wipe is done just about every 6 months on our computers to reduce risk of corruption.
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
Re: SolidWorks Crashing - Strange Behavior
THAT'S interesting.AlexLachance wrote: ↑Wed Sep 14, 2022 1:44 pm
Reason we stopped also is that we noticed that the corruption sometimes came from an even earlier save that hadn't caused issue up until now.
That's also very interesting. Thanks for sharing this. I've set a reminder to do the same.AlexLachance wrote: ↑Wed Sep 14, 2022 1:44 pm SolidWorks Registry wipe is done just about every 6 months on our computers to reduce risk of corruption.
It was about 9 months when mine became corrupted.
- Frederick_Law
- Posts: 1952
- Joined: Mon Mar 08, 2021 1:09 pm
- Location: Toronto
- x 1648
- x 1477
Re: SolidWorks Crashing - Strange Behavior
You can "test" which part of setting cause the crash.
When you restore, don't restore everything. Only restore one group. Until you find one that crash.
When you restore, don't restore everything. Only restore one group. Until you find one that crash.
- AlexLachance
- Posts: 2226
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2419
- x 2061
Re: SolidWorks Crashing - Strange Behavior
Let's not forget I'm also "assuming" a bit here too. Maybe the registry setting wasn't affecting the setting that was corrupted too, all I can say for certainty is that:
-Restoring settings did not fix the issues when they began.
-Saving a corrupt setting and trying to partially restore it to find the source of the issue did not change anything as the issue arose as soon as the settings were partially reloaded.
-Doing a registry wipe fixed the issue
If I remember correctly, I got the casual "Template corruption" excuse from my VAR when I reached out to them about this issue, without further any explication as to how to fix or work around the issue.
I recreate my entire settings from scratch every year I upgrade, just because SolidWorks is so great at causing issues just because they "remodeled" something. To do so, I take screenshots from all my settings tab and then recreate it in the new version. It's also a good exercice to notice the new settings and what has changed.
-
- Posts: 31
- Joined: Fri Aug 05, 2022 5:46 pm
- x 7
- x 16
Re: SolidWorks Crashing - Strange Behavior
Wiping the SolidWorks part of the registry fixed my problem for a short while. However Microsoft updates seem to have broken it again.
It seems like the Security Update for Windows is the culprit.
My SolidWorks worked fine on 9/17/22
9/19/22 I logged in, Microsoft did their forced updates, and voila. SolidWorks doesn't work anymore. Back to crashing on File->Open.