More About This Website

All information is provided "AS IS" with no warranties, and confers no rights

Login
Powered by Squarespace
« CRM 4.0 RTM VPC Now Ready | Main | Workflow - Wait Condition / Parallel Wait Branch Steps »
Sunday
Jan272008

ClickOnce, 64Bits and the CRM SDK

I recently got a new Thinkpad X61 tablet and decided to go 64 bit Vista.  I blogged about that earlier this weekend here.

I ran into an interesting problem this evening trying to get one of our ClickOnce deployed utilities to work on the 64 bit client.  I kept getting this weird error saying it couldn't find Microsoft.Crm.sdk.dll.  I knew the file was in the GAC, and I even verified it. 

It turns out the issue is on the client side the X86 version of the file gets put in the GAC.  This is fine for things like the CRM Outlook Add-in etc but my ClickOnce failed to recognize it.

After beating my head on the wall a few times, I decided I would try downloading the 64 bit server installation files and registered a copy of the SDK  and SDKTypeProxy assembly from there (InstallFolder/GAC).  Sure enough once I did that my GAC started to show both files and my ClickOnce app was able to run without any problem.

image

EmailEmail Article to Friend

Reader Comments (1)

Hi!

I am having the same problem. However, I have only got x86 distribution available at the moment. I could not find x64 version despite all my efforts of searching our msdn dvd-cd ocean :) I would be very glad if you kindly share those dll's .

Sincerely;

Can Akpinar
Senior software developer
odc
www.odc.com.tr
April 8, 2008 | Unregistered Commentercan akpinar

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.