Connecting Tech Pros Worldwide Help | Site Map
Reply
 
LinkBack Thread Tools Search this Thread
  #1  
Old July 7th, 2008, 08:13 AM
Newbie
 
Join Date: Jul 2008
Posts: 1
Default Please help to solve this error

Hello
I have created a mobile device application using C#.net 2.0.The project is successfully compiled and run using using the simulator.
But when i deliver the cab fie to my client the following error appears when the application is trying to pull data or any data base related task[like login].The data base is used Sql server 2005 in the server .

File or assembly name 'System.Data.SqlserverCe,Version=3.5.0.0,Culture=n eutral,PublicKeyToken=3BE235DF1C8D2AD3',or one of its dependencies,was not found

Please help to solve the above error.

Thanks in advance
Sourav
Reply
  #2  
Old July 8th, 2008, 06:24 PM
RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,131
Default

Did you try a google search to figure out the solution to this problem?
Reply
  #3  
Old July 13th, 2008, 05:39 PM
markmcgookin's Avatar
Moderator
 
Join Date: Dec 2006
Location: Northern Ireland / England
Age: 24
Posts: 496
Default

Quote:
Originally Posted by RedSon
Did you try a google search to figure out the solution to this problem?
This is easy, you havent installed SQL Server CE on the mobile.... the emulator does it automatically when you debug deploy an app to the device, but you need it installed on each device. There are a few CABs to guarantee full use...they are available within VS and on msdn

SQL Server CE
SQL Server DEV en
SQL Server REPL

are the main 3 you are after. Stick those on and then re-run your app... should be fine.

Hope this helps,
Reply
  #4  
Old July 14th, 2008, 03:32 PM
RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,131
Default

You need to make sure your device has a compatible run-time .NET framework version on it. You might need to install the latest version. When you build the installer for the desktop it installs the files for you. When you deploy to a mobile device from a debug environment the appropriate DLLs get transfered and installed automatically. If you are deploying this application to a device that you have not debugged to you will need to install the latest compact framework.
Reply
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.