Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 520277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:07:43+00:00 2026-05-13T08:07:43+00:00

I am trying to use SQL Server Compact Edition 3.5 as a database backend

  • 0

I am trying to use SQL Server Compact Edition 3.5 as a database backend for a sales application. There would be 3-4 installations of a Windows Forms application which would all (via LINQ2SQL) read from and write to one .sdf file located on a network share.

My (pretty inextensive) testing has shown that this could be viable. Documentation states that SQL Server CE supports up to 256 connections. Does SQL Server CE even lock its rows? Are there other concurrency issues that I should worry about?

Bottom line is, has anyone used SQL Server CE successfully with multiple applications connecting to same database?

Should I spare myself future headaches and go with SQL Server Express?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:07:43+00:00Added an answer on May 13, 2026 at 8:07 am

    MS recommends (from Darian Miller’s comparison guide):

    When you require data service
    functionality, such as the ability to
    support multiple, remote users, you
    should start with SQL Server Express
    Edition and work up the data service
    family tree.

    the runtime supports concurrency on the same machine, not sure about multiple machines accessing the file. in the case the file is stored over a network share, that may not fit the optimal performance profile for ce. i would say go with EE, it’s a snap to install with a simple msi.

    SSCE Concurrency:

    SSCE allows multiple connections to
    the same database (.sdf file) from the
    same application or even multiple
    applications on the same computer.
    This gives you more freedom to
    structure your application as needed,
    such as allowing the user to continue
    to interact with data while performing
    synchronization with a back-end
    database, or to have multiple
    applications on the same machine share
    an SSCE data store. Transactional
    concurrency locks are made by the
    database engine to prevent concurrent
    connections from accessing the same
    records at the same time. The
    technical limit on concurrent
    connections for a single database is
    256, but 70-80 is a better practical
    limit from a performance perspective.

    http://technet.microsoft.com/en-us/library/bb380177%28SQL.90%29.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 262k
  • Answers 262k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You are putting the objective c++ code in a .mm… May 13, 2026 at 11:49 am
  • Editorial Team
    Editorial Team added an answer Assuming your data source looks something like this: public class… May 13, 2026 at 11:49 am
  • Editorial Team
    Editorial Team added an answer Don't use a list comprehension. List comprehensions are for when… May 13, 2026 at 11:49 am

Related Questions

I am using LINQ to SQL with Sql Server Compact Edition 3.5 and VS2008.
I am trying to optimize some stored procedures on a SQL Server 2000 database
I am trying to choose between postgre and firebird databasses. The database will be
In contrast to my previous question , i'll try to give my requirements. I
I am trying to use a SQL Server 2008 Ranking Function on a query

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.