• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1286
  • Last Modified:

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.
0
rgatiganti
Asked:
rgatiganti
1 Solution
 
eguilhermeCommented:
check here for some help

http://social.msdn.microsoft.com/forums/en-US/windowsmobiledev/thread/9d5493f1-03e7-4993-8ca2-09156e282f82

did you install the SQL Mobile in the device ?
0
 
rgatigantiAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now