Questions tagged [mdf]

Master Database File (.MDF) is the starting point of a SQL Server database. It is the primary data file and also points to the other files in the database.

See the Wikipedia article on Microsoft SQL Server.

Related Tags:

429 questions
0
votes
1 answer

How can I read a .mdf file generated by Snap Survey software using C#?

I have several .mdf files from Snap Survey (v10.0 or lower) but could not open them by SSMS or any .mdf viewer softwares.
Thanh Nguyen
  • 712
  • 6
  • 5
0
votes
2 answers

How to attach my database file .mdf into my local SQL from the LAN network

I want to attach my .mdf file into my local sql from the other computer but sql throw the exception: Directory lookup for the file "\DATA\SAGOHANO-Server\SQL\SaGoHaNo.mdf" failed with the operating system error 5(Access is denied.). my code…
0
votes
1 answer

how to use phpmyadmin database in visual studio 2010?

I have my database in phpmyadmin. Now I have to use that database in SQL server database. But I cannot import .SQL file into visual studio 2010. So please give me a solution so that I can use that database and perform CRUD operation also.
Jaimin
  • 171
  • 1
  • 1
  • 11
0
votes
1 answer

LocalDB 2016 v13 on 32 bits computer

Is there a 32 bits installer for LocalDB 2016? Because I can't find it. https://www.microsoft.com/en-us/download/details.aspx?id=52679 My problem is that I have an application with a MDF that Visual Studio keeps telling to update from v12 (2014) to…
bdominguez
  • 111
  • 1
  • 1
  • 3
0
votes
1 answer

old mdf file vs newer versions of sql server express

I have an old mdf file originating from sql server express 2005. I want to port/run my old project on my Win 7 SP1 64-bit machine. I don't have any version of SQL server express installed yet. Should I go for the oldest version of SQL server…
0
votes
1 answer

Running a compiled application with a .mdf database file on another computer

I received a visual C# application which I have to put on other computers. The application was provided to me as a folder of compiled files (no installer file). I noticed it contains a .mdf file which, as I've read, is a localdb database file. I…
TheAptKid
  • 1,559
  • 3
  • 25
  • 47
0
votes
0 answers

Could not copy the file ADS.mdf" because it was not found

I am new to programming. Currently, I am working on a project. When I am trying to build the project, its giving me the following errors. Any help/ suggestion would be highly appreciated. Thanks. Severity Code Description Project File Line…
0
votes
1 answer

failure of the underlying provider of open on connecting to .mdf file

i'm tring to publish my desktop application (Winform application) that i used SQL SERVER 2008 on development. So befor set a setup project to my application i create an "App_Data" folder on my application and copy the .mdf file on it then i modifier…
Mokhtar_Nebli
  • 93
  • 1
  • 3
  • 12
0
votes
1 answer

Opening a mdf file in matlab

I used to use tool to convert those mdf files to .mat, but apparenlty the developer hasn't updated it. It does not work any more. Is there any other tool with which i can convert to .mat file or directly load and open the .mdf file? error: …
Aashu10
  • 49
  • 10
0
votes
0 answers

C# data not saving to internal mdf database

I am using an internal .mdf database that I want to store data that I am reading from a CSV and displaying into a data grid view. I have tried everything and cannot get the database to update properly. The data reads properly into the datagridview…
chris clifton
  • 133
  • 1
  • 13
0
votes
2 answers

set sql database name with an alphanumeric phrase - C#

I'm trying to make a simple thing but it has become difficult as I do not understand why I proves a mistake like that, I'll explain , I would like to set the database name as well : "FD65F10A-0F6F-487C-A5E4-18A783DC18AE" (PID variable) But if I…
Mr. Developer
  • 3,295
  • 7
  • 43
  • 110
0
votes
2 answers

What's the difference between a SQL Server database FILE and an actual SQL Server database in ASP.NET?

Well, the subject heading essentially says it all: what's the difference between a SQL Server database file (.mdf) and an actual SQL Server database? Also, a couple of follow-up questions: Do database files exist for both SQL Server 2008 Express…
Major Productions
  • 5,914
  • 13
  • 70
  • 149
0
votes
2 answers

Why is my table not being created?

I've got this code in my Winforms app to create a table in an existing database, (which I created by following what is written here): private void CreateTables() { string connStr = @"Data Source= …
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
0
votes
0 answers

Using local SQL Server Database vs Access with Excel Addin

I have an Excel addin which reads/writes from/to a MS access db that is installed on the user's local machine. So each user that installs the addin also needs their own stand alone Access db as well. I'd like to do this with a SQL server db instead.…
ptownbro
  • 1,240
  • 3
  • 26
  • 44
0
votes
0 answers

Delete row from SQL Server database, C#

I want to Delete Rows from a Database which is stored in a .mdf in a C#-Controller URLDatabaseEntities _db = new URLDatabaseEntities(); _db. How can I do this?
B5-NDDT
  • 177
  • 2
  • 14