An Error Has Occurred And Solidworks 2010 Needs To Restart
Forums3D ContentCentralAdministrationAPI/MacrosComposerData ManagementDrawing and DetailingeDrawingsEducators and StudentsGeneralImport/ExportModeling and AssembliesSimulationSOLIDWORKS Add-InsSOLIDWORKS PCBSOLIDWORKS VisualizeUser InterfaceLog in0SearchSearchSearchCancelError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. All Places > API/Macros > Discussions Please enter a title. You can not post a blank message. Please type your message and try again. 17 Replies Latest reply on Jun 8, 2011 4:34 PM by Arne Morten Fredriksen An error has occurred and SolidWorks needs to restart Arne Morten Fredriksen Jun 5, 2011 8:55 AM Hi,I have problems with an EPDM Add-In I'm currently working on.When a SLDPRT document is open in SolidWorks, checked out, and a user push the checkin button in SolidWorks I wish to close the document.I have this code triggered from the postunlock event. Dim oFile As EdmLib.IEdmFile5 Dim oSwApp As SldWorks.SldWorks oFile = Ovault.GetFileFromPath(ppoData(Lindex).mbsStrData1) oSwApp = CreateObject("SldWorks.Application") oSwApp.CloseDoc(oFile.Name)
The document does close but after a few seconds SolidWorks crash and a message is displayed saying SolidWorks needs to restart.If I checkin the document from the explorer instead of from SolidWorks, everything works just fine.I'm using Vista 32bit, EPDM 2011sp2 and SW 2011sp2. Has anyone any idea what could be wrong?Thanks in advance I have the same question Show 0 Likes(0) 5787Views Categories: API Tags: none (add) apiContent tagged with api, solidworksContent tagged with solidworks, errorContent tagged with error, epdmContent tagged with epdm, add-inContent tagged with add-in, enterprise_pdmContent tagged with enterprise_pdm This content has been marked as final. Show 17 replies Re: An error has occurred and SolidWorks needs to restart Wayne Matus Jun 5, 2011 6:50 PM (in response to Arne Morten Fredriksen) From the info provided, I am guessing that it is because you need to do some cleanup work on your oSwApp object after you close the document. Like Show 0 Likes(0) Actions Re: An error has occurred and SolidWorks needs to restart Arne Morten Fredriksen Jun 6, 2011 2:48 AM (in response to Wayne Matus) Thank you for your reply.I added some cleanup code but it does not seem to help anyIS E NABLED CAUSES SOLIDWORKS TO CRASH Subscribe You can track all active APARs for this component. APAR status Closed as unreproducible in next release. Error description Duplicate of BR10000105989 / SR00053014 opened for IGES file format and reported for SW2011. SCENARIO: 1. Launch SolidWorks 2010 SP4.0 and login to SmarTeam using "admin." 2. From within SolidWorks select file and open, clicking on the System Folders icon. 3. Browse to the SmarTeam Work folder and select the IGES file type. 4. Select the sample IGES file and click Open. ==>> The IGES file begins loading. ==>> You will receive an error indicating that an https://forum.solidworks.com/thread/44677 error has occurred and SolidWorks needs to re-start. 5. Kill SolidWorks and SmarTeam using the Task Manager. 6. Restart SolidWorks, this time cancel the login to the SmarTeam Integration. 7. Navigate to the sample IGES file and open it. ==>> This time, the IGES file is opened as expected. NOTES: 1. Refer to the attached movie file (SR00055107 Recreated by FE with SW 2010.wrf) for more details. 2. This issue is the http://www.ibm.com/support/docview.wss?uid=swg1HE07443 same as is documented in BR10000105989, except that this case deals with SolidWorks 2010. 3. The issue is reproduced on Windows 7 64-bit and Windows XP 32-bit. 4. This issue was recreated by the FE using the following environment - * OS - Microsoft Windows XP Professional V2002 SP3 * SolidWorks Premium 2010 SP4.0 * SmarTeam V5R20SP5 * Customer's sample IGES file "gear box complete.IGS" Local fix empty Problem summary Duplicate of BR10000105989 / SR00053014 opened for IGES file format and reported for SW2011. SCENARIO: 1. Launch SolidWorks 2010 SP4.0 and login to SmarTeam using "admin." 2. From within SolidWorks select file and open, clicking on the System Folders icon. 3. Browse to the SmarTeam Work folder and select the IGES file type. 4. Select the sample IGES file and click Open. ==>> The IGES file begins loading. ==>> You will receive an error indicating that an error has occurred and SolidWorks needs to re-start. 5. Kill SolidWorks and SmarTeam using the Task Manager. 6. Restart SolidWorks, this time cancel the login to the SmarTeam Integration. 7. Navigate to the sample IGES file and open it. ==>> This time, the IGES file is opened as expected. NOTES: 1. Refer to the attached movie file (SR00055107 Recreated by FE with SW 2010.wrf) for more detail
»engineeringcommentsWant to join? Log in or sign up in seconds.|Englishlimit my search to /r/engineeringuse the following search parameters to narrow your results:subreddit:subredditfind submissions in "subreddit"author:usernamefind submissions https://www.reddit.com/r/engineering/comments/1p4tpo/a_very_helpful_solidworks_error/ by "username"site:example.comfind submissions from "example.com"url:textsearch for http://solidworks.burkesys.com/2009/07/debugging-solidworks-part-1-problems-when-running-sw/ "text" in urlselftext:textsearch for "text" in self post contentsself:yes (or self:no)include (or exclude) self postsnsfw:yes (or nsfw:no)include (or exclude) results marked as an error NSFWe.g. subreddit:aww site:imgur.com dogsee the search faq for details.advanced search: by author, subreddit...this post was submitted on 24 Oct 2013140 points (94% upvoted)shortlink: remember mereset passwordloginSubmit a new linkSubmit a new an error has text postengineeringsubscribeunsubscribe121,247 readers~90 users here nowWhat is /r/engineering for? 1) Sharing information, knowledge, experience related to the principles and practice of all types of engineering: civil, structural, mechanical, electrical, aerospace, chemical, computer, environmental, etc. 2) Questions about current engineering projects you are working on, how to interpret codes and standards, and industry practice are all encouraged. Engineers should help each other to make the world a safer and better place. 3) Images related to engineering are accepted provided they are relevant to engineering. Completed
comments Leave a comment This article outlines the methods I use to debug SolidWorks whenever it starts behaving badly, i.e. crashing or hanging on a consistent basis. Of course you need to be able to replicate the crash / hang in order to track down the problem. I will attempt to place these methods in order of how I would proceed when diagnoising an issue. This article, part 1 focuses on SolidWorks crashes / hangs when running or opening the program (as opposed to install problems which will be covered in a later article). Why might crashes or hangs occur? There are a number of reasons SolidWorks might start crashing or hanging. What is very important is "when" did SW start behaving like this. Service Pack upgrade to SolidWorks Recent install of other Software Windows issues and Windows updates Network issues and congestion Use of SolidWorks Add-Ins or 3rd party software Anti-Virus software Step 1 - Replicate the Issue *** It is extremely important to narrow down the cause and timing of the crash as much as possible. There is nothing more difficult to analyse than "my computer is slow today" or "solidworks is crashing all the time". While you replicate the crash, write down the scenario, what files you have open, what method are you doing. Try replicating the issue on different files. If a person can say "When I do XYZ, ABC happens" then is makes things a lot easier. Step 2 - Disable all Add-Ins ** Open SolidWorks -> Tools -> Add-Ins and untick everything. If you can't open SolidWorks to disable Add-Ins START -> run -> regedit -> Browse to HKEY_CURRENT_USER\Software\SolidWorks. Rename SolidWorks to SolidWorksOld and start SolidWorks. More specifically, the Add-Ins which are marked as for start-up are located in: HKEY_CURRENT_USER\Software\SolidWorks\Startup\Applications\ I always find that it is much safer to rename folders rather than deleting them. Step 3 - Use Software OpenGL Being a 3D CAD package, SolidWorks makes extremely heavy use of the graphics card. If you get "blue screens", computer shutdowns / reboots, then you need to try enabling Software OpenGL. Even better, however takes a little longer, is to check and upgrade your graphics card drivers. Open SolidWorks -> Make sure there are NO open Parts/Assemblies or Drawings -> Tools -> Options -> Performance -> Use Software OpenGL. Step 4 - Plug out the Network Cable * A lot of people store eve