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

  • SEARCH
  • Home
  • 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 7440425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:50:58+00:00 2026-05-29T10:50:58+00:00

I have one solution in VS2010 containing two MVC 3 projects. These are two

  • 0

I have one solution in VS2010 containing two MVC 3 projects. These are two distinct applications that must act on the same data, so I need my database to be shared between these projects.

I would like to use SQL CE 4, but since it is an in-memory, local database, I could not figure out a way to make it available for two different projects. All tutorials I’ve come across so far suggest that you place your SDF file in the App_Data folder, which won’t work out for my case.

Have any of you managed to do that yet?

Thanks in advance!

  • 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-29T10:50:59+00:00Added an answer on May 29, 2026 at 10:50 am

    While it is possible (read: Hardlinks) to make a SQL CE database available to two apps, it is not a good idea, if even one of them writes. To make that clear: N readers work, N readers + 1 Writer do not work (bad reads, random crashes). N writers for N>1 results in a corrupted file.

    The typical way round that is to make the file belong to one app, and make this app expose some IPC or REST API, that the other app consumes.

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

Sidebar

Related Questions

Greetings! I have a solution in VS2010 that defines 3-4 individual applications. These 3-4
In VS2010 I have two MVC 2 based web apps within the same solution
I have wrote an application that consists of two projects in a solution, each
So I have a VS 2010 solution containing one ASP.NET MVC 3 project and
I have a big VS2010 solution, which contains a bunch of C# projects. One
I have a C# solution in VS2010 that contains three projects. This solution has
I have several web application projects in one solution. When I start debugging one
I have a webapp development problem that I've developed one solution for, but am
I have a Class Library project and MVC project in the one solution. My
I'm working in VS 2008 and have three projects in one solution. I'm debugging

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.