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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:26:39+00:00 2026-06-05T21:26:39+00:00

I have an existing database(myDatabse) that I created with Microsoft Sql Managenent studio and

  • 0

I have an existing database(myDatabse) that I created with Microsoft Sql Managenent studio and want to add the myDatabse.mdf file as an existing item(with Visual web Developer express edition)

but get the error message “the file cannot be opened because it is using another process. …”

In my view it is not open or being used and adding a .mdb file didn’t give any problems.

Is there another why one should(can) add the database to the App_data folder so that one can establish a connection to the database.

regards

  • 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-06-05T21:26:41+00:00Added an answer on June 5, 2026 at 9:26 pm

    Generally the running sql server service(s) do not allow to copy database files. To copy .mdf file, detach the database:

    1. Open SQL Server Management Studio
    2. Expand Databases
    3. Right-click on your database > point to Tasks > select Detach > click OK
    4. Manually add the file to App_Folder
    5. After copying, go to Management Studio right-click on Databases > Attach > specify database > click Add
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing SQL Server 2005 database that runs our accounting/inventory application. We
I have an SQL 2008 database project in Visual Studio 2010 that is sync'ed
I have an existing database based on SQLiteOpenHelper that has several versions and code
I have an existing SQL Server database, where I store data from large specific
I have an existing database. It has 1 non-default user (that is Without Login),
I have an existing database that I am now connecting to using hibernate. I
I have an existing database with several rows that violate a foreign key constraint.
I have an existing database structure created outside or Rails. I've edited one of
I have an existing database that was setup (for whatever reason??) to store a
I have existing project in Visual Studio 2010, ASP.NET MVC 3 with existing database

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.