5,276,156 members and growing! (16,553 online)
Email Password   helpLost your password?
Platforms, Frameworks & Libraries » Mobile Development » Database     Intermediate

Install and Configure SQL Server for SQLCE replication

By Garth Tissington

After pulling my hair out for several days I finally figured out how to install and configure SQLCE with SQL Server for replication to a Windows CE device. I hope this saves you some pain
C++, SQL, WinCE, WinXP, Windows, Visual Studio, Mobile, SQL, SQL 2000, SQL CE, DBA, Dev

Posted: 13 Sep 2003
Updated: 13 Sep 2003
Views: 53,833
Announcements
Want a new Job?



Search    
Advanced Search
Sitemap
10 votes for this Article.
Popularity: 3.68 Rating: 3.68 out of 5
3 votes, 30.0%
1
0 votes, 0.0%
2
0 votes, 0.0%
3
4 votes, 40.0%
4
3 votes, 30.0%
5

Introduction

Let me start by saying that I'm not a SQL guru, I'm not a DBA, I'm a lowly application programmer who just happens to (begrudgingly) need to use SQL server. I thought I was fairly adept and figuring out weird combinations of software until I tried to install SQL Server CE and set it up to replication with my SQL Server on the desktop.

SQLCE and SQL Server, they are supposed to work together, right? They do but there are a few gotchas along the way that you might like to know about. I look forward to hearing other tips or advice on this process.

The instructions

It's pretty simple actually but you have to do it exactly as follows.

Note

  • SQLCE (Server Tools) will not install without SP1 it will not install with SP3. You must install SQL2k -> SQL2KSP1 --> SQLCE --> SQL2KSP3
  • SQL Replication will not work if the SQL service is running under the system account. You MUST configure the SQL services to use a DOMAIN account with 'run as service' privilege

Steps

  1. Run SQL 2K Installer.
  2. Change the Instance Name
  3. Do NOT use the System account. It does not work for replication.
  4. The account you use must run as a service
  5. The account must have a password
  6. change the sa password
  7. Install SP1. DO NOT install SP3 yet. SQLCE will not install over SP3
  8. Now Install SQLCE
  9. Now Install SP3

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Garth Tissington



Location: Canada Canada

Other popular Mobile Development articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 8 of 8 (Total in Forum: 8) (Refresh)FirstPrevNext
Subject  Author Date 
GeneralRelated SQLCE articlememberSamuel Allen19:03 26 May '08  
GeneralSQL Server (CE) 2000 SP4... download herememberChristopher Scholten23:41 15 Jul '05  
GeneralStrange linking errorsmemberAlex Evans23:00 2 Oct '04  
GeneralSQL CE does install over SP3membertetsuo11910:38 23 Jun '04  
Generalplease elaborate !!memberdharani17:59 23 Mar '04  
GeneralRe: please elaborate !!sussAnonymous20:04 23 Mar '04  
GeneralSQLCE will not install over SP3...memberJoão Paulo Figueira12:07 15 Sep '03  
GeneralRe: SQLCE will not install over SP3...memberDoophus12:12 15 Sep '03  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 13 Sep 2003
Editor: Nishant Sivakumar
Copyright 2003 by Garth Tissington
Everything else Copyright © CodeProject, 1999-2008
Web10 | Advertise on the Code Project