Friday, April 29, 2011

Error When Trying to Run Microsoft Sync Framework sample

Downloaded the sample solution WebSharingAppDemo-SqlProviderEndToEnd for Microsoft Sync Framework 2.1.

Tried to run the solution, when received the following error:

Could not load file or assembly 'CommonUtils, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Solution:
I was running on a Win 7, 64bit system, whereas in the CommonUtils project, the target platform was x86.
Changing it to x64 or Any CPU fixes the problem.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete