# Exception in DisplayCadFile sample

**URL:** <https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472>\
**Category:** WinForms\
**Created:** [November 13, 2014, 3:05pm UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472 "2014-11-13T15:05:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 13, 2014, 3:05pm UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/1 "2014-11-13T15:05:49Z")

</div>

I’ve&nbsp;never&nbsp;worked&nbsp;with&nbsp;the&nbsp;ThinkGeo&nbsp;Desktop&nbsp;product&nbsp;before.&nbsp;&nbsp;But&nbsp;I’ve&nbsp;been&nbsp;assigned&nbsp;a&nbsp;project&nbsp;requiring&nbsp;use&nbsp;of&nbsp;CAD&nbsp;files&nbsp;in&nbsp;the&nbsp;Winforms&nbsp;Desktop&nbsp;map.&nbsp;&nbsp;So&nbsp;one&nbsp;obvious&nbsp;path&nbsp;of&nbsp;exploration&nbsp;includes&nbsp;the&nbsp;DisplayCadFile&nbsp;sample.&nbsp;&nbsp;However,&nbsp;it&nbsp;appears&nbsp;to&nbsp;not&nbsp;be&nbsp;able&nbsp;to&nbsp;run&nbsp;with&nbsp;a&nbsp;standard&nbsp;licensed&nbsp;installation&nbsp;of&nbsp;the&nbsp;8.0&nbsp;Desktop&nbsp;product.&nbsp;&nbsp;I’m&nbsp;getting&nbsp;the&nbsp;following&nbsp;exception&nbsp;in&nbsp;the&nbsp;OnLoad&nbsp;event&nbsp;handler.&nbsp;&nbsp;I’m&nbsp;sure&nbsp;I’m&nbsp;missing&nbsp;something&nbsp;obvious,&nbsp;but&nbsp;so&nbsp;far&nbsp;have&nbsp;not&nbsp;been&nbsp;able&nbsp;to&nbsp;identify&nbsp;the&nbsp;cause&nbsp;of&nbsp;the&nbsp;problem.&nbsp;&nbsp;What&nbsp;is&nbsp;necessary&nbsp;to&nbsp;get&nbsp;this&nbsp;working?  
  
  
  
System.ArgumentException:&nbsp;The&nbsp;CAD&nbsp;unmanaged&nbsp;assemblies&nbsp;cannot&nbsp;be&nbsp;found.  
  
&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.Core.CadFeatureSource.ozs=()  
  
&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.Core.CadFeatureSource.gGs=(String&nbsp;gWs=)  
  
&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.Core.CadFeatureSource.f2s=()  
  
&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.Core.CadFeatureSource.GetAllFeaturesCore(IEnumerable`1&nbsp;returningColumnNames)  
  
&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.Core.FeatureSource.GetBoundingBoxCore()  
  
&nbsp;&nbsp;&nbsp;at&nbsp;ThinkGeo.MapSuite.Core.FeatureSource.GetBoundingBox()  
  
&nbsp;&nbsp;&nbsp;at&nbsp;Sample.sampleFileListBox\_SelectedIndexChanged(Object&nbsp;sender,&nbsp;EventArgs&nbsp;e)&nbsp;in&nbsp;c:\Toro\Samples\Map\ServicesEditionSample\_CADFeatureLayer\_CS\_130726\DisplayCadFile\Sample.cs:line&nbsp;56  
  
&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Forms.ListBox.set\_SelectedIndex(Int32&nbsp;value)  
  
&nbsp;&nbsp;&nbsp;at&nbsp;Sample.DisplayASimpleMap\_Load(Object&nbsp;sender,&nbsp;EventArgs&nbsp;e)&nbsp;in&nbsp;c:\Toro\Samples\Map\ServicesEditionSample\_CADFeatureLayer\_CS\_130726\DisplayCadFile\Sample.cs:line&nbsp;29  
  
&nbsp;&nbsp;&nbsp;at&nbsp;System.Windows.Forms.Form.OnLoad(EventArgs&nbsp;e)

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 13, 2014, 3:09pm UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/2 "2014-11-13T15:09:47Z")

</div>

One&nbsp;more&nbsp;point.&nbsp;&nbsp;When&nbsp;I&nbsp;run&nbsp;it&nbsp;in&nbsp;the&nbsp;debugger,&nbsp;I&nbsp;get&nbsp;a&nbsp;different&nbsp;error&nbsp;in&nbsp;the&nbsp;same&nbsp;Load&nbsp;handler.&nbsp;&nbsp;But&nbsp;this&nbsp;time&nbsp;it’s&nbsp;a&nbsp;Access&nbsp;Violation&nbsp;(0xC0000005)&nbsp;from&nbsp;the&nbsp;MapEngine&nbsp;ctor.&nbsp;  
&nbsp;&nbsp;  
&nbsp;mapEngine&nbsp;=&nbsp;new&nbsp;MapEngine();&nbsp;  
&nbsp;&nbsp;  
&nbsp;Produces&nbsp;this&nbsp;in&nbsp;the&nbsp;output&nbsp;window,&nbsp;and&nbsp;then&nbsp;exits&nbsp;due&nbsp;to&nbsp;the&nbsp;unhandled&nbsp;exception&nbsp;in&nbsp;the&nbsp;load&nbsp;handler.&nbsp;  
&nbsp;&nbsp;  
&nbsp;A&nbsp;first&nbsp;chance&nbsp;exception&nbsp;of&nbsp;type&nbsp;‘System.InvalidOperationException’&nbsp;occurred&nbsp;in&nbsp;MapSuiteCore.dll&nbsp;  
&nbsp;The&nbsp;program&nbsp;‘[4968]&nbsp;DisplayCadFile.vshost.exe’&nbsp;has&nbsp;exited&nbsp;with&nbsp;code&nbsp;-1073741819&nbsp;(0xc0000005)&nbsp;‘Access&nbsp;violation’

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 13, 2014, 4:10pm UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/3 "2014-11-13T16:10:57Z")

</div>

Also,&nbsp;I&nbsp;see&nbsp;reference&nbsp;to&nbsp;"Setup&nbsp;Unmanaged&nbsp;Dependencies",&nbsp;but&nbsp;nothing&nbsp;seems&nbsp;to&nbsp;indicate&nbsp;where&nbsp;this&nbsp;may&nbsp;be&nbsp;found.

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 13, 2014, 5:35pm UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/4 "2014-11-13T17:35:13Z")

</div>

This&nbsp;may&nbsp;all&nbsp;be&nbsp;related,&nbsp;but&nbsp;I’m&nbsp;finding&nbsp;problem&nbsp;after&nbsp;problem&nbsp;with&nbsp;your&nbsp;samples.&nbsp;&nbsp;Not&nbsp;just&nbsp;requirements&nbsp;that&nbsp;don’t&nbsp;seem&nbsp;to&nbsp;be&nbsp;readily&nbsp;available,&nbsp;but&nbsp;also&nbsp;simply&nbsp;broken&nbsp;code,&nbsp;either&nbsp;in&nbsp;the&nbsp;sample,&nbsp;or&nbsp;apparently&nbsp;with&nbsp;the&nbsp;actual&nbsp;Map&nbsp;component&nbsp;itself.&nbsp;&nbsp;I&nbsp;just&nbsp;tried&nbsp;a&nbsp;sample&nbsp;ExtendingMapSuiteExploringLayers,&nbsp;downloaded&nbsp;from&nbsp;your&nbsp;Wiki,&nbsp;and&nbsp;it&nbsp;falls&nbsp;off&nbsp;into&nbsp;an&nbsp;infinite&nbsp;recursion&nbsp;when&nbsp;you&nbsp;click&nbsp;the&nbsp;shapes&nbsp;button&nbsp;(representative&nbsp;call&nbsp;stack&nbsp;below).&nbsp;&nbsp;I’m&nbsp;also&nbsp;a&nbsp;bit&nbsp;disappointed&nbsp;that&nbsp;I&nbsp;have&nbsp;not&nbsp;yet&nbsp;found&nbsp;a&nbsp;traditional&nbsp;help&nbsp;file&nbsp;for&nbsp;8.0,&nbsp;and&nbsp;the&nbsp;Wiki&nbsp;seems&nbsp;both&nbsp;limited&nbsp;and&nbsp;slow,&nbsp;as&nbsp;well&nbsp;as&nbsp;samples&nbsp;(which&nbsp;appear&nbsp;to&nbsp;be&nbsp;the&nbsp;primary&nbsp;learning&nbsp;tool?)&nbsp;which&nbsp;haven’t&nbsp;been&nbsp;updated&nbsp;for&nbsp;recent&nbsp;releases&nbsp;and&nbsp;don’t&nbsp;work&nbsp;without&nbsp;those&nbsp;non-obvious&nbsp;dependencies.&nbsp;&nbsp;This&nbsp;is&nbsp;my&nbsp;first&nbsp;day&nbsp;introduction&nbsp;to&nbsp;your&nbsp;8.0&nbsp;Winform&nbsp;project,&nbsp;and&nbsp;there&nbsp;is&nbsp;always&nbsp;a&nbsp;learning&nbsp;curve,&nbsp;but&nbsp;it&nbsp;has&nbsp;so&nbsp;far&nbsp;been&nbsp;one&nbsp;of&nbsp;the&nbsp;least&nbsp;productive&nbsp;new&nbsp;product&nbsp;evaluation&nbsp;experiences&nbsp;I’ve&nbsp;endured&nbsp;in&nbsp;years…&nbsp;  
  
  
  
Infinite&nbsp;recursion&nbsp;occurs&nbsp;a&nbsp;as&nbsp;a&nbsp;result&nbsp;of&nbsp;this&nbsp;code:  
  
&nbsp;&nbsp;&nbsp;&nbsp;MapShape&nbsp;mapShape1&nbsp;=&nbsp;new&nbsp;MapShape(new&nbsp;Feature(-104,&nbsp;42));  
  
  
  
Representative&nbsp;call&nbsp;stack&nbsp;from&nbsp;near&nbsp;bottom&nbsp;of&nbsp;stack&nbsp;overflow&nbsp;stack:  
  
  
  
MapSuiteCore.dll!ThinkGeo.MapSuite.Core.BaseShape.GetWellKnownBinary() Unknown&nbsp;  
  
MapSuiteCore.dll!ohM=.bCs=.cCs=(ThinkGeo.MapSuite.Core.BaseShape&nbsp;cSs=) Unknown&nbsp;  
  
MapSuiteCore.dll!ThinkGeo.MapSuite.Core.BaseShape.GetWellKnownBinaryCore(ThinkGeo.MapSuite.Core.RingOrder&nbsp;outerRingOrder,&nbsp;ThinkGeo.MapSuite.Core.WkbByteOrder&nbsp;byteOrder) Unknown&nbsp;  
  
MapSuiteCore.dll!ThinkGeo.MapSuite.Core.BaseShape.GetWellKnownBinary() Unknown&nbsp;  
  
MapSuiteCore.dll!ohM=.bCs=.cCs=(ThinkGeo.MapSuite.Core.BaseShape&nbsp;cSs=) Unknown&nbsp;  
  
MapSuiteCore.dll!ThinkGeo.MapSuite.Core.BaseShape.GetWellKnownBinaryCore(ThinkGeo.MapSuite.Core.RingOrder&nbsp;outerRingOrder,&nbsp;ThinkGeo.MapSuite.Core.WkbByteOrder&nbsp;byteOrder) Unknown&nbsp;  
  
MapSuiteCore.dll!ThinkGeo.MapSuite.Core.BaseShape.GetWellKnownBinary() Unknown&nbsp;  
  
MapSuiteCore.dll!ohM=.bCs=.cCs=(ThinkGeo.MapSuite.Core.BaseShape&nbsp;cSs=) Unknown&nbsp;  
  
MapSuiteCore.dll!ThinkGeo.MapSuite.Core.BaseShape.GetWellKnownBinaryCore(ThinkGeo.MapSuite.Core.RingOrder&nbsp;outerRingOrder,&nbsp;ThinkGeo.MapSuite.Core.WkbByteOrder&nbsp;byteOrder) Unknown&nbsp;  
  
MapSuiteCore.dll!ThinkGeo.MapSuite.Core.BaseShape.GetWellKnownBinary() Unknown&nbsp;  
  
MapSuiteCore.dll!ohM=.bCs=.cCs=(ThinkGeo.MapSuite.Core.BaseShape&nbsp;cSs=) Unknown&nbsp;

---

<div class="post-metadata">

**Author:** ![David4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@David4](https://community.thinkgeo.com/u/David4)\
**Post date:** [November 13, 2014, 7:19pm UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/5 "2014-11-13T19:19:07Z")

</div>

I&nbsp;would&nbsp;have&nbsp;to&nbsp;second&nbsp;that&nbsp;last&nbsp;thought.&nbsp;I&nbsp;have&nbsp;found&nbsp;the&nbsp;lack&nbsp;of&nbsp;a&nbsp;proper&nbsp;reference&nbsp;document&nbsp;and&nbsp;help&nbsp;file&nbsp;to&nbsp;be&nbsp;a&nbsp;hindrance&nbsp;to&nbsp;learning&nbsp;the&nbsp;product.&nbsp;I&nbsp;don’t&nbsp;like&nbsp;the&nbsp;sample&nbsp;methods&nbsp;as&nbsp;they&nbsp;are&nbsp;invariably&nbsp;in&nbsp;C#&nbsp;when&nbsp;I&nbsp;work&nbsp;in&nbsp;[VB.Net](http://VB.Net)&nbsp;or&nbsp;even&nbsp;the&nbsp;rare&nbsp;VB&nbsp;samples&nbsp;are&nbsp;in&nbsp;a&nbsp;different&nbsp;version&nbsp;(2008&nbsp;or&nbsp;2010)&nbsp;and&nbsp;require&nbsp;messy&nbsp;fiddling&nbsp;around&nbsp;for&nbsp;too&nbsp;long&nbsp;to&nbsp;get&nbsp;working&nbsp;just&nbsp;to&nbsp;find&nbsp;out&nbsp;something&nbsp;simple.&nbsp;I&nbsp;think&nbsp;I&nbsp;mentioned&nbsp;ages&nbsp;ago&nbsp;that&nbsp;ThinkGeo&nbsp;should&nbsp;take&nbsp;a&nbsp;look&nbsp;at&nbsp;the&nbsp;MapInfo&nbsp;reference&nbsp;documents&nbsp;as&nbsp;an&nbsp;example.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Between&nbsp;that&nbsp;and&nbsp;the&nbsp;fact&nbsp;that&nbsp;I&nbsp;could&nbsp;never&nbsp;get&nbsp;a&nbsp;stable&nbsp;version&nbsp;where&nbsp;the&nbsp;all&nbsp;the&nbsp;features&nbsp;worked&nbsp;as&nbsp;promised&nbsp;without&nbsp;having&nbsp;to&nbsp;keep&nbsp;hoping&nbsp;and&nbsp;keep&nbsp;paying&nbsp;the&nbsp;annual&nbsp;maintenance,&nbsp;I&nbsp;am&nbsp;winding&nbsp;down&nbsp;use&nbsp;of&nbsp;ThinkGeo&nbsp;for&nbsp;future&nbsp;projects.

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [November 14, 2014, 2:53am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/6 "2014-11-14T02:53:28Z")

</div>

Hi&nbsp;Russ,&nbsp;  
  
  
  
For&nbsp;your&nbsp;exception,&nbsp;it&nbsp;looks&nbsp;that’s&nbsp;because&nbsp;missed&nbsp;the&nbsp;CAD&nbsp;support&nbsp;dll&nbsp;package.&nbsp;  
  
  
  
Please&nbsp;view&nbsp;this&nbsp;wiki&nbsp;page:&nbsp;  
  
[wiki.thinkgeo.com/wiki/Map\_Suite\_Services\_Edition\_Deployment\_Guide](http://wiki.thinkgeo.com/wiki/Map_Suite_Services_Edition_Deployment_Guide)&nbsp;  
  
  
  
And&nbsp;you&nbsp;can&nbsp;download&nbsp;the&nbsp;package&nbsp;here:&nbsp;  
  
[wiki.thinkgeo.com/wiki/File:MapSuiteCadX642014-07-28.zip](http://wiki.thinkgeo.com/wiki/File:MapSuiteCadX642014-07-28.zip)  
  
[wiki.thinkgeo.com/wiki/File:MapSuiteCadX862014-07-28.zip](http://wiki.thinkgeo.com/wiki/File:MapSuiteCadX862014-07-28.zip)&nbsp;  
  
  
  
Wish&nbsp;that’s&nbsp;helpful.&nbsp;  
  
  
  
For&nbsp;your&nbsp;mentioned&nbsp;exception&nbsp;thrown&nbsp;by&nbsp;this&nbsp;code:&nbsp;  
  
MapShape&nbsp;mapShape1&nbsp;=&nbsp;new&nbsp;MapShape(new&nbsp;Feature(-104,&nbsp;42));&nbsp;  
  
  
  
I&nbsp;think&nbsp;we&nbsp;need&nbsp;more&nbsp;code&nbsp;about&nbsp;how&nbsp;class&nbsp;MapShape&nbsp;and&nbsp;we&nbsp;can&nbsp;know&nbsp;what&nbsp;happen&nbsp;in&nbsp;it.&nbsp;  
  
  
  
Regards,&nbsp;  
  
  
  
Don

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [November 14, 2014, 3:51am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/7 "2014-11-14T03:51:44Z")

</div>

Hi&nbsp;Daivd,&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;are&nbsp;so&nbsp;sorry&nbsp;to&nbsp;give&nbsp;you&nbsp;bad&nbsp;experience&nbsp;on&nbsp;documentation.&nbsp;  
&nbsp;&nbsp;  
&nbsp;In&nbsp;fact&nbsp;we&nbsp;are&nbsp;keeping&nbsp;work&nbsp;for&nbsp;improve&nbsp;our&nbsp;documents,&nbsp;we&nbsp;have&nbsp;hired&nbsp;some&nbsp;new&nbsp;guys&nbsp;recently&nbsp;to&nbsp;focus&nbsp;on&nbsp;the&nbsp;document&nbsp;improvment,&nbsp;including&nbsp;API&nbsp;description&nbsp;and&nbsp;WIKI&nbsp;pages,&nbsp;I&nbsp;gusee&nbsp;it&nbsp;will&nbsp;much&nbsp;better.&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;About&nbsp;version,&nbsp;our&nbsp;stable&nbsp;version&nbsp;is&nbsp;something&nbsp;like&nbsp;7.0.0.0&nbsp;and&nbsp;8.0.0.0.&nbsp;We&nbsp;do&nbsp;many&nbsp;tests&nbsp;before&nbsp;release&nbsp;these&nbsp;stable&nbsp;version&nbsp;and&nbsp;reveiw&nbsp;everything&nbsp;include&nbsp;API&nbsp;documents.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;The&nbsp;other&nbsp;version&nbsp;like&nbsp;8.0.0.x&nbsp;or&nbsp;8.0.x.0&nbsp;is&nbsp;include&nbsp;some&nbsp;new&nbsp;features,&nbsp;enhancements&nbsp;and&nbsp;fixes,&nbsp;so&nbsp;sometimes&nbsp;it&nbsp;works&nbsp;not&nbsp;the&nbsp;same&nbsp;as&nbsp;how&nbsp;the&nbsp;page&nbsp;said.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Don&nbsp;

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 14, 2014, 10:42am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/8 "2014-11-14T10:42:32Z")

</div>

As&nbsp;I&nbsp;said,&nbsp;MapShape&nbsp;is&nbsp;in&nbsp;YOUR&nbsp;code,&nbsp;in&nbsp;the&nbsp;sample&nbsp;I&nbsp;referenced.&nbsp;And&nbsp;the&nbsp;recursion&nbsp;is&nbsp;inside&nbsp;your&nbsp;component&nbsp;code&nbsp;beginning&nbsp;with&nbsp;the&nbsp;“new&nbsp;Feature(-104,&nbsp;42)”&nbsp;ctor&nbsp;argument.&nbsp;&nbsp;So&nbsp;I&nbsp;would&nbsp;think&nbsp;you&nbsp;would&nbsp;know&nbsp;all&nbsp;about&nbsp;that&nbsp;code.&nbsp;  
  
  
  
Also,&nbsp;why&nbsp;in&nbsp;the&nbsp;world&nbsp;would&nbsp;I&nbsp;need&nbsp;to&nbsp;read&nbsp;what&nbsp;is&nbsp;clearly&nbsp;labeled&nbsp;a&nbsp;“deployment&nbsp;guide”&nbsp;to&nbsp;find&nbsp;supporting&nbsp;libraries&nbsp;after&nbsp;I&nbsp;installed&nbsp;a&nbsp;package&nbsp;called&nbsp;“development&nbsp;full”?&nbsp;&nbsp;And&nbsp;the&nbsp;only&nbsp;CAD&nbsp;files&nbsp;listed&nbsp;are&nbsp;from&nbsp;the&nbsp;build&nbsp;version&nbsp;you&nbsp;note&nbsp;as&nbsp;“less&nbsp;stable”.&nbsp;&nbsp;And&nbsp;I&nbsp;had&nbsp;already&nbsp;found&nbsp;and&nbsp;downloaded&nbsp;the&nbsp;CAD&nbsp;zip&nbsp;from&nbsp;your&nbsp;“Dependency&nbsp;Guide”,&nbsp;but&nbsp;it’s&nbsp;just&nbsp;a&nbsp;zip&nbsp;with&nbsp;some&nbsp;files&nbsp;in&nbsp;folders&nbsp;with&nbsp;no&nbsp;clue&nbsp;where&nbsp;they&nbsp;go.&nbsp;&nbsp;On&nbsp;a&nbsp;guess&nbsp;as&nbsp;a&nbsp;quick&nbsp;test,&nbsp;I&nbsp;put&nbsp;them&nbsp;in&nbsp;the&nbsp;build&nbsp;output&nbsp;folder,&nbsp;figuring&nbsp;if&nbsp;it&nbsp;loaded&nbsp;from&nbsp;anywhere&nbsp;it&nbsp;would&nbsp;load&nbsp;from&nbsp;the&nbsp;AppBase.&nbsp;&nbsp;No&nbsp;luck&nbsp;with&nbsp;that,&nbsp;same&nbsp;error.&nbsp;&nbsp;Then&nbsp;I&nbsp;noticed&nbsp;the&nbsp;Dependency&nbsp;Guide&nbsp;had&nbsp;a&nbsp;path&nbsp;specified&nbsp;off&nbsp;the&nbsp;SystemRoot.&nbsp;&nbsp;I&nbsp;thought&nbsp;“surely&nbsp;that&nbsp;can’t&nbsp;be&nbsp;right?”,&nbsp;but&nbsp;tried&nbsp;anyway.&nbsp;&nbsp;Still&nbsp;doesn’t&nbsp;find&nbsp;them.&nbsp;&nbsp;I&nbsp;tried&nbsp;a&nbsp;few&nbsp;more&nbsp;guesses&nbsp;(did&nbsp;they&nbsp;intend&nbsp;“Install&nbsp;Root”&nbsp;(or&nbsp;some&nbsp;such)&nbsp;rather&nbsp;than&nbsp;“System&nbsp;Root”?)&nbsp;before&nbsp;becoming&nbsp;frustrated&nbsp;and&nbsp;more&nbsp;than&nbsp;a&nbsp;little&nbsp;angry.&nbsp;&nbsp;&nbsp;  
  
  
  
Requiring&nbsp;those&nbsp;using&nbsp;your&nbsp;products&nbsp;to&nbsp;deal&nbsp;with&nbsp;this&nbsp;is&nbsp;absolutely&nbsp;terrible.&nbsp;&nbsp;Installing&nbsp;the&nbsp;product&nbsp;should&nbsp;just&nbsp;work&nbsp;without&nbsp;scouring&nbsp;a&nbsp;scrambled&nbsp;Wiki.&nbsp;&nbsp;Help&nbsp;and&nbsp;samples&nbsp;should&nbsp;be&nbsp;updated&nbsp;and&nbsp;available&nbsp;for&nbsp;a&nbsp;release&nbsp;without&nbsp;requiring&nbsp;what&nbsp;turned&nbsp;into&nbsp;hours&nbsp;with&nbsp;still&nbsp;no&nbsp;functional&nbsp;sample&nbsp;code.&nbsp;&nbsp;And&nbsp;the&nbsp;failures&nbsp;resulting&nbsp;form&nbsp;simply&nbsp;instantiating&nbsp;constructors&nbsp;for&nbsp;some&nbsp;of&nbsp;your&nbsp;main&nbsp;core&nbsp;classes&nbsp;are&nbsp;absolutely&nbsp;catastrophic.&nbsp;&nbsp;This&nbsp;is&nbsp;not&nbsp;even&nbsp;boundary&nbsp;stuff,&nbsp;but&nbsp;just&nbsp;instantiating&nbsp;a&nbsp;Feature&nbsp;instance.&nbsp;&nbsp;How&nbsp;do&nbsp;you&nbsp;release&nbsp;a&nbsp;product&nbsp;with&nbsp;that?&nbsp;&nbsp;This&nbsp;is&nbsp;utterly&nbsp;ridiculous.

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 14, 2014, 10:48am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/9 "2014-11-14T10:48:46Z")

</div>

Here’s&nbsp;an&nbsp;idea,&nbsp;let’s&nbsp;try&nbsp;this.&nbsp;&nbsp;Get&nbsp;the&nbsp;2&nbsp;samples&nbsp;I’ve&nbsp;mentioned&nbsp;(not&nbsp;the&nbsp;only&nbsp;ones&nbsp;I&nbsp;found&nbsp;problems&nbsp;in).&nbsp;&nbsp;Put&nbsp;them&nbsp;on&nbsp;a&nbsp;clean&nbsp;system&nbsp;with&nbsp;VS&nbsp;2013&nbsp;and&nbsp;a&nbsp;brand&nbsp;new&nbsp;install&nbsp;of&nbsp;your&nbsp;licensed&nbsp;8.0&nbsp;WinForms&nbsp;product&nbsp;(with&nbsp;NOTHING&nbsp;else),&nbsp;just&nbsp;like&nbsp;a&nbsp;new&nbsp;customer&nbsp;(like&nbsp;me)&nbsp;would&nbsp;experience.&nbsp;&nbsp;Now,&nbsp;make&nbsp;it&nbsp;work&nbsp;correctly.&nbsp;&nbsp;Then&nbsp;get&nbsp;back&nbsp;to&nbsp;us&nbsp;and&nbsp;tell&nbsp;us&nbsp;what&nbsp;it&nbsp;takes&nbsp;to&nbsp;get&nbsp;there.&nbsp;&nbsp;I&nbsp;suspect&nbsp;that&nbsp;the&nbsp;answers&nbsp;to&nbsp;those&nbsp;2&nbsp;problems&nbsp;will&nbsp;likely&nbsp;get&nbsp;me&nbsp;back&nbsp;to&nbsp;a&nbsp;point&nbsp;where&nbsp;I&nbsp;can&nbsp;be&nbsp;productive.&nbsp;&nbsp;When&nbsp;you&nbsp;figure&nbsp;out&nbsp;the&nbsp;incantation,&nbsp;put&nbsp;it&nbsp;somewhere&nbsp;on&nbsp;the&nbsp;site&nbsp;that&nbsp;a&nbsp;new&nbsp;customer&nbsp;can’t&nbsp;possible&nbsp;miss&nbsp;it,&nbsp;with&nbsp;clear&nbsp;instructions&nbsp;what&nbsp;to&nbsp;do.

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 16, 2014, 6:40pm UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/10 "2014-11-16T18:40:13Z")

</div>

Hopefully&nbsp;I&nbsp;can&nbsp;get&nbsp;an&nbsp;update&nbsp;and&nbsp;instructions&nbsp;on&nbsp;how&nbsp;to&nbsp;proceed&nbsp;by&nbsp;tomorrow&nbsp;morning.

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [November 17, 2014, 5:19am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/11 "2014-11-17T05:19:38Z")

</div>

Hi&nbsp;Russ,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;let&nbsp;us&nbsp;know&nbsp;the&nbsp;problem,&nbsp;I&nbsp;reproduce&nbsp;your&nbsp;issue&nbsp;and&nbsp;found&nbsp;that&nbsp;caused&nbsp;by&nbsp;the&nbsp;MapSuiteCore.dll&nbsp;reference&nbsp;haven’t&nbsp;been&nbsp;updated&nbsp;to&nbsp;the&nbsp;latest&nbsp;in&nbsp;the&nbsp;sample.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;tested&nbsp;with&nbsp;8.0.0.50&nbsp;today&nbsp;and&nbsp;it&nbsp;works&nbsp;well.&nbsp;  
&nbsp;&nbsp;  
&nbsp;What&nbsp;you&nbsp;want&nbsp;to&nbsp;do&nbsp;is:&nbsp;  
&nbsp;&nbsp;  
&nbsp;1.&nbsp;Setup&nbsp;Unmanaged&nbsp;Dependencies,&nbsp;that&nbsp;will&nbsp;install&nbsp;CAD&nbsp;support&nbsp;dlls&nbsp;to&nbsp;system&nbsp;folder.&nbsp;  
&nbsp;2.&nbsp;Download&nbsp;our&nbsp;latest&nbsp;dll&nbsp;package,&nbsp;remove&nbsp;original&nbsp;reference&nbsp;and&nbsp;reference&nbsp;the&nbsp;new&nbsp;one.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Wish&nbsp;that’s&nbsp;helpful.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Don

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 17, 2014, 9:52am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/12 "2014-11-17T09:52:48Z")

</div>

No&nbsp;you&nbsp;have&nbsp;not&nbsp;reproduced&nbsp;my&nbsp;issue.&nbsp;&nbsp;&nbsp;  
  
  
  
1)&nbsp;The&nbsp;MapSuiteCore.dll&nbsp;reference&nbsp;update&nbsp;is&nbsp;a&nbsp;compile&nbsp;error&nbsp;due&nbsp;to&nbsp;reference&nbsp;path.&nbsp;Both&nbsp;problems&nbsp;I&nbsp;reported&nbsp;are&nbsp;runtime&nbsp;errors,&nbsp;so&nbsp;clearly&nbsp;I&nbsp;got&nbsp;past&nbsp;the&nbsp;compile.&nbsp;  
  
  
  
2)&nbsp;I’ve&nbsp;already&nbsp;stated&nbsp;that&nbsp;I&nbsp;can&nbsp;find&nbsp;no&nbsp;information&nbsp;on&nbsp;your&nbsp;site&nbsp;to&nbsp;download&nbsp;the&nbsp;unmanaged&nbsp;assemblies&nbsp;installer.&nbsp;&nbsp;Searching&nbsp;your&nbsp;entire&nbsp;site&nbsp;(from&nbsp;top&nbsp;of&nbsp;main&nbsp;page)&nbsp;last&nbsp;week&nbsp;failed&nbsp;to&nbsp;produce.&nbsp;&nbsp;I&nbsp;just&nbsp;tried&nbsp;again&nbsp;and&nbsp;get&nbsp;a&nbsp;403&nbsp;this&nbsp;time.&nbsp;&nbsp;I&nbsp;did&nbsp;see&nbsp;comments&nbsp;regarding&nbsp;it&nbsp;(sometimes)&nbsp;being&nbsp;part&nbsp;of&nbsp;the&nbsp;daily&nbsp;build&nbsp;images,&nbsp;but&nbsp;my&nbsp;requirement&nbsp;is&nbsp;to&nbsp;use&nbsp;the&nbsp;release,&nbsp;not&nbsp;daily&nbsp;builds.  
  
&nbsp;&nbsp;  
  
So,&nbsp;assuming&nbsp;you&nbsp;ran&nbsp;the&nbsp;actual&nbsp;scenarios&nbsp;I&nbsp;posted&nbsp;and&nbsp;didn’t&nbsp;get&nbsp;the&nbsp;runtime&nbsp;errors&nbsp;(one&nbsp;a&nbsp;fail&nbsp;to&nbsp;load,&nbsp;the&nbsp;other&nbsp;an&nbsp;infinite&nbsp;recursion),&nbsp;it&nbsp;seems&nbsp;these&nbsp;unmanaged&nbsp;dependencies&nbsp;provide&nbsp;the&nbsp;answer.&nbsp;&nbsp;Now,&nbsp;can&nbsp;you&nbsp;answer&nbsp;where&nbsp;I&nbsp;might&nbsp;find&nbsp;them?&nbsp;&nbsp;Hopefully&nbsp;without&nbsp;waiting&nbsp;until&nbsp;tomorrow&nbsp;morning…

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 17, 2014, 10:13am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/13 "2014-11-17T10:13:02Z")

</div>

At&nbsp;a&nbsp;minimum,&nbsp;give&nbsp;me&nbsp;a&nbsp;link&nbsp;to&nbsp;the&nbsp;page&nbsp;on&nbsp;your&nbsp;site&nbsp;that&nbsp;tells&nbsp;me&nbsp;the&nbsp;following.&nbsp;  
&nbsp;&nbsp;  
&nbsp;1)&nbsp;Gives&nbsp;me&nbsp;a&nbsp;link&nbsp;to&nbsp;download&nbsp;these&nbsp;mysterious&nbsp;“unmanaged&nbsp;dependencies”.&nbsp;  
&nbsp;2)&nbsp;If&nbsp;it’s&nbsp;not&nbsp;an&nbsp;automatic&nbsp;installer&nbsp;(msi&nbsp;etc),&nbsp;give&nbsp;me&nbsp;a&nbsp;link&nbsp;to&nbsp;a&nbsp;page&nbsp;that&nbsp;describes&nbsp;the&nbsp;installment&nbsp;process.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Perhaps&nbsp;I&nbsp;just&nbsp;have&nbsp;some&nbsp;sort&nbsp;of&nbsp;blind&nbsp;spot&nbsp;on&nbsp;this&nbsp;site,&nbsp;but&nbsp;I&nbsp;have&nbsp;looked&nbsp;again&nbsp;and&nbsp;again,&nbsp;and&nbsp;still&nbsp;failed&nbsp;to&nbsp;find&nbsp;this&nbsp;information.

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 17, 2014, 10:25am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/14 "2014-11-17T10:25:23Z")

</div>

Ok,&nbsp;I&nbsp;decided&nbsp;to&nbsp;start&nbsp;looking&nbsp;again,&nbsp;and&nbsp;found&nbsp;the&nbsp;unmanaged&nbsp;msi.&nbsp;  
  
  
  
“C:\Program&nbsp;Files&nbsp;(x86)\ThinkGeo\Map&nbsp;Suite&nbsp;8.0\Map&nbsp;Suite&nbsp;Desktop\Daily&nbsp;Full&nbsp;Development&nbsp;8.0.154.0\Map&nbsp;Suite&nbsp;Unmanaged&nbsp;Dependencies&nbsp;8.0.122.0.msi”&nbsp;  
  
  
  
I’m&nbsp;surprised&nbsp;I&nbsp;missed&nbsp;it,&nbsp;but&nbsp;still&nbsp;can’t&nbsp;believe&nbsp;that&nbsp;your&nbsp;site&nbsp;continually&nbsp;refers&nbsp;to&nbsp;it&nbsp;without&nbsp;any&nbsp;indication&nbsp;of&nbsp;where&nbsp;to&nbsp;find&nbsp;it&nbsp;(that&nbsp;I&nbsp;found).&nbsp;&nbsp;I&nbsp;would&nbsp;think&nbsp;it&nbsp;would&nbsp;be&nbsp;very&nbsp;clear.&nbsp;  
  
  
  
In&nbsp;any&nbsp;case,&nbsp;this&nbsp;did&nbsp;not&nbsp;fix&nbsp;my&nbsp;problem.&nbsp;  
  
  
  
DisplayCadFile,&nbsp;rebuilt&nbsp;after&nbsp;running&nbsp;the&nbsp;unamanaged&nbsp;msi,&nbsp;and&nbsp;referencing&nbsp;the&nbsp;installed&nbsp;8.0&nbsp;MapSuiteCore&nbsp;dll&nbsp;(see&nbsp;below),&nbsp;I&nbsp;still&nbsp;get&nbsp;the&nbsp;same&nbsp;error&nbsp;at&nbsp;the&nbsp;same&nbsp;line.&nbsp;  
  
  
  
mapEngine&nbsp;=&nbsp;new&nbsp;MapEngine();&nbsp;  
  
  
  
Referencing:&nbsp;C:\Program&nbsp;Files&nbsp;(x86)\ThinkGeo\Map&nbsp;Suite&nbsp;8.0\Map&nbsp;Suite&nbsp;Services\Current&nbsp;Version\Managed&nbsp;Assemblies\MapSuiteCore.dll&nbsp;  
  
  
  
Likewise,&nbsp;after&nbsp;running&nbsp;the&nbsp;unmanaged&nbsp;msi,&nbsp;I&nbsp;still&nbsp;get&nbsp;the&nbsp;stack&nbsp;overflow&nbsp;in&nbsp;the&nbsp;Exploring&nbsp;Layers&nbsp;sample.&nbsp;  
  
  
  
So&nbsp;in&nbsp;short,&nbsp;the&nbsp;unmanaged&nbsp;dependencies&nbsp;msi&nbsp;appears&nbsp;not&nbsp;to&nbsp;correct&nbsp;the&nbsp;problem.&nbsp;  
  
  
  
For&nbsp;reference&nbsp;I&nbsp;am&nbsp;is&nbsp;running  
  
  
  
VS&nbsp;2013&nbsp;Update&nbsp;2  
  
Win&nbsp;8.1  
  
Your&nbsp;“8.0.0.0”&nbsp;product.

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [November 18, 2014, 2:08am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/15 "2014-11-18T02:08:27Z")

</div>

Hi&nbsp;Russ,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sorry&nbsp;for&nbsp;the&nbsp;confusion,&nbsp;could&nbsp;you&nbsp;please&nbsp;update&nbsp;your&nbsp;test&nbsp;to&nbsp;us&nbsp;via&nbsp;[forumsupport@thinkgeo.com](mailto:forumsupport@thinkgeo.com)&nbsp;or&nbsp;contact&nbsp;with&nbsp;[support@thinkgeo.com](mailto:support@thinkgeo.com)&nbsp;for&nbsp;a&nbsp;FTP&nbsp;address&nbsp;to&nbsp;share&nbsp;your&nbsp;test&nbsp;data&nbsp;with&nbsp;us?&nbsp;We&nbsp;will&nbsp;try&nbsp;creating&nbsp;a&nbsp;demo&nbsp;to&nbsp;you.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Johnny

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 18, 2014, 10:55am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/16 "2014-11-18T10:55:10Z")

</div>

I’ll&nbsp;repeat&nbsp;again.&nbsp;&nbsp;I&nbsp;am&nbsp;confident&nbsp;I&nbsp;can&nbsp;manage&nbsp;our&nbsp;data&nbsp;once&nbsp;things&nbsp;work.&nbsp;&nbsp;The&nbsp;problem&nbsp;is&nbsp;that&nbsp;YOUR&nbsp;samples&nbsp;don’t&nbsp;work&nbsp;for&nbsp;me.&nbsp;&nbsp;They&nbsp;crash&nbsp;inside&nbsp;the&nbsp;core&nbsp;library&nbsp;code.&nbsp;&nbsp;If&nbsp;the&nbsp;samples&nbsp;relating&nbsp;to&nbsp;features&nbsp;we&nbsp;need&nbsp;don’t&nbsp;work,&nbsp;there&nbsp;is&nbsp;no&nbsp;point&nbsp;in&nbsp;trying&nbsp;to&nbsp;get&nbsp;our&nbsp;more&nbsp;complex&nbsp;real&nbsp;data&nbsp;to&nbsp;work.&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;So&nbsp;please&nbsp;do&nbsp;as&nbsp;I&nbsp;ask.&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Take&nbsp;a&nbsp;clean&nbsp;system&nbsp;and&nbsp;install&nbsp;your&nbsp;8.0&nbsp;release&nbsp;MSI.&nbsp;&nbsp;If&nbsp;you&nbsp;use&nbsp;Win&nbsp;8.1,&nbsp;VS2013&nbsp;(update&nbsp;2),&nbsp;your&nbsp;8.0&nbsp;release&nbsp;and&nbsp;the&nbsp;samples&nbsp;indicated,&nbsp;I&nbsp;am&nbsp;confident&nbsp;you&nbsp;can&nbsp;reproduce&nbsp;EXACTLY&nbsp;what&nbsp;I’m&nbsp;describing&nbsp;on&nbsp;YOUR&nbsp;system&nbsp;without&nbsp;any&nbsp;further&nbsp;information&nbsp;from&nbsp;ME.&nbsp;&nbsp;This&nbsp;is&nbsp;your&nbsp;samples&nbsp;and&nbsp;your&nbsp;libraries&nbsp;that&nbsp;are&nbsp;crashing.&nbsp;&nbsp;Not&nbsp;one&nbsp;line&nbsp;of&nbsp;my&nbsp;code&nbsp;involved.&nbsp;&nbsp;The&nbsp;only&nbsp;thing&nbsp;I&nbsp;did&nbsp;to&nbsp;your&nbsp;samples&nbsp;was&nbsp;update&nbsp;them&nbsp;to&nbsp;point&nbsp;to&nbsp;the&nbsp;current&nbsp;release&nbsp;bins&nbsp;in&nbsp;the&nbsp;install&nbsp;folder.&nbsp;  
&nbsp;&nbsp;  
&nbsp;And&nbsp;I&nbsp;still&nbsp;haven’t&nbsp;found&nbsp;(or&nbsp;been&nbsp;shown)&nbsp;where&nbsp;this&nbsp;“Setup&nbsp;Unmanaged&nbsp;Dependencies”&nbsp;can&nbsp;be&nbsp;downloaded&nbsp;other&nbsp;than&nbsp;as&nbsp;part&nbsp;of&nbsp;the&nbsp;daily&nbsp;builds.&nbsp;And&nbsp;at&nbsp;this&nbsp;point&nbsp;I&nbsp;don’t&nbsp;want&nbsp;daily&nbsp;builds,&nbsp;I&nbsp;want&nbsp;release&nbsp;level&nbsp;code.&nbsp;&nbsp;Since&nbsp;this&nbsp;update&nbsp;seems&nbsp;to&nbsp;be&nbsp;a&nbsp;requirement,&nbsp;there&nbsp;should&nbsp;be&nbsp;a&nbsp;“blessed”&nbsp;install&nbsp;that&nbsp;matches&nbsp;the&nbsp;release.&nbsp;&nbsp;How&nbsp;many&nbsp;times&nbsp;must&nbsp;I&nbsp;ask&nbsp;the&nbsp;same&nbsp;question?

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 18, 2014, 12:27pm UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/17 "2014-11-18T12:27:46Z")

</div>

Ok,&nbsp;looks&nbsp;like&nbsp;this&nbsp;is&nbsp;resolved&nbsp;via&nbsp;an&nbsp;online&nbsp;assist.&nbsp;&nbsp;The&nbsp;problem&nbsp;appears&nbsp;to&nbsp;have&nbsp;resulted&nbsp;from&nbsp;multiple&nbsp;sources.&nbsp;&nbsp;One&nbsp;may&nbsp;have&nbsp;been&nbsp;related&nbsp;to&nbsp;the&nbsp;version&nbsp;that&nbsp;was&nbsp;available&nbsp;before&nbsp;a&nbsp;refresh&nbsp;that&nbsp;apparently&nbsp;occurred&nbsp;yesterday.&nbsp;&nbsp;It&nbsp;appears&nbsp;that&nbsp;the&nbsp;previous&nbsp;version&nbsp;may&nbsp;have&nbsp;had&nbsp;an&nbsp;issue,&nbsp;that&nbsp;appears&nbsp;also&nbsp;in&nbsp;the&nbsp;new&nbsp;version&nbsp;we&nbsp;installed&nbsp;(while&nbsp;using&nbsp;shared&nbsp;desktop)&nbsp;today.&nbsp;&nbsp;The&nbsp;verified&nbsp;problem&nbsp;with&nbsp;the&nbsp;current&nbsp;install&nbsp;(and&nbsp;apparently&nbsp;previous)&nbsp;was&nbsp;missing&nbsp;CAD&nbsp;support&nbsp;that&nbsp;should&nbsp;have&nbsp;been&nbsp;part&nbsp;of&nbsp;the&nbsp;standard&nbsp;registered&nbsp;install.&nbsp;&nbsp;We&nbsp;had&nbsp;to&nbsp;add&nbsp;those&nbsp;manually&nbsp;to&nbsp;C:\Windows\SysWOW64\Map&nbsp;Suite&nbsp;8.0\CadX64&nbsp;(not&nbsp;SystemRoot&nbsp;as&nbsp;specified&nbsp;in&nbsp;guide).&nbsp;  
&nbsp;&nbsp;  
&nbsp;Another&nbsp;source&nbsp;of&nbsp;problem&nbsp;appears&nbsp;to&nbsp;have&nbsp;crept&nbsp;in&nbsp;while&nbsp;trying&nbsp;to&nbsp;fix&nbsp;the&nbsp;CAD&nbsp;support.&nbsp;&nbsp;At&nbsp;some&nbsp;point&nbsp;I&nbsp;managed&nbsp;to&nbsp;install&nbsp;the&nbsp;“evaluation&nbsp;version”,&nbsp;which&nbsp;updated&nbsp;my&nbsp;“current”&nbsp;bins&nbsp;folder&nbsp;under&nbsp;Program&nbsp;Files&nbsp;(x86).&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;So&nbsp;the&nbsp;resolution&nbsp;was&nbsp;to&nbsp;remove&nbsp;all&nbsp;traces&nbsp;of&nbsp;the&nbsp;Map&nbsp;Suite&nbsp;from&nbsp;my&nbsp;test&nbsp;VM.&nbsp;&nbsp;That&nbsp;included&nbsp;uninstall&nbsp;followed&nbsp;by&nbsp;manual&nbsp;removal&nbsp;of&nbsp;all&nbsp;traces&nbsp;from&nbsp;within&nbsp;both&nbsp;SysWow64&nbsp;and&nbsp;Program&nbsp;Files&nbsp;(x86).&nbsp;&nbsp;We&nbsp;then&nbsp;installed&nbsp;the&nbsp;latest&nbsp;product&nbsp;center,&nbsp;logged&nbsp;in&nbsp;with&nbsp;registered&nbsp;account,&nbsp;and&nbsp;then&nbsp;installed&nbsp;the&nbsp;“Full&nbsp;Production”&nbsp;download.&nbsp;&nbsp;Finally&nbsp;we&nbsp;manually&nbsp;added&nbsp;the&nbsp;CAD&nbsp;support&nbsp;to&nbsp;SysWow64,&nbsp;and&nbsp;both&nbsp;samples&nbsp;I&nbsp;reported&nbsp;are&nbsp;now&nbsp;working&nbsp;correctly.&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;I’m&nbsp;now&nbsp;awaiting&nbsp;a&nbsp;fully&nbsp;supported&nbsp;install&nbsp;update&nbsp;that&nbsp;works&nbsp;correctly&nbsp;without&nbsp;the&nbsp;manual&nbsp;steps&nbsp;required.&nbsp;&nbsp;This&nbsp;is&nbsp;required&nbsp;to&nbsp;accept&nbsp;the&nbsp;update&nbsp;to&nbsp;Map&nbsp;Suite&nbsp;8.0&nbsp;internally.&nbsp;&nbsp;Hopefully&nbsp;they&nbsp;will&nbsp;be&nbsp;able&nbsp;to&nbsp;provide&nbsp;this&nbsp;official&nbsp;“production”&nbsp;update&nbsp;release&nbsp;soon.&nbsp;&nbsp;But&nbsp;until&nbsp;then,&nbsp;at&nbsp;least&nbsp;I&nbsp;can&nbsp;continue&nbsp;with&nbsp;my&nbsp;project…

---

<div class="post-metadata">

**Author:** ![Troy](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@Troy](https://community.thinkgeo.com/u/Troy)\
**Post date:** [November 19, 2014, 12:23am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/18 "2014-11-19T00:23:16Z")

</div>

Hi&nbsp;Russ,  
  
  
  
We&nbsp;are&nbsp;sorry&nbsp;Don&Johnny&nbsp;might&nbsp;not&nbsp;catch&nbsp;the&nbsp;correct&nbsp;point&nbsp;on&nbsp;your&nbsp;question.&nbsp;I&nbsp;reviewed&nbsp;your&nbsp;issues&nbsp;and&nbsp;please&nbsp;let&nbsp;me&nbsp;explain&nbsp;something&nbsp;on&nbsp;unmanaged&nbsp;dependencies:  
  
  
  
In&nbsp;order&nbsp;to&nbsp;support&nbsp;some&nbsp;special&nbsp;features&nbsp;in&nbsp;map&nbsp;suite,&nbsp;like&nbsp;CAD,&nbsp;Ecw,&nbsp;Jp2,&nbsp;FGDB,etc,&nbsp;we&nbsp;always&nbsp;need&nbsp;to&nbsp;refer&nbsp;to&nbsp;the&nbsp;third-party&nbsp;dependencies&nbsp;dlls&nbsp;and&nbsp;those&nbsp;dlls&nbsp;are&nbsp;included&nbsp;in&nbsp;an&nbsp;installer&nbsp;named&nbsp;&nbsp;"Unmanaged&nbsp;Dependencies.msi".&nbsp;This&nbsp;installer&nbsp;is&nbsp;responsible&nbsp;to&nbsp;unzip&nbsp;those&nbsp;dlls&nbsp;under&nbsp;"systemRoot"&nbsp;automatically.&nbsp;The&nbsp;systemRoot&nbsp;folder&nbsp;means&nbsp;the&nbsp;folder&nbsp;"C:\Windows\System32"&nbsp;or&nbsp;"C:\Windows\sysWOW64":  
  
  
  
Case1:&nbsp;&nbsp;app&nbsp;win32&nbsp;version&nbsp;on&nbsp;32bit&nbsp;system&nbsp;=\>&nbsp;system32  
  
Case2:&nbsp;&nbsp;app&nbsp;win32&nbsp;version&nbsp;on&nbsp;64bit&nbsp;system&nbsp;=\>&nbsp;sysWOW64  
  
Case3:&nbsp;&nbsp;app&nbsp;win64&nbsp;version&nbsp;on&nbsp;64bit&nbsp;system&nbsp;=\>&nbsp;system32  
  
  
  
So,&nbsp;after&nbsp;we&nbsp;install&nbsp;the&nbsp;Unmanaged&nbsp;Dependencies.msi,&nbsp;we&nbsp;should&nbsp;see&nbsp;the&nbsp;below&nbsp;dll&nbsp;structure.&nbsp;  
  
As&nbsp;for&nbsp;the&nbsp;Unmanaged&nbsp;Dependencies.msi&nbsp;installer&nbsp;you&nbsp;are&nbsp;looking&nbsp;for,&nbsp;I&nbsp;have&nbsp;to&nbsp;say&nbsp;sorry&nbsp;again&nbsp;we&nbsp;did&nbsp;a&nbsp;strategy&nbsp;change&nbsp;that&nbsp;customer&nbsp;can’t&nbsp;download&nbsp;it&nbsp;directly&nbsp;via&nbsp;product&nbsp;center&nbsp;or&nbsp;customer&nbsp;portal&nbsp;since&nbsp;8.0.&nbsp;But&nbsp;I&nbsp;agree&nbsp;to&nbsp;public&nbsp;it&nbsp;somewhere&nbsp;like&nbsp;before&nbsp;so&nbsp;that&nbsp;you&nbsp;can&nbsp;feel&nbsp;free&nbsp;to&nbsp;download&nbsp;it&nbsp;and&nbsp;I&nbsp;will&nbsp;let&nbsp;my&nbsp;leader&nbsp;knows&nbsp;if&nbsp;we&nbsp;have&nbsp;a&nbsp;solution&nbsp;on&nbsp;this&nbsp;stuff.&nbsp;For&nbsp;temporary,&nbsp;I&nbsp;shared&nbsp;it&nbsp;and&nbsp;please&nbsp;download&nbsp;it&nbsp;from&nbsp;[ap.thinkgeo.com:5001/fbsharing/3Pvu5UQT](https://ap.thinkgeo.com:5001/fbsharing/3Pvu5UQT)  
  
  
  
As&nbsp;for&nbsp;the&nbsp;Dependencies&nbsp;Guide&nbsp;in&nbsp;our&nbsp;wiki,&nbsp;the&nbsp;matrix&nbsp;lists&nbsp;those&nbsp;required&nbsp;dlls&nbsp;for&nbsp;each&nbsp;feature&nbsp;and&nbsp;its&nbsp;target&nbsp;location&nbsp;so&nbsp;that&nbsp;you&nbsp;can&nbsp;verify&nbsp;if&nbsp;those&nbsp;dlls&nbsp;are&nbsp;at&nbsp;the&nbsp;right&nbsp;position.&nbsp;From&nbsp;the&nbsp;guide&nbsp;you&nbsp;can&nbsp;also&nbsp;notice&nbsp;those&nbsp;feature’s&nbsp;mergemodules,&nbsp;they&nbsp;are&nbsp;used&nbsp;when&nbsp;we&nbsp;release&nbsp;our&nbsp;production,&nbsp;you&nbsp;don’t&nbsp;need&nbsp;to&nbsp;include&nbsp;all&nbsp;the&nbsp;dependencies&nbsp;dlls&nbsp;but&nbsp;only&nbsp;need&nbsp;the&nbsp;current&nbsp;mergemodules&nbsp;to&nbsp;support&nbsp;this&nbsp;feature.  
  
  
  
Please&nbsp;let&nbsp;us&nbsp;know&nbsp;if&nbsp;you&nbsp;have&nbsp;any&nbsp;questions.  
  
Thanks,  
  
Troy

 ![](https://community.thinkgeo.com/uploads/default/original/2X/d/d19461332b71be1ab55b92a4a4389f77a8f96b00.png)

---

<div class="post-metadata">

**Author:** ![Russ](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/e36b37/32.png) [@Russ](https://community.thinkgeo.com/u/Russ)\
**Post date:** [November 24, 2014, 4:40pm UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/19 "2014-11-24T16:40:14Z")

</div>

Thanks&nbsp;for&nbsp;the&nbsp;help.&nbsp;  
  
  
  
I&nbsp;think&nbsp;the&nbsp;root&nbsp;of&nbsp;that&nbsp;“unmanaged&nbsp;dependencies”&nbsp;question&nbsp;was&nbsp;that&nbsp;the&nbsp;installer&nbsp;of&nbsp;the&nbsp;moment&nbsp;was&nbsp;not&nbsp;correctly&nbsp;installing&nbsp;the&nbsp;CAD&nbsp;files.&nbsp;&nbsp;The&nbsp;resulting&nbsp;error&nbsp;had&nbsp;me&nbsp;looking&nbsp;for&nbsp;answers,&nbsp;running&nbsp;across&nbsp;the&nbsp;references&nbsp;to&nbsp;the&nbsp;“unmanaged&nbsp;dependencies&nbsp;installer”,&nbsp;and&nbsp;then&nbsp;not&nbsp;being&nbsp;able&nbsp;to&nbsp;find&nbsp;where&nbsp;to&nbsp;get&nbsp;it.&nbsp;  
  
  
  
Also,&nbsp;just&nbsp;for&nbsp;reference,&nbsp;“SystemRoot”&nbsp;has&nbsp;a&nbsp;very&nbsp;specific&nbsp;meaning&nbsp;for&nbsp;most&nbsp;Windows&nbsp;devs,&nbsp;and&nbsp;it’s&nbsp;been&nbsp;unchanged&nbsp;since&nbsp;early&nbsp;versions&nbsp;of&nbsp;Windows.&nbsp;&nbsp;It’s&nbsp;a&nbsp;standard&nbsp;environment&nbsp;variable,&nbsp;which&nbsp;is&nbsp;by&nbsp;default&nbsp;configured&nbsp;as&nbsp;“SystemRoot=C:\WINDOWS”.&nbsp;&nbsp;I&nbsp;would&nbsp;say&nbsp;it&nbsp;is&nbsp;a&nbsp;mistake&nbsp;for&nbsp;ThinkGeo&nbsp;to&nbsp;redefine&nbsp;this&nbsp;since&nbsp;it&nbsp;can&nbsp;easily&nbsp;cause&nbsp;the&nbsp;confusion&nbsp;I&nbsp;experienced.&nbsp;&nbsp;And&nbsp;I&nbsp;will&nbsp;also&nbsp;say&nbsp;that&nbsp;I&nbsp;never&nbsp;found&nbsp;where&nbsp;they&nbsp;define&nbsp;it&nbsp;at&nbsp;all,&nbsp;so&nbsp;was&nbsp;left&nbsp;only&nbsp;with&nbsp;my&nbsp;experience&nbsp;based&nbsp;interpretation.

---

<div class="post-metadata">

**Author:** ![Troy](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@Troy](https://community.thinkgeo.com/u/Troy)\
**Post date:** [November 25, 2014, 12:39am UTC](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472/20 "2014-11-25T00:39:39Z")

</div>

Hi&nbsp;Russ,  
  
  
  
I&nbsp;am&nbsp;also&nbsp;curious&nbsp;why&nbsp;the&nbsp;CAD&nbsp;dlls&nbsp;are&nbsp;not&nbsp;there&nbsp;after&nbsp;the&nbsp;installer&nbsp;is&nbsp;installed.&nbsp;But&nbsp;based&nbsp;on&nbsp;our&nbsp;test,&nbsp;the&nbsp;unmanaged&nbsp;dependencies&nbsp;installer&nbsp;is&nbsp;correct.  
  
Another&nbsp;thing&nbsp;is&nbsp;the&nbsp;unmanaged&nbsp;dependencies&nbsp;installer&nbsp;is&nbsp;integrated&nbsp;into&nbsp;dll&nbsp;packages&nbsp;now&nbsp;and&nbsp;we&nbsp;can&nbsp;find&nbsp;it&nbsp;within&nbsp;the&nbsp;dlls&nbsp;packages.  
  
  
  
As&nbsp;for&nbsp;the&nbsp;"SystemRoot",&nbsp;Oh,&nbsp;I&nbsp;think&nbsp;you&nbsp;might&nbsp;be&nbsp;right&nbsp;after&nbsp;some&nbsp;searching.&nbsp;I&nbsp;will&nbsp;let&nbsp;my&nbsp;leader&nbsp;to&nbsp;know&nbsp;if&nbsp;we&nbsp;can&nbsp;add&nbsp;more&nbsp;descriptions&nbsp;on&nbsp;the&nbsp;dependencies&nbsp;guide&nbsp;page.&nbsp;  
  
  
  
Any&nbsp;questions,&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;us&nbsp;know.  
  
Thanks,  
  
Troy

[Next page](https://community.thinkgeo.com/t/exception-in-displaycadfile-sample/2472.md?page=2)
