Test on Installed: .NET Framework 4.8, or 4.7.2
Symptom:
When running a simulation, a blank white screen appears (No graph displayed).
Fix?
The possible call to 'file:///C:' May be escalating security on this path due to it's potential to be a hyperlink. Is it possible to call C:\ directly without the File:///?
I don't understand the .NET sandbox security fully, but i believe the least priv approach is safest. This may be a better key to the fix:
https://docs.microsoft.com/en-us/previous-versions/dotnet/netframework-4.0/bb763046(v=vs.100)?redirectedfrom=MSDN
Workaround:
Edit RVisUI.exe.config
Below <runtime>
Paste: <loadFromRemoteSources enabled="true"/>
Logfile Error:
10:58:31 Failed to load module in C:\Apps\RVis_v0.8.11068.1\module\sensitivity System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Apps\RVis_v0.8.11068.1\module\sensitivity\Sensitivity.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) File name: 'file:///C:\Apps\RVis_v0.8.11068.1\module\sensitivity\Sensitivity.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Ninject.Modules.AssemblyNameRetriever.AssemblyChecker.GetAssemblyNames(IEnumerable1 filenames, Predicate
1 filter)
at Ninject.Modules.AssemblyNameRetriever.AssemblyChecker.GetAssemblyNames(IEnumerable1 filenames, Predicate
1 filter)
at Ninject.Modules.AssemblyNameRetriever.GetAssemblyNames(IEnumerable1 filenames, Predicate
1 filter)
at Ninject.Extensions.Conventions.BindingBuilder.AssemblyFinder.FindAssemblies(IEnumerable1 assemblies, Predicate
1 filter)
at Ninject.Extensions.Conventions.BindingBuilder.ConventionSyntax.FromAssembliesInPath(String path)
at RVisUI.Ioc.AppState.<>c__DisplayClass68_0.b__0(IFromSyntax x)
at Ninject.Extensions.Conventions.ExtensionsForIKernel.Bind(IBindingRoot kernel, Action1 configure) at RVisUI.Ioc.AppState.DoDirectoryBind(String directory)