<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Dynamics CRM 4.0 + Virtual Earth</title>
	<atom:link href="http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/feed/" rel="self" type="application/rss+xml" />
	<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/</link>
	<description>A software developer's life and some technologies he explores.</description>
	<lastBuildDate>Wed, 17 Mar 2010 14:33:08 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: знакомства для геев</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-505</link>
		<dc:creator>знакомства для геев</dc:creator>
		<pubDate>Thu, 17 Dec 2009 17:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-505</guid>
		<description>мне кажется: отлично!!</description>
		<content:encoded><![CDATA[<p>мне кажется: отлично!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jsun027</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-453</link>
		<dc:creator>jsun027</dc:creator>
		<pubDate>Sun, 17 May 2009 09:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-453</guid>
		<description>Yep, absolutely. There is javascript function PlacePushPin(lat, lon) you can call at line 27, which is just constructing a new VEShape with VEShapeType.Pushpin type. So you could call this method with latitude and longitude to assign a drop a new pin.

If you take a look at this VEShape class it has a method VEShape.SetFillColor which you can pass in a VEColor object and sets its colour too.

http://msdn.microsoft.com/en-us/library/bb412486.aspx</description>
		<content:encoded><![CDATA[<p>Yep, absolutely. There is javascript function PlacePushPin(lat, lon) you can call at line 27, which is just constructing a new VEShape with VEShapeType.Pushpin type. So you could call this method with latitude and longitude to assign a drop a new pin.</p>
<p>If you take a look at this VEShape class it has a method VEShape.SetFillColor which you can pass in a VEColor object and sets its colour too.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/bb412486.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb412486.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jsun027</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-452</link>
		<dc:creator>jsun027</dc:creator>
		<pubDate>Sun, 17 May 2009 09:18:45 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-452</guid>
		<description>@mmattson, without taking a look at the exact code...

When you add CRM WebService reference to your project, did you name it &quot;CrmService&quot;? It&#039;s looking for that specific namespace at line 11 and apparently it couldn&#039;t find it. Some people name it CrmSdk, it&#039;s rather a person preference.</description>
		<content:encoded><![CDATA[<p>@mmattson, without taking a look at the exact code&#8230;</p>
<p>When you add CRM WebService reference to your project, did you name it &#8220;CrmService&#8221;? It&#8217;s looking for that specific namespace at line 11 and apparently it couldn&#8217;t find it. Some people name it CrmSdk, it&#8217;s rather a person preference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mmattson</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-451</link>
		<dc:creator>mmattson</dc:creator>
		<pubDate>Fri, 15 May 2009 02:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-451</guid>
		<description>Great post. Got the location working fast. Having trouble with the CrmService. Getting an error:

Compiler Error Message: CS0246: The type or namespace name &#039;CrmService&#039; could not be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 9:  using System.Web.UI.WebControls;
Line 10: using System.Web.UI.WebControls.WebParts;
Line 11: using CrmService;
Line 12: 
Line 13: public partial class Routes : System.Web.UI.Page
 
Source File: c:\Inetpub\wwwroot\crmMap\Routes.aspx.cs    Line: 11 

I changed the web.config to point to correct folder. Installed on the CRM server, etc.</description>
		<content:encoded><![CDATA[<p>Great post. Got the location working fast. Having trouble with the CrmService. Getting an error:</p>
<p>Compiler Error Message: CS0246: The type or namespace name &#8216;CrmService&#8217; could not be found (are you missing a using directive or an assembly reference?)</p>
<p>Source Error:</p>
<p>Line 9:  using System.Web.UI.WebControls;<br />
Line 10: using System.Web.UI.WebControls.WebParts;<br />
Line 11: using CrmService;<br />
Line 12:<br />
Line 13: public partial class Routes : System.Web.UI.Page</p>
<p>Source File: c:\Inetpub\wwwroot\crmMap\Routes.aspx.cs    Line: 11 </p>
<p>I changed the web.config to point to correct folder. Installed on the CRM server, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-435</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Tue, 20 Jan 2009 07:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-435</guid>
		<description>very cool!  thanks for this post!</description>
		<content:encoded><![CDATA[<p>very cool!  thanks for this post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-426</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Thu, 25 Sep 2008 09:13:48 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-426</guid>
		<description>Hi! just to say nice blog!
Just one more thing:
could you sahre de js code that makes VE fit IFRAME and resize it?

thks</description>
		<content:encoded><![CDATA[<p>Hi! just to say nice blog!<br />
Just one more thing:<br />
could you sahre de js code that makes VE fit IFRAME and resize it?</p>
<p>thks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Peledie</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-420</link>
		<dc:creator>Robert Peledie</dc:creator>
		<pubDate>Mon, 04 Aug 2008 13:23:01 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-420</guid>
		<description>Hi
This really is a great blog. I got mine working in about an hour with your instructions.
I only followed the first part, as we only need to see a pushpin showing a contact or account address.
How easy (or not) would it be to show other pushpins in the map? For example, we want to show the parent pushpin in red but also show contacts in the same area in another colour?
Rob.</description>
		<content:encoded><![CDATA[<p>Hi<br />
This really is a great blog. I got mine working in about an hour with your instructions.<br />
I only followed the first part, as we only need to see a pushpin showing a contact or account address.<br />
How easy (or not) would it be to show other pushpins in the map? For example, we want to show the parent pushpin in red but also show contacts in the same area in another colour?<br />
Rob.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jsun027</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-417</link>
		<dc:creator>jsun027</dc:creator>
		<pubDate>Wed, 23 Jul 2008 10:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-417</guid>
		<description>Hi Jessé,

Seems like the code is failing to authenticate against CRM WebService? There is a whole heap of articles out there on troubleshooting this problem...

In my code, I&#039;m using windows authentication by assigning DefaultCredentials to CrmService. This is the easiest if your calling code is on the same box as your Crm instance.

A few points to check that I can remember of the top of my head;
1. In IIS, you shouldn&#039;t allow anonymous access if you are using windows authentication.
2. If you are using impersonation, make sure the user you are impersonating lives in the PrivUserGroup in AD.
3. Make sure the application pool you are running your iFrame website in is run under Network Service...

Failing all that, depends on your intended deployment configuration, google CRM 4.0 HTTP 401.

When I tested with preview, I had hardcoded addresses on the web page, the goal of that is to isolating out interaction with CRM webservice and just make sure that the virtual earth and iFrame are working.

Hope that helps,

Cheers,

Sun</description>
		<content:encoded><![CDATA[<p>Hi Jessé,</p>
<p>Seems like the code is failing to authenticate against CRM WebService? There is a whole heap of articles out there on troubleshooting this problem&#8230;</p>
<p>In my code, I&#8217;m using windows authentication by assigning DefaultCredentials to CrmService. This is the easiest if your calling code is on the same box as your Crm instance.</p>
<p>A few points to check that I can remember of the top of my head;<br />
1. In IIS, you shouldn&#8217;t allow anonymous access if you are using windows authentication.<br />
2. If you are using impersonation, make sure the user you are impersonating lives in the PrivUserGroup in AD.<br />
3. Make sure the application pool you are running your iFrame website in is run under Network Service&#8230;</p>
<p>Failing all that, depends on your intended deployment configuration, google CRM 4.0 HTTP 401.</p>
<p>When I tested with preview, I had hardcoded addresses on the web page, the goal of that is to isolating out interaction with CRM webservice and just make sure that the virtual earth and iFrame are working.</p>
<p>Hope that helps,</p>
<p>Cheers,</p>
<p>Sun</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jessé</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-414</link>
		<dc:creator>Jessé</dc:creator>
		<pubDate>Fri, 04 Jul 2008 18:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-414</guid>
		<description>Hi ,

I tryed this add-on , the location part works fine even added the postal code to the fields he uses to get the address. im havinf trouble with the routes part because he gives me The request failed with HTTP status 401: Unauthorized. 

On this set of code.
Line 293:            object[] results = this.Invoke(&quot;Retrieve&quot;, new object[] {
Line 294:                        entityName,
Line 295:                        id,

Funny thing is that if there is that it works on the form preview and you cant put any adress on preview ...

Strange behavior , is this because im running CRM 4.0 under Windows 2008 and IIS 7 ?</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>I tryed this add-on , the location part works fine even added the postal code to the fields he uses to get the address. im havinf trouble with the routes part because he gives me The request failed with HTTP status 401: Unauthorized. </p>
<p>On this set of code.<br />
Line 293:            object[] results = this.Invoke(&#8220;Retrieve&#8221;, new object[] {<br />
Line 294:                        entityName,<br />
Line 295:                        id,</p>
<p>Funny thing is that if there is that it works on the form preview and you cant put any adress on preview &#8230;</p>
<p>Strange behavior , is this because im running CRM 4.0 under Windows 2008 and IIS 7 ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim khoo</title>
		<link>http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-411</link>
		<dc:creator>tim khoo</dc:creator>
		<pubDate>Mon, 23 Jun 2008 13:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://sundium.wordpress.com/2008/06/15/dynamics-crm-40-virtual-earth/#comment-411</guid>
		<description>good stuff.</description>
		<content:encoded><![CDATA[<p>good stuff.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
