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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:37:12+00:00 2026-05-24T01:37:12+00:00

I have an ASP.NET project under development with my team. and I want to

  • 0

I have an ASP.NET project under development with my team. and I want to create a database and share with with my teammates . So that they can make edits (Add table etc). When I open the database thats in the project It give me the following error.

One or more files do not match the primary file of the database. If you are attempting to attach a database, retry the operation with the correct files. If this is an existing database, the file may be corrupted and should be restored from a backup.
An attempt to attach an auto-named database for file xxxx.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

Please help whats wrong!

at the end of the day, I want a database to share it with a team (or even better I want to host a database somewhere so that all of us can connect to it for FREE)

Please Help!.

Thank you for your time.

  • 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-24T01:37:12+00:00Added an answer on May 24, 2026 at 1:37 am

    If you want to share a database, it’s better if you create DB project form Visual Studio templates so you can have project that contain all your database objects as files, and by compare your project with your local DB you can merge the change from the DB to the project or from the project to the DB you can also create script for the data that should be exist in the DB and this script can run after deploy your DB project.

    So here the scenario,
    You create a local DB, and you create some tables
    You create DB project inside your solution
    You compare the DB with your DB project
    You write the update of the compare which is some tables files
    You check-in DB in TFS

    Other developer Check-out the solution including DB project
    Compare the DB project with local DB
    Write update to the local DB
    Now the other developer has the same DB

    Thanks
    M.Radwan

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

Sidebar

Related Questions

I have a rather complex legacy ASP.Net application that is under continuous development, and
I have ASP.Net MVC project. Plus wordpress blog under a subfolder /Blog. Now, when
I have an ASP.NET project connecting to a database. A web page sends a
I have an ASP.NET project that contains many classes. I am thinking about creating
I have an ASP.NET project which is a front-end to a database. In addition
I have an ASP.Net project using AJAX that I am putting on a server
We have an asp.net c# web site in team foundation server. Our project includes
I have a bizarre routing issue with my ASP.NET MVC project that I hope
IN my asp.net MVC4 project I have few .cs files under the app_start folder
I have an asp.net project, I created three folders under the root. The folder

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.