Hi,
I get a message from dotnet, when opening a file from the rhino startup screen. See below picture.
Bas
Hi,
I get a message from dotnet, when opening a file from the rhino startup screen. See below picture.
Bas
That’s strange! Do you get any details when you click “Details”? Is there anything in that text window below?
Hi Brain:
It is happening on my University laptop, for your information.
Yes, here are the details by dotNet:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Security.SecurityException: Requested registry access is not allowed.
at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at RhinoSplash.SplashData.GetSupportedFileTypes()
at RhinoSplash.SplashController.ShowFileOpenDialog()
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The Zone of the assembly that failed was:
MyComputer
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
Hi Brain,
Here are the details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Security.SecurityException: Requested registry access is not allowed.
at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at RhinoSplash.SplashData.GetSupportedFileTypes()
at RhinoSplash.SplashController.ShowFileOpenDialog()
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The Zone of the assembly that failed was:
MyComputer
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
RhinoWindows
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/RhinoWindows.DLL
RhinoCommon
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/RhinoCommon.DLL
Rhino.UI
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/Rhino.UI.DLL
Eto
Assembly Version: 2.5.0.0
Win32 Version: 2.5.7129.12751
CodeBase: file:///C:/Program%20Files/Rhino%206/System/Eto.DLL
System.Runtime
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
Eto.Wpf
Assembly Version: 2.5.0.0
Win32 Version: 2.5.7129.13904
CodeBase: file:///C:/Program%20Files/Rhino%206/System/Eto.Wpf.DLL
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4110.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4110.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4110.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4110.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4110.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_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.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
Newtonsoft.Json
Assembly Version: 10.0.0.0
Win32 Version: 10.0.3.21018
CodeBase: file:///C:/Program%20Files/Rhino%206/System/Newtonsoft.Json.DLL
Newtonsoft.Json.Bson
Assembly Version: 1.0.0.0
Win32 Version: 1.0.1.20722
CodeBase: file:///C:/Program%20Files/Rhino%206/System/Newtonsoft.Json.Bson.DLL
WindowsFormsIntegration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
System.Collections
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Collections/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Collections.dll
System.Threading
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Threading/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Threading.dll
System.Reflection
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Reflection/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.dll
Microsoft.WindowsAPICodePack.Shell
Assembly Version: 1.1.0.0
Win32 Version: 2.5.7129.13904
CodeBase: file:///C:/Program%20Files/Rhino%206/System/Eto.Wpf.dll
Microsoft.WindowsAPICodePack
Assembly Version: 1.1.0.0
Win32 Version: 2.5.7129.13904
CodeBase: file:///C:/Program%20Files/Rhino%206/System/Eto.Wpf.dll
System.Reflection.Extensions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Reflection.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.Extensions.dll
System.Threading.Tasks
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Threading.Tasks/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Threading.Tasks.dll
System.Globalization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Globalization/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Globalization.dll
Xceed.Wpf.Toolkit
Assembly Version: 3.2.0.0
Win32 Version: 2.5.7129.13904
CodeBase: file:///C:/Program%20Files/Rhino%206/System/Eto.Wpf.dll
System.Linq.Expressions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Linq.Expressions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Linq.Expressions.dll
System.ComponentModel
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ComponentModel.dll
System.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Linq/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Linq.dll
System.ComponentModel.TypeConverter
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.TypeConverter/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ComponentModel.TypeConverter.dll
RhinoSplash
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/RhinoSplash.DLL
System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
Proxy
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/Proxy.DLL
ZooClient
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/ZooClient.DLL
ValidationClient
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/ValidationClient.DLL
CloudZooClient
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/CloudZooClient.DLL
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
jose-jwt
Assembly Version: 2.4.0.0
Win32 Version: 2.4.0.0
CodeBase: file:///C:/Program%20Files/Rhino%206/System/jose-jwt.DLL
crypto
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/crypto.DLL
McNeelUpdateClient
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/System/McNeelUpdateClient.DLL
Toolbars
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/Plug-ins/Toolbars/Toolbars.rhp
Commands
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/Plug-ins/Commands.rhp
RDK_EtoUI
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/Plug-ins/rdk_etoui.rhp
System.ObjectModel
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ObjectModel/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ObjectModel.dll
RhinoCycles
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/Plug-ins/RhinoCycles.rhp
RhinoCyclesCore
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/Plug-ins/RhinoCyclesCore.DLL
csycles
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/Plug-ins/csycles.DLL
GrasshopperPlugin
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/Plug-ins/Grasshopper/GrasshopperPlugin.rhp
Grasshopper
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/Plug-ins/Grasshopper/Grasshopper.DLL
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
GH_IO
Assembly Version: 6.16.19190.7001
Win32 Version: 6.16.19190.07001
CodeBase: file:///C:/Program%20Files/Rhino%206/Plug-ins/Grasshopper/GH_IO.DLL
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.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:
<system.windows.forms jitDebugging="true" />
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.
It looks like registry access is controlled on the PC?
Yes, i is a university laptop…
Do you have Administrator permissions or are you part of a ActiveDirectory/Domain? You may not have permissions to edit some windows registry keys.
I do not, but the IT department can hopefully help if they know what the problem is.
If they are not programmers they might not know. First make sure you have access to all registries this plugin is trying to edit. If not then contact them about the registries, not about the plugin.
It looks like RhinoSplash
is trying to read HKLM\SOFTWARE\McNeel\Rhinoceros\{Version}\Plug-ins
. It’s normally allowed in a personal computer setting. But your university IT administrator may have explicitly disallowed it.
I’d recommend your IT admin to grant read access to HKLM\Software\McNeel
I recommend you delete or rename RhinoSplash.dll.
You won’t lose much.
This is not a good recommendation for this issue. There will be many other problems that crop up due to Rhino not being able to access this information in the registry.
That may be true, but the guy can’t run Rhino properly. If that helps him to continue working better do that. It is up to you to figure out why non-administrator is trying to write to the registry.
No. As far as I discovered, Rhino is not trying to write to the registry key. It’s only reading. But it seems this guy’s IT admin explicitly disallows reading the McNeel
key.
I delete or rename RhinoSplash.dll, on all of my machines.
I’ve never had problems. Yes, I’m admin, but if this is coming from RhinoSplash.dll and removing that dll from the equation logic dictates this issue will be gone.
Btw, as for this message, I have seen this a lot when using Console.WriteLine() or Console.Clear() after I’ve compiled an IronPython application.
This is not the solution. If Rhino can’t read the registry, it won’t be able to properly load plug-is.
@Bas_Goris can you please try this:
How far can you browse before you lose access?
That’s strange… can you keep going?