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 4622284
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:49:18+00:00 2026-05-22T02:49:18+00:00

I have seen this question asked previously but can not find a clear explanation

  • 0

I have seen this question asked previously but can not find a clear explanation of what is/isn’t possible and what workarounds migth be available.

I have an existing C# application that uses SQL CE to store local information. This database is only accessed by a single application and is stored in the user’s appdata folder.

Some environments have the appdata folder redirected to a network share which causes SQL CE to throw an exception: “Internal error: Cannot open the shared memory region.”

I have read that SQL CE 3.5 SP2 is supposed to allow connections to network shares again, and that SP1 does not, however I have not been able to get it to work. Has anybody had any success getting any version of SQL CE to work over a network share? And if so, what version/code did you use to get it to work?

I have tried using mode=Exclusive in the connection string with no luck.

Or alternatively, has anybody found a different workaround? The data needs to be stored in the user’s profile as it is specific per user and should not be accessible by any other user on the system.

  • 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-22T02:49:19+00:00Added an answer on May 22, 2026 at 2:49 am

    I updated the application to use SQL Express with local user instances which worked, but it created too many deployment issues for our customers. I ended up having to write a layer to use Access MDBs while we look at different database options.

    My suggestion for writing desktop applications is DO NOT use SQL express or SQL CE for local storage.

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

Sidebar

Related Questions

I have seen this question asked here a few times, but most question didn't
Now I have seen this question in another forum but it didn't had an
I have seen this macro defined before but never really knew its purpose. Can
I have seen this mentioned a few times and I am not clear on
I have seen this question asked in a couple of different ways on SO
I've seen this question asked numerous times and have gone over my code over
I feel like I've seen this question asked before, but neither the SO search
While I have seen this question asked, I haven't seen the answer. I just
I've seen this question asked before but it seems that the answer may be
I have seen this question: How to keep WPF TextBox selection when not focused?

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.