CUAHSI / CUAHSI/HydroDesktop

Fatal Error

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
CodePlex
Dominant language
C#
Stars
76
Forks
21
PR merge metrics
No merged PRs in 30d

Description

myauntsally[CodePlex]
Version: 1.6.13.2
Description:
Error: System.IO.FileLoadException: Could not load file or assembly 'HydroDesktop.SplashScreenManager, Version=1.6.13.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

File name: 'HydroDesktop.SplashScreenManager, Version=1.6.13.2, Culture=neutral, PublicKeyToken=null' ---gt 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, StackCrawlMarkamp stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMarkamp stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)

at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.LoadAssembly(String codeBase)

at System.ComponentModel.Composition.Hosting.AssemblyCatalog..ctor(String codeBase, ICompositionElement definitionOrigin)

at DotSpatial.Extensions.SplashScreens.SplashScreenHelper.GetSplashScreenManager()

at DotSpatial.Controls.AppManager.LoadExtensions()
at HydroDesktop.MainApplication.MainForm..ctor()
at HydroDesktop.MainApplication.Program.Main(String[] args)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the failure path in DotSpatial.Extensions.SplashScreens.SplashScreenHelper.GetSplashScreenManager(), then trace how DotSpatial.Controls.AppManager.LoadExtensions() reaches HydroDesktop.MainApplication.MainForm and Program.Main. Reproduce the assembly-loading error and determine the expected startup behavior; done means the application starts without this FileLoadException and the relevant loading path is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.