NVil Forum

General Category => Bug Reports => Topic started by: RichW on March 03, 2019, 04:25:33 pm

Title: Toolbar bug Microsoft.Net Framework error
Post by: RichW on March 03, 2019, 04:25:33 pm
Hi,
I'm having trouble getting my toolbar icons showing. All I'm seeing is blank grey bars with no tool icons showing. I've tried resetting but this doesn't fix anything and when I close Nvil I'm getting a Microsoft.Net Framework Unhandled exception error.
Title: Re: Toolbar bug Microsoft.Net Framework error
Post by: IStonia on March 03, 2019, 08:08:48 pm
Can you post a screenshot and the detailed information of "Microsoft.Net Framework Unhandled exception erro"?
Title: Re: Toolbar bug Microsoft.Net Framework error
Post by: RichW on March 03, 2019, 08:23:28 pm
Here's the content of the error message. I'm using Windows 10

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Cannot remove the specified item because it was not found in the specified Collection.
   at System.Collections.CollectionBase.System.Collections.IList.Remove(Object value)
   at DevExpress.XtraBars.Docking.Helpers.DockLayoutManager.AutoHideContainerDisposing(AutoHideContainer container)
   at DevExpress.XtraBars.Docking.AutoHideContainer.DisposeCore()
   at DevExpress.XtraBars.Docking.ZIndexControl.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.Windows.Forms.Control.Dispose(Boolean disposing)
   at System.Windows.Forms.Form.Dispose(Boolean disposing)
   at DigitalFossil.AnimationDesign.StartForm.Dispose(Boolean disposing)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
NVil 1.0
    Assembly Version: 2.3.6987.2644
    Win32 Version: 2.3.6987.2644
    CodeBase: file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Nvil/NVil.exe
----------------------------------------
WorkShop
    Assembly Version: 2.3.6987.2448
    Win32 Version: 2.3.6987.2448
    CodeBase: file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Nvil/WorkShop.DLL
----------------------------------------
BasicD3DClasses
    Assembly Version: 2.3.6986.41596
    Win32 Version: 2.3.6986.41596
    CodeBase: file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Nvil/BasicD3DClasses.DLL
----------------------------------------
CharacterClasses
    Assembly Version: 2.3.6986.41593
    Win32 Version: 2.3.6986.41593
    CodeBase: file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Nvil/CharacterClasses.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3353.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SlimDX
    Assembly Version: 4.0.13.43
    Win32 Version:
    CodeBase: file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Nvil/SlimDXDLL/SlimDX64.dll
----------------------------------------
DevExpress.Utils.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Nvil/DevExpress.Utils.v10.2.DLL
----------------------------------------
DevExpress.Data.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Nvil/DevExpress.Data.v10.2.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
DevExpress.XtraBars.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Nvil/DevExpress.XtraBars.v10.2.DLL
----------------------------------------
DevExpress.XtraEditors.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Nvil/DevExpress.XtraEditors.v10.2.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.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.
Title: Re: Toolbar bug Microsoft.Net Framework error
Post by: IStonia on March 03, 2019, 08:37:18 pm
Can you post the screenshot of the NVil UI? I mean the bar area you mentioned.
Title: Re: Toolbar bug Microsoft.Net Framework error
Post by: RichW on March 03, 2019, 08:45:32 pm
I'm not able to post an attachment. I keep getting this message when trying to reply with an attachment.
"The attachments upload directory is not writable. Your attachment or avatar cannot be saved."
Title: Re: Toolbar bug Microsoft.Net Framework error
Post by: IStonia on March 03, 2019, 08:50:21 pm
Can you send me the image file to info@digitalfossils.com

Btw, what is the current Nvil version you are using? And have you used the other older version before?
Title: Re: Toolbar bug Microsoft.Net Framework error
Post by: IStonia on March 03, 2019, 09:16:05 pm
I think I know what is happening now. You have fired this command, View > ToolBars > Reset. This command has been outdated and I forgot to remove it.

Now the solution is.
1. Make sure Nvil is not loaded. If it is open, close it.
2. Go to this folder, C:\Users\UserName\AppData\Roaming\DigitalFossils\NVil\User Settings.
3. Remove these two files, MainFormBarSetting.xml, MainFormDockingSetting.xml.
4. Load Nvil and see if it is fixed.
Title: Re: Toolbar bug Microsoft.Net Framework error
Post by: RichW on March 03, 2019, 09:41:25 pm
Can't find the AppData folder in my UserName directory. I purchased Nvil through Steam so should I be looking elsewhere?
Title: Re: Toolbar bug Microsoft.Net Framework error
Post by: IStonia on March 03, 2019, 09:59:52 pm
The Steam version uses the same directory path.

Maybe the "AppData" folder is hidden in your machine. Try google "AppData folder" and see if you can find tips to access this folder.

Or you can use Windows search tool to find out the location of this file, MainFormDockingSetting.xml.
Title: Re: Toolbar bug Microsoft.Net Framework error
Post by: RichW on March 03, 2019, 10:07:42 pm
Yes, that fixed it. NVil's retopology tools look amazing. Can't wait to test them out properly.

Many thanks