Link to home
Start Free TrialLog in
Avatar of rgatiganti
rgatiganti

asked on

MissingMethodException with System.Data.SqlServerCe

When I am trying to use Microsoft Sync Framework for ADO .Net to synchronize between SQL Server database and Windows mobile application local database I am getting the following exception:

System.MissingMethodException was unhandled
  Message="File or assembly name 'System.Data.SqlServerCe, Version=3.5.1.0, Culture=neutral, PublicKeyToken=3BE235DF1C8D2AD3', or one of its dependencies, was not found."
  StackTrace:
       at MobileOrderManagement.OrderDetailsCacheSyncAgent..ctor()
       at MobileOrderManagement.BusinessLogic.Synchronize.SynchronizeDB()
     
Can someone please help to solve this issue.

Thank you,
Divya.
ASKER CERTIFIED SOLUTION
Avatar of Edgard Yamashita
Edgard Yamashita
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgatiganti
rgatiganti

ASKER

I have installed SQL using F5 option with visual studio before. However, that didnt completly install all the required files. Hence I got the error. I have manually installed on the emulator and the issue is solved now.

Thank you,
Divya.