Top "Mdf" questions

Master Database File (.MDF) is the starting point of a SQL Server database.

IIS: Connecting to .mdf database - web config problem

Locally I connect to Northwind.mdf but when I upload application to remote server then I get following error: A …

asp.net sql-server iis mdf
SQL Server 2008 Express Edition file size limitation problem

The SQL Server error I encounter as below: Could not allocate space for object 'dbo.xxx'.'PK_xxx' in database …

sql-server-2008 filesize mdf
Any way to quickly tell which database, if any, is attached to a .mdf file?

Assume SQL Server 2005 / 2008 with a large number of databases. Is there any way to quickly tell which database, if any, …

sql sql-server sql-server-2005 sql-server-2008 mdf
How do I fix "incorrect syntax near GO" errors in scripts generated with Microsoft's Database Publishing Wizard?

I've been searching for a "definitive" solution to this for a couple of hours now and can't find out exactly …

database visual-studio-2010 mdf databasepublishingwizard
How can I create .MDF file based on existing Database in SQL Server?

I have a database which is sitting on my local PC. I want to create a .mdf file based on …

sql visual-studio-2012 sql-server-2012 mdf
SQL join Query Between Two Different Database File

I am creating a Windows application which have two SQL Server databases. One is in application/startup path and other …

sql-server vb.net mdf
ExecuteNonQuery() not saving any record

I'm working a WinForms based C# tool which has an attached MDF file based database. I'm trying to use the …

c# database sqlcommand mdf executenonquery
Copying .mdf file from app_data folder to default localhost folder

My friend gave me a database file: record.mdf. I copied that .mdf file to my app_data folder and …

sql-server mdf
how to convert Mdf/ldf database files to .bak file (db restore) using T-SQL or .net code

I have sql server database files (Mdf/Ldf) and i want to convert them to backup file using T-SQL commands …

sql-server database-restore mdf ldf
How do you setup a database and connect to it using Razor web pages in Visual Studio?

I've looked and looked but could not come up with a working solution. As an intermediate with C# and decent …

c# asp.net razor visual-studio-2015 mdf