# Error while calling GetBoundingBoxCore()

**URL:** <https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553>\
**Category:** WebForms\
**Created:** [April 9, 2015, 5:39pm UTC](https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553 "2015-04-09T17:39:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruno](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/b/c77e96/32.png) [@Bruno](https://community.thinkgeo.com/u/Bruno)\
**Post date:** [April 9, 2015, 5:39pm UTC](https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553/1 "2015-04-09T17:39:43Z")

</div>

Hi&nbsp;again,  
  
  
  
Following&nbsp;the&nbsp;issue&nbsp;[thinkgeo.com/forums/MapSuite…fault.aspx](http://thinkgeo.com/forums/MapSuite/tabid/143/aft/12569/Default.aspx)&nbsp;we’ve&nbsp;have&nbsp;detected&nbsp;another&nbsp;issue&nbsp;on&nbsp;the&nbsp;method&nbsp;_MsSql2008FeatureSource.GetBoundingBoxCore()…_  
  
  
  
This&nbsp;one&nbsp;on&nbsp;ThinkGeo&nbsp;8.0.301.0&nbsp;and&nbsp;the&nbsp;fourth&nbsp;one&nbsp;that&nbsp;we’ve&nbsp;discovered&nbsp;on&nbsp;a&nbsp;small&nbsp;period&nbsp;of&nbsp;time&nbsp;on&nbsp;that&nbsp;method.&nbsp;The&nbsp;other&nbsp;ones&nbsp;were:

  
&nbsp;&nbsp;&nbsp;&nbsp;- [thinkgeo.com/forums/MapSuite…fault.aspx](http://thinkgeo.com/forums/MapSuite/tabid/143/aft/12552/Default.aspx)
  
&nbsp;&nbsp;&nbsp;&nbsp;- [thinkgeo.com/forums/MapSuite…fault.aspx](http://thinkgeo.com/forums/MapSuite/tabid/143/aft/12563/Default.aspx)
  
&nbsp;&nbsp;&nbsp;&nbsp;- [thinkgeo.com/forums/MapSuite…fault.aspx](http://thinkgeo.com/forums/MapSuite/tabid/143/aft/12569/Default.aspx)
  

  
The&nbsp;error&nbsp;message&nbsp;is:  
  
  
  
**Could&nbsp;not&nbsp;find&nbsp;method&nbsp;‘STASBINARY’&nbsp;for&nbsp;type&nbsp;‘Microsoft.SqlServer.Types.SqlGeography’&nbsp;in&nbsp;assembly&nbsp;'Microsoft.SqlServer.Types’**  
  
  
  
The&nbsp;query&nbsp;sent&nbsp;to&nbsp;the&nbsp;SQL&nbsp;SERVER&nbsp;is:  
  
  
  
_DECLARE&nbsp;@POLYGON01&nbsp;GEOMETRY&nbsp;_  
_SELECT&nbsp;TOP&nbsp;1&nbsp;@POLYGON01&nbsp;=&nbsp;GEOMETRY::STGEOMFROMWKB(GEOM.STASBINARY(),4326)&nbsp;FROM&nbsp;[table\_name]&nbsp;WHERE&nbsp;1=1&nbsp;AND&nbsp;(&nbsp;[filter]&nbsp;)&nbsp;AND&nbsp;GEOM&nbsp;IS&nbsp;NOT&nbsp;NULL&nbsp;_  
_SELECT&nbsp;@POLYGON01&nbsp;=&nbsp;@POLYGON01.STUNION(GEOMETRY::STGEOMFROMWKB(GEOM.STASBINARY(),4326).STENVELOPE()).STENVELOPE()&nbsp;FROM&nbsp;[table\_name]&nbsp;WHERE&nbsp;1=1&nbsp;AND&nbsp;(&nbsp;[filter]&nbsp;)&nbsp;AND&nbsp;GEOM&nbsp;IS&nbsp;NOT&nbsp;NULL&nbsp;_  
_SELECT&nbsp;@POLYGON01.STASBINARY()&nbsp;;_  
  
  
  
Where&nbsp;[table\_name]&nbsp;is&nbsp;table&nbsp;and&nbsp;[filter]&nbsp;a&nbsp;filter&nbsp;applied&nbsp;on&nbsp;the&nbsp;Layer.  
  
  
  
This&nbsp;time&nbsp;looks&nbsp;like&nbsp;the&nbsp;ThinkGeo&nbsp;code&nbsp;is&nbsp;turning&nbsp;the&nbsp;SQL&nbsp;Query&nbsp;to&nbsp;upper,&nbsp;making&nbsp;the&nbsp;call&nbsp;to&nbsp;the&nbsp;geometry&nbsp;and&nbsp;geography&nbsp;type&nbsp;methods&nbsp;on&nbsp;SQL&nbsp;SERVER&nbsp;unrecognized&nbsp;because&nbsp;they&nbsp;are&nbsp;case&nbsp;sensitive…  
  
  
  
Regards,  
  
BdaF  
  
  
  
&nbsp;&nbsp;

---

<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:** [April 10, 2015, 4:36am UTC](https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553/2 "2015-04-10T04:36:40Z")

</div>

Hi&nbsp;Bruno,  
  
  
It’s&nbsp;proved&nbsp;to&nbsp;be&nbsp;a&nbsp;bug&nbsp;which&nbsp;has&nbsp;been&nbsp;fixed&nbsp;in&nbsp;the&nbsp;latest&nbsp;version&nbsp;8.0.304.0&nbsp;or&nbsp;later,&nbsp;please&nbsp;get&nbsp;it&nbsp;and&nbsp;have&nbsp;a&nbsp;try.  
  
  
  
Thanks,  
  
Johnny

---

<div class="post-metadata">

**Author:** ![Bruno](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/b/c77e96/32.png) [@Bruno](https://community.thinkgeo.com/u/Bruno)\
**Post date:** [April 13, 2015, 6:17am UTC](https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553/3 "2015-04-13T06:17:06Z")

</div>

Hi&nbsp;Johnny,  
  
  
  
Looks&nbsp;like&nbsp;it&nbsp;has&nbsp;been&nbsp;fixed.  
  
  
  
Thanks,  
  
BdaF

---

<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:** [April 15, 2015, 5:00am UTC](https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553/4 "2015-04-15T05:00:14Z")

</div>

Great,&nbsp;any&nbsp;other&nbsp;questions&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;us&nbsp;know.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Johnny

---

<div class="post-metadata">

**Author:** ![Adrian2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/ed655f/32.png) [@Adrian2](https://community.thinkgeo.com/u/Adrian2)\
**Post date:** [July 10, 2015, 2:30pm UTC](https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553/5 "2015-07-10T14:30:27Z")

</div>

Hi&nbsp;Johnny:  
  
  
  
It&nbsp;appears&nbsp;that&nbsp;this&nbsp;bug&nbsp;some&nbsp;somehow&nbsp;is&nbsp;creeping&nbsp;back&nbsp;in&nbsp;the&nbsp;last&nbsp;version.  
  
  
  
Currently&nbsp;we&nbsp;are&nbsp;trying&nbsp;the&nbsp;Production&nbsp;version&nbsp;8.0.0.315&nbsp;the&nbsp;error&nbsp;is&nbsp;there.&nbsp;&nbsp;What&nbsp;shall&nbsp;we&nbsp;do?  
  
  
  
What&nbsp;is&nbsp;the&nbsp;relationship&nbsp;between&nbsp;the&nbsp;production&nbsp;and&nbsp;development?  
  
  
  
Thanks,  
  
Adrian&nbsp;

---

<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:** [July 13, 2015, 1:52am UTC](https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553/6 "2015-07-13T01:52:58Z")

</div>

Hi&nbsp;Adrian,  
  
  
  
The&nbsp;fix&nbsp;was&nbsp;only&nbsp;applied&nbsp;in&nbsp;the&nbsp;development&nbsp;branch&nbsp;but&nbsp;not&nbsp;in&nbsp;the&nbsp;production&nbsp;branch,&nbsp;that’s&nbsp;why&nbsp;the&nbsp;release&nbsp;didn’t&nbsp;include&nbsp;the&nbsp;fix.&nbsp;But&nbsp;in&nbsp;map&nbsp;suite&nbsp;9.0,&nbsp;we&nbsp;did&nbsp;a&nbsp;branch&nbsp;from&nbsp;development&nbsp;to&nbsp;production&nbsp;and&nbsp;keep&nbsp;them&nbsp;the&nbsp;same.&nbsp;So&nbsp;the&nbsp;fix&nbsp;is&nbsp;included&nbsp;in&nbsp;map&nbsp;suite&nbsp;9.0&nbsp;release&nbsp;branch&nbsp;now.&nbsp;Please&nbsp;try&nbsp;to&nbsp;get&nbsp;the&nbsp;9.0&nbsp;to&nbsp;fix&nbsp;it.  
  
  
  
As&nbsp;for&nbsp;the&nbsp;difference&nbsp;between&nbsp;the&nbsp;development&nbsp;and&nbsp;production&nbsp;branch,&nbsp;please&nbsp;refer&nbsp;to&nbsp;  
  
[wiki.thinkgeo.com/wiki/Map\_S…\_builds.3F](http://wiki.thinkgeo.com/wiki/Map_Suite_Daily_Builds_Guide#What_is_the_difference_between_the_production_and_development_daily_builds.3F)  
  
  
  
Please&nbsp;let&nbsp;us&nbsp;know&nbsp;if&nbsp;any&nbsp;questions.  
  
  
  
Thanks,  
  
  
  
Troy

---

<div class="post-metadata">

**Author:** ![Adrian2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/ed655f/32.png) [@Adrian2](https://community.thinkgeo.com/u/Adrian2)\
**Post date:** [July 13, 2015, 10:11am UTC](https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553/7 "2015-07-13T10:11:06Z")

</div>

Thanks&nbsp;Troy&nbsp;for&nbsp;your&nbsp;reply.  
  
  
  
I&nbsp;downloaded&nbsp;&nbsp;the&nbsp;Production&nbsp;Daily&nbsp;Build&nbsp;9.0.0.0&nbsp;version&nbsp;from&nbsp;the&nbsp;Customer&nbsp;Portal&nbsp;and&nbsp;I&nbsp;got&nbsp;the&nbsp;"Unlicensed"&nbsp;error&nbsp;and&nbsp;no&nbsp;map&nbsp;rendered&nbsp;in&nbsp;my&nbsp;web&nbsp;application.  
  
  
  
I&nbsp;checked&nbsp;my&nbsp;ThinkGeo&nbsp;Production&nbsp;Center&nbsp;and&nbsp;there&nbsp;is&nbsp;no&nbsp;link&nbsp;for&nbsp;Version&nbsp;9.0.0.0&nbsp;but&nbsp;only&nbsp;8.0.0.351.&nbsp;&nbsp;Please&nbsp;help&nbsp;to&nbsp;add&nbsp;the&nbsp;link&nbsp;there.&nbsp;&nbsp;I&nbsp;found&nbsp;that&nbsp;if&nbsp;I&nbsp;download&nbsp;from&nbsp;the&nbsp;Production&nbsp;Center&nbsp;I&nbsp;will&nbsp;not&nbsp;get&nbsp;an&nbsp;"Unlicensed"&nbsp;issue.  
  
  
  
Thanks&nbsp;for&nbsp;the&nbsp;Versions&nbsp;document&nbsp;link.  
  
  
  
Thanks,  
  
Adrian

---

<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:** [July 14, 2015, 8:52pm UTC](https://community.thinkgeo.com/t/error-while-calling-getboundingboxcore/6553/8 "2015-07-14T20:52:46Z")

</div>

Hi&nbsp;Adrian,  
  
  
  
The&nbsp;9.0&nbsp;and&nbsp;8.0&nbsp;has&nbsp;a&nbsp;difference&nbsp;license&nbsp;strategy&nbsp;and&nbsp;we&nbsp;need&nbsp;to&nbsp;use&nbsp;product&nbsp;center&nbsp;9.0&nbsp;to&nbsp;manager&nbsp;9.0&nbsp;daily&nbsp;build.&nbsp;Please&nbsp;download&nbsp;the&nbsp;map&nbsp;suite&nbsp;product&nbsp;center&nbsp;9.0&nbsp;and&nbsp;install&nbsp;it.&nbsp;(don’t&nbsp;have&nbsp;to&nbsp;uninstall&nbsp;the&nbsp;product&nbsp;center&nbsp;8.0)  
  
After&nbsp;the&nbsp;installation,&nbsp;login&nbsp;with&nbsp;your&nbsp;main&nbsp;account,&nbsp;then&nbsp;active&nbsp;your&nbsp;purchased&nbsp;products&nbsp;to&nbsp;download&nbsp;the&nbsp;full&nbsp;daily&nbsp;build&nbsp;of&nbsp;9.0.0.0.  
  
  
  
In&nbsp;customer&nbsp;portal,&nbsp;it&nbsp;only&nbsp;shows&nbsp;the&nbsp;9.0&nbsp;dll&nbsp;packages&nbsp;now.&nbsp;So,&nbsp;it&nbsp;is&nbsp;better&nbsp;to&nbsp;manager&nbsp;the&nbsp;dlls&nbsp;though&nbsp;product&nbsp;center&nbsp;8.0&nbsp;and&nbsp;9.0.  
  
  
  
Please&nbsp;let&nbsp;us&nbsp;know&nbsp;if&nbsp;any&nbsp;questions.  
  
  
  
Thanks,  
  
  
  
Troy
