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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:05:47+00:00 2026-05-28T13:05:47+00:00

I added an .mdf file through Visual Studio. I am trying to attach it

  • 0
  1. I added an .mdf file through Visual Studio. I am trying to attach it to SSMS but it gives error. How to attach it? Do I always need to create them through SSMS?

  2. I created an .mdf through SSMS and the physical path was of my DataDirectory of my application. It is running fine. Now I need to make Setup of this application.

    a) Am I supposed to add this database to my setup project? If yes, does my user need to attach it manually to the instance of SQL Server? My connection string uses MyServer\SQLExpress

    b) I tried to add this database to setup project but it says you need administrator rights for this. What is that? How to set it up? I am already using computer with administrator rights.

Please reply as I have put up the questions point wise.

Thanks a lot.

  • 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-28T13:05:48+00:00Added an answer on May 28, 2026 at 1:05 pm

    Issue resolved….. There was a version conflict.
    Thanks every body.

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

Sidebar

Related Questions

I've created a new project in VS2008, and added a .MDF file to the
I have Visual Studio 2008 and ASP.NET MVC2 project. To App_data folder I added
I've added a new MDF file to a .NET4.0 class library project, created a
I'm using Visual Studio 2005. I create a project, not Web Project, just Windows
EDIT - added .h file I'm having difficulty trying to find the cause of
I added a text file to a testapp's solution and I want to read
I added the columns in the select list to the order by list, but
I added the following line to .gitignore : sites/default/settings.php but when I type git
I added two submodules to my vim repository, and the git status command always
I am using SQL Server 2008 and I have a database file (mydata.mdf) in

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.