# CSWpfDesktopEditionSample Problems

**URL:** <https://community.thinkgeo.com/t/cswpfdesktopeditionsample-problems/7449>\
**Category:** World Map Kit\
**Created:** [February 22, 2011, 9:34am UTC](https://community.thinkgeo.com/t/cswpfdesktopeditionsample-problems/7449 "2011-02-22T09:34:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luis1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/l/91b2a8/32.png) [@Luis1](https://community.thinkgeo.com/u/Luis1)\
**Post date:** [February 22, 2011, 9:34am UTC](https://community.thinkgeo.com/t/cswpfdesktopeditionsample-problems/7449/1 "2011-02-22T09:34:06Z")

</div>

I&nbsp;have&nbsp;installed&nbsp;the&nbsp;World&nbsp;Map&nbsp;Kit&nbsp;Street&nbsp;Data&nbsp;&&nbsp;Rendering&nbsp;SDK.

Followed&nbsp;the&nbsp;instructions:

1)&nbsp;Extracted&nbsp;rar&nbsp;files

2)&nbsp;Copied&nbsp;C#&nbsp;folder

3)&nbsp;Updated&nbsp;dll&nbsp;references

4)&nbsp;updaded&nbsp;App.Config&nbsp;(&nbsp;for&nbsp;the&nbsp;CSServiceSample)&nbsp;and&nbsp;Window1.xaml.cs&nbsp;(CSWpfDesktopEditionSample)&nbsp;to&nbsp;point&nbsp;to&nbsp;the&nbsp;folder&nbsp;with&nbsp;extracted&nbsp;rar&nbsp;files

&nbsp;

When&nbsp;I&nbsp;run&nbsp;the&nbsp;CSWpfDesktopEditionSample&nbsp;the&nbsp;application&nbsp;runs&nbsp;but&nbsp;I&nbsp;cannot&nbsp;see&nbsp;anydata,&nbsp;if&nbsp;I&nbsp;zoom&nbsp;in&nbsp;and&nbsp;out&nbsp;I&nbsp;get&nbsp;an&nbsp;exception

"The&nbsp;GeoCanvas&nbsp;is&nbsp;currently&nbsp;not&nbsp;drawing.&nbsp;&nbsp;Please&nbsp;call&nbsp;the&nbsp;BeginDraw&nbsp;method&nbsp;before&nbsp;calling&nbsp;this&nbsp;method."

on

`layer.Draw(canvas, labelsInAllLayers);`

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [February 23, 2011, 12:09am UTC](https://community.thinkgeo.com/t/cswpfdesktopeditionsample-problems/7449/2 "2011-02-23T00:09:24Z")

</div>

Luis,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;failed&nbsp;to&nbsp;recreate&nbsp;your&nbsp;problem,&nbsp;could&nbsp;you&nbsp;please&nbsp;provide&nbsp;us&nbsp;further&nbsp;information&nbsp;such&nbsp;as&nbsp;what&nbsp;version&nbsp;of&nbsp;World&nbsp;Map&nbsp;Kit&nbsp;and&nbsp;WpfDesktop&nbsp;edition&nbsp;you’re&nbsp;using?&nbsp;Besides&nbsp;this&nbsp;one,&nbsp;can&nbsp;you&nbsp;also&nbsp;try&nbsp;the&nbsp;CSServiceSample,&nbsp;does&nbsp;it&nbsp;have&nbsp;the&nbsp;sample&nbsp;problem?&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben

---

<div class="post-metadata">

**Author:** ![Luis1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/l/91b2a8/32.png) [@Luis1](https://community.thinkgeo.com/u/Luis1)\
**Post date:** [February 23, 2011, 7:54am UTC](https://community.thinkgeo.com/t/cswpfdesktopeditionsample-problems/7449/3 "2011-02-23T07:54:35Z")

</div>

`Posted By Ben on 02-23-2011 12:09 AM Luis, I failed to recreate your problem, could you please provide us further information such as what version of World Map Kit and WpfDesktop edition you’re using? Besides this one, can you also try the CSServiceSample, does it have the sample problem? Thanks. Ben `

&nbsp;

World&nbsp;Map&nbsp;Kit&nbsp;4.5

WpfDesktopEdition&nbsp;Evaluation&nbsp;version&nbsp;4.5.0.0

&nbsp;

The&nbsp;CSServiceSample&nbsp;is&nbsp;the&nbsp;"same&nbsp;thing"&nbsp;-&nbsp;it&nbsp;does&nbsp;not&nbsp;display&nbsp;the&nbsp;map,&nbsp;and&nbsp;when&nbsp;I&nbsp;click&nbsp;on&nbsp;the&nbsp;zoom&nbsp;in/out&nbsp;buttons&nbsp;it&nbsp;hangs&nbsp;on&nbsp;forever&nbsp;before&nbsp;giving&nbsp;control&nbsp;back.

&nbsp;

 ![](https://community.thinkgeo.com/uploads/default/original/2X/8/889658d3c90fc2ac8aa5e1aebe1ce06c5651f5dd.png)

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [February 24, 2011, 10:35pm UTC](https://community.thinkgeo.com/t/cswpfdesktopeditionsample-problems/7449/4 "2011-02-24T22:35:35Z")

</div>

Luis,

I&nbsp;think&nbsp;that's&nbsp;the&nbsp;same&nbsp;issue&nbsp;with&nbsp;this&nbsp;post:

[gis.thinkgeo.com/Support/Dis...fault.aspx](http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/13/aft/8812/afv/topic/Default.aspx)

&nbsp;So&nbsp;let's&nbsp;keep&nbsp;the&nbsp;topic&nbsp;on&nbsp;that&nbsp;thread.

Thanks,

Ben
