By superbad
#299736
On startup I get a few of these:


"Microsoft .NET Framework"

Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.

SplitterDistance must be between Panel1MinSize and Width - Panel 2 Min Size

If you click Continue on them (3 or 4 in total), SW eventually opens.

Also, when I export an MXS from an assembly and open it in Studio, and parts that were part of a component pattern come in weird. They show up on screen, but not in the list, can't be selected, and therefore can't be moved. I have to save the assembly as a flat part file and reexport the MXS to fix.

This is on 2009 sp2.1 under XP.

Is the previous version of the plugin available anywhere? Don't think I want to use this one for now. Thanks!
By JDHill
#299755
The first one is not the plugin's bug, and it would not likely be alleviated by using the previous version. It looks like what has happenen is that the plugin's configuration file has become corrupted. Probably the quickest way to fix that would be:
  1. browse to [system drive]:\Documents and Settings\[your username] and open Explorer's Search pane
  2. search for a folder named 'Dassault_Systèmes_SolidWo' (probably need to turn on the 'advanced > search hidden' options)
  3. once found, delete any copies of a file named 'user.config' contained in that folder or in any of its subfolders
If you have any trouble with this process, let me know, because there are other ways to fix it as well. I have seen other similar reports (pretty rare though) concerning the configuration system; because of this, I will be switching over to using my own configuration system in one of the next updates, so that we are no longer susceptible to platform-related issues like this one.

Your second issue is not likely a bug either, it just sounds like you're exporting instances. If you don't want that, go to the Scene Manager > Output > Export section and un-check 'Instances'.
By superbad
#299771
OK, the instances option fixed the problem. Had to uncheck "Use Hierarchy" as well- there was some other exported geometry that wasn't being selected, but that is fine. Still getting the .NET errors on opening after deleting the config files though.
By JDHill
#299778
That's a bit strange. Besides for being a 'Continue' button on the error dialogs, is there also a 'Details' button (or similar)? If so, and you then copy here the text it reports, then this would help to narrow down exactly which value(s) are being incorrectly initialized and I can then give you some very specific instructions about what to do to get things back to normal.
By superbad
#299783
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
at System.Windows.Forms.SplitContainer.set_Orientation(Orientation value)
at Maxwell.UI.mxMxmBrowserControl.mxMxmBrowserControl_SizeChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Maxwell.SolidWorks
Assembly Version: 1.8.3.0
Win32 Version: 1.8.3.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Maxwell.SolidWorks/1.8.3.0__0c67436bca449732/Maxwell.SolidWorks.dll
----------------------------------------
SolidWorks.Interop.swpublished
Assembly Version: 15.3.1.127
Win32 Version: 15.3.1.127
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/SolidWorks.Interop.swpublished/15.3.1.127__89a97bdc5284e6d8/SolidWorks.Interop.swpublished.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SolidWorks.Interop.sldworks
Assembly Version: 15.3.1.127
Win32 Version: 15.3.1.127
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/SolidWorks.Interop.sldworks/15.3.1.127__7c4797c3e4eeac03/SolidWorks.Interop.sldworks.dll
----------------------------------------
Maxwell.UI
Assembly Version: 1.8.3.0
Win32 Version: 1.8.3.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Maxwell.UI/1.8.3.0__0c67436bca449732/Maxwell.UI.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Maxwell.Common
Assembly Version: 1.8.3.0
Win32 Version: 1.8.3.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Maxwell.Common/1.8.3.0__0c67436bca449732/Maxwell.Common.dll
----------------------------------------
Maxwell
Assembly Version: 1.8.3.0
Win32 Version: 1.8.3.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/Maxwell/1.8.3.0__0c67436bca449732/Maxwell.dll
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.762
Win32 Version: 8.00.50727.762
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700/msvcm80.dll
----------------------------------------
Maxwell.Script
Assembly Version: 1.6.0.0
Win32 Version: 1.6.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Maxwell.Script/1.6.0.0__0c67436bca449732/Maxwell.Script.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
nzvkwy6v
Assembly Version: 1.8.3.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
By JDHill
#299789
Well that explains why deleting the config file didn't help. That's a really strange report, because there are only two lines of my code running, and they're just telling the MXM Browser that it should change the orientation of its splitter; after that, there is some crash happening further down in the .NET Framework. So let's see if we can find out what's going on.

If you:

1. start SW and click your way past the errors
2. main menu > Maxwell > Database Manager
3. activate the MXM Browser page, if it isn't already
4. you should now have something similar to this:


Image


This is what the MXM Browser page should look like when the window is taller than it is wide. If you resize the window so that it's shorter than it is wide, then the bar that splits the folder view from the thumbnail view should switch orientation, so that it's like this:


Image


It is at the moment when the orientation of this splitter bar is supposed to change that this error is occurring; besides for happening at startup, does it also fault when you manually resize/reshape this window?
By superbad
#300158
Works fine while manually changing the window size, and the splitter layout goes from top/bottom to side by side. But when I close the window, I get the error (only one of them though).
By JDHill
#300159
Well, something's definitely not right there. I noticed that in the debugging report, the last assembly listed looks like something that the .NET Framework is loading from a temporary location; it is showing as a version 1.8.3 of something, but the name is just a random string of characters. I don't have any documentation that explains this, but it does look fishy. At this point, I'd try two things:
  1. using add/remove programs, uninstall the plugin. Also, make sure there are no other copies of it in the list; any older version should have been uninstalled by this version's installer, but there is always a possibility that something did not complete successfully. Then, I'd reboot, and then install again. If everything is back to normal at this point, then you can skip the second step.
  2. go to http://www.microsoft.com/downloads/deta ... laylang=en and follow the instructions there to make sure the .NET Framework on your machine is healthy and up-to-date. It's possible there is something amiss there, and that it is causing parts of the plugin to be loaded up in a wrong and unexpected way.
That's the furthest I'm going to go at this time with any recommendations, because there is some very low-level malfunction going on and I can't determine the nature of its cause. If there is still an issue, after we've confirmed that .NET is healthy, and that the plugin has been cleanly installed, then we'll at least have some solid ground to work from.
hardware question :)

I'm trying to keep the budget under 2500 euros. I'[…]

Great, that is good news. Currently I cannot figu[…]

Let's talk about Maxwell 5.2

Price for sure matter a loot. Speed is the core i[…]

Materials translucent with V5.1

Well, the problems can be in the chair, the monito[…]