Sorry I cannot understand what’s the exception issue here, could you please copy the exception information and translate it to English?
If that’s related with the dll, I suggest you download the latest 9.0.x.0 dll package, and find the NauticalChartsExtension.dll under this folder: 9.0.x.0DllPackage\Managed Assemblies\Spatial Extensions\NauticalCharts Extension
Then reference this dll in your project.
And if you still met exception please let me know the detail exception information.
We don’t translate english, because visual studio not support other language.
We expired ThinkGeo Assurance license.
We download last dll full package version is 9.0.0.0.
This package not have NauticalChartsExtension.dll.
So, We are downloaded “Daily Eval Developement 9.0.399.0” at NauticalChartsExtension.dll.
Please download this sample project and check my problem.
[enter link description here][1]
What you want to do first is build index for the 000 file like this:
NauticalChartsFeatureLayer.BuildIndexFile(@“D:\WMS_SERVER\App_Data\ENC_Chart\KR1F0000.000”);
I try to continue testing NauticalChartsFeatureLayer sample using evaluation edition.
I match the version of reference dlls as your advice.
Type initializer exception is not occurred any more, but IIS exception has been occured.
Please don’t move your project to IIS before you make that works well by your VS debug. Because if you need to put the project into IIS, you need to use our server edition but not for the general edition, and I think for server edition we don’t have eval version. For more information about it, you can contact your sales for detail.
We have installed unmanaged dlls as you metioned.
NauticalChartsFeatureLayer sample is displayed successfully.
But when drag or scale up and down the map repeatedly, following screen shot is happened.