Sep 24 2009
Developing Microsoft Dynamics CRM 4.0 Online Extension on an x64 Workstation
Here’s a quick gotcha. If you’re going through the walkthroughs for using the CRM 4.0 Online Web Services, you might run into a runtime error when you reference the sample dll if you’re deving on an x64 workstation. The error will look like: “An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0×8007000B)”
That’s because the helper dll’s that Microsoft provides to help with Passport authentication are x86 dlls. To fix this issue, stop using these helper dll’s, or target x86 in your build settings. The steps to do this are:
1. In Visual Studio, right-click your project and click “Properties”.
2. In the “Build” tab, set your “Platform Target” to “x86″.
-Phil
Trackback URI | Comments RSS | del.icio.us | Digg it | Furl | iFeedReaders | Wykop