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.
rgatigantiAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.