CUAHSI / HydroDesktop

HydroDesktop is a free and open source GIS enabled desktop application that helps you search for, download, visualize, and analyze hydrologic and climate data registered with the CUAHSI Hydrologic Information System. HydroDesktop is part of the legacy CUAHSI toolkit and is not under active development. Click the "releases" link below to download the latest installer for Microsoft Windows.
73 stars 20 forks source link

Fatal Error #86

Open xhqiao89 opened 6 years ago

xhqiao89 commented 6 years ago

twhitvine[CodePlex]
Version: 1.5.12.9 Description: In Tools panel, double-clicked Calculate Areas tool. Error: System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---gt System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) Could not load file or assembly 'gdal_csharp, Version=1.0.4398.13657, Culture=neutral, PublicKeyToken=db5a52b08dc5b321' or one of its dependencies. The system cannot find the file specified.

Resulting in: The type initializer for 'DotSpatial.Data.Rasters.GdalExtension.GdalHelper' threw an exception.

Resulting in: An exception occurred while trying to create an instance of type 'DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider'.

Resulting in: Cannot activate part 'DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider'.

Element: DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider --gt DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider --gt DirectoryCatalog (Path=quotC:\Users\whiteatl\AppData\Roaming\HydroDesktop_1_5_12.exe\Extensions\Packages\DotSpatial.Data.Rasters.GdalExtension.1.0.1185\lib\net40-Clientquot)

Resulting in: Cannot get export 'DotSpatial.Data.IDataProvider (ContractName=quotDotSpatial.Data.IDataProviderquot)' from part 'DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider'.

Element: DotSpatial.Data.IDataProvider (ContractName=quotDotSpatial.Data.IDataProviderquot) --gt DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider --gt DirectoryCatalog (Path=quotC:\Users\whiteatl\AppData\Roaming\HydroDesktop_1_5_12.exe\Extensions\Packages\DotSpatial.Data.Rasters.GdalExtension.1.0.1185\lib\net40-Clientquot)

Resulting in: Cannot set import 'DotSpatial.Data.DataManager.DataProviders (ContractName=quotDotSpatial.Data.IDataProviderquot)' on part 'DotSpatial.Data.DataManager'.

Element: DotSpatial.Data.DataManager.DataProviders (ContractName=quotDotSpatial.Data.IDataProviderquot) --gt DotSpatial.Data.DataManager

at System.ComponentModel.Composition.CompositionResult.ThrowOnErrors(AtomicComposition atomicComposition)

at System.ComponentModel.Composition.Hosting.ImportEngine.ltgtcDisplayClass14.ltTryRecomposeImportgtb12()

at System.ComponentModel.Composition.Hosting.AtomicComposition.FinalComplete() at System.ComponentModel.Composition.Hosting.AtomicComposition.Complete() at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.Add(ComposablePartCatalog item)

at DotSpatial.Controls.AppManager.TryLoadingCatalog(AggregateCatalog catalog, ComposablePartCatalog cat)

at DotSpatial.Controls.AppManager.LocateExtensions(AggregateCatalog catalog, String absolutePathToExtensions)

at DotSpatial.Plugins.ExtensionManager.ExtensionManagerForm.ltgtc__DisplayClass5.ltInstallButton_Clickgtb__1()

at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.TaskExceptionHolder.Finalize() ---gt (Inner Exception #0) System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) Could not load file or assembly 'gdal_csharp, Version=1.0.4398.13657, Culture=neutral, PublicKeyToken=db5a52b08dc5b321' or one of its dependencies. The system cannot find the file specified.

Resulting in: The type initializer for 'DotSpatial.Data.Rasters.GdalExtension.GdalHelper' threw an exception.

Resulting in: An exception occurred while trying to create an instance of type 'DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider'.

Resulting in: Cannot activate part 'DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider'.

Element: DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider --gt DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider --gt DirectoryCatalog (Path=quotC:\Users\whiteatl\AppData\Roaming\HydroDesktop_1_5_12.exe\Extensions\Packages\DotSpatial.Data.Rasters.GdalExtension.1.0.1185\lib\net40-Clientquot)

Resulting in: Cannot get export 'DotSpatial.Data.IDataProvider (ContractName=quotDotSpatial.Data.IDataProviderquot)' from part 'DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider'.

Element: DotSpatial.Data.IDataProvider (ContractName=quotDotSpatial.Data.IDataProviderquot) --gt DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider --gt DirectoryCatalog (Path=quotC:\Users\whiteatl\AppData\Roaming\HydroDesktop_1_5_12.exe\Extensions\Packages\DotSpatial.Data.Rasters.GdalExtension.1.0.1185\lib\net40-Clientquot)

Resulting in: Cannot set import 'DotSpatial.Data.DataManager.DataProviders (ContractName=quotDotSpatial.Data.IDataProviderquot)' on part 'DotSpatial.Data.DataManager'.

Element: DotSpatial.Data.DataManager.DataProviders (ContractName=quotDotSpatial.Data.IDataProviderquot) --gt DotSpatial.Data.DataManager

at System.ComponentModel.Composition.CompositionResult.ThrowOnErrors(AtomicComposition atomicComposition)

at System.ComponentModel.Composition.Hosting.ImportEngine.ltgtcDisplayClass14.ltTryRecomposeImportgtb12()

at System.ComponentModel.Composition.Hosting.AtomicComposition.FinalComplete() at System.ComponentModel.Composition.Hosting.AtomicComposition.Complete() at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.Add(ComposablePartCatalog item)

at DotSpatial.Controls.AppManager.TryLoadingCatalog(AggregateCatalog catalog, ComposablePartCatalog cat)

at DotSpatial.Controls.AppManager.LocateExtensions(AggregateCatalog catalog, String absolutePathToExtensions)

at DotSpatial.Plugins.ExtensionManager.ExtensionManagerForm.ltgtc__DisplayClass5.ltInstallButton_Clickgtb__1()

at System.Threading.Tasks.Task.Execute()lt---