Problems consuming webservices when developing locally

Usually I develop on a CRM server but sometimes, when a larger piece of CRM-independent part needs to be developed, I develop on my local machine.

Presently I am working in an integration project with an integration engine and needed to consume one of it’s webservices. I did so and I added some code to handle it (intellisense working fine) but when I tried to run it, it crashed on the constructor or the service class with the following error:

System.IO.FileNotFoundException: File or assembly name gvy6umsk.dll, or one
of its dependencies, was not found.

There was also a reference to the WindowsTemp-directory. The filename is obviously some temporary filename for the proxy-object.

After checking the web a bit, I found the error to be caused by the fact that the user running the software, did not have read/write access to the c:windowstemp directory. I fixed it and the program ran like it should!

So, if you are in the same situation, just fix the right for the windowstemp directory and you should be fine.

Gustaf Westerlund
Microsoft Dynamics CRM Consultant

WM-Data/Logica CMG
www.logicacmg.com

Great solution concerning javascript include files

Michael Höhne of Germany is a very resourceful CRM MVP and has just published a great posting on how to, in a simple and good manner create include files for javascript in a supported way. So, with great applause from me and hopefully the rest of the CRM community, give it up for Michael! Here is the link:

http://www.stunnware.com/crm2/topic.aspx?id=JS18

Gustaf Westerlund
Microsoft Dynamics CRM Consultant

WM-Data/Logica CMG
www.logicacmg.com

Microsoft Virtual Earth Demo

Integrating with map services like Microsoft Virtual Earth, Google Maps can bring your CRM or SharePoint application great increases in features at a relativly low cost. Microsoft uses Microsoft Virtual Earth internally and the Microsoft SharePoint Products and Technologies Team Blog has written an interesting posting about this which includes a reference to a codeplex project including all code for the internal project.

I havn’t checked it out, and it is used for SharePoint in the example but I believe that a lot of the code probably can be used to develop a Virtual Earth driven map service in Microsoft CRM.

So, without further ado, please read the posting and check out the codeplex project if you are interested!

http://blogs.msdn.com/sharepoint/archive/2007/10/14/announcing-community-kit-for-sharepoint-virtual-earth-maps-on-sharepoint.aspx

Gustaf Westerlund
CRM and SharePoint Consultant

Humandata AB
www.humandata.se

Mr Dave writes some about Plug-In development

Mr Dave has written an interesting blog in plug-in development, which is the replacement for the callout-techniques used in CRM 3. There are a lot of architectural differences between callous and plug-ins. If you are planning to use plugs, dig in:

http://crm.davidyack.com/journal/2007/10/14/using-prepost-images-in-plug-ins.html

I hope to be writing some postings of my own concerning CRM 4.0 soon, but I still havn’t got my hands on a version 🙁

Gustaf Westerlund
CRM and SharePoint Consultant

Humandata AB
www.humandata.se

Stunnware on CRM 4 development

Michael Höhne who runs the site Stunnware has written an interesting blog posting on how development differes between CRM 3 and CRM 4. It is very interesting and very usefull. If you plan to develop using CRM 4, I highly recommend that you read it.

http://www.stunnware.com/crm2/topic.aspx?id=CRM4MultiTenancy

Next week is Convergence EMEA in Copenhagen. If you are planning to go there and would like to meet, please drop me a line and we can arrange it.

Gustaf Westerlund
CRM and SharePoint Consultant

Humandata AB
www.humandata.se