Hi,
I just downloaded Isolines with Kriging sample
When I run it it opens the initial form fine.
When I hit "Generate" button with all default settings in the form I get the error in the attached file.
This is completely default fresh activated setup of TG 8.0 Web.
What do i need to do to get the sample running?
Thanks
Error in Samples?
Screen capture here
Hi Jakub,
I tested and found this sample works well both under 7.0 and 8.0 dll. From your screen shot, it looks the IsoLineLayer haven’t been found when you click button, I guess that should because some code changed in your project.
Please download the sample again and reference 8.0 dll if you need.
Here is how I tested that:
1. Download the sample from wiki.thinkgeo.com/wiki/File:ServicesEditionSample_IsolinesWithKriging_CS_120914.zip
2. Run the sample directly, click generate button, it run correct.
3. Delete MapSuiteCore dll and reference the new one under 8.0 folder.
4. Rebuild project and run again, click generate button, everything goes well.
Any question please let me know.
Regards,
Don
Don,
I tried what you suggested and get the same error.
There is no Exe to run directly as you describe in step 2.
The only exe included in the download in bin folder is named IsoLinesWithKriging.vshost.exe
That does not do anything when double-clicked on. (I am on Win7Pro 64bit)
I tried to register MapSuiteCore in Program Files (x86) and also in the example bin folder. They all show version 8.0.0.50
But I still get the same error when I hit the Generate button.
Hi Jakub,
Sorry I haven’t described clearly enough. In step 2 I meant build the project in VS and run it.
My OS is also win7 x64, so I think that’s shouldn’t the OS problem.
I tried again today, my dll is 8.0.0.2, it’s lower than yours, so the dll shouldn’t have problem here.
You have downloaded the sample again and build again, so it shouldn’t caused by code changed problem.
Could you please test it on another machine if possible so make sure it don’t related with your machine environment. I will do the same test in more machine today.
Regards,
Don
Ok,
I downloaded the Demo version of Think Geo Suite and installed it on a fresh Windoes 7 computer. Downloaded the Isolines with Kriging sample. Run it right after download with Visuel Studio 2010 (Your Step 2) and got exactly the same error as in the intial post.
There is definitely an issue with the sample.
Thanks
Jakub
Hi Jakub,
I have recreated your problem in a totally clean machine.
You get the exception because you haven’t activate or start evaluation our product in 8.0 product center.
You should only can see the blank on map when you run the sample, in fact it will render the base map before you click “Generate”.
Start Evaluation any version of our product or activate any version it will be fixed.
Regards,
Don