1

I have developed a c# software project which used MSSQL .mdf database. Actually at development time I connected my application logic from the SQL Server Administrator.

My Specific Question is:

How can I deploy the application on to another computer without installing the SQL Server management Studio, just access the .mdf database only?

The current development connection string is:

<add name="LocalString" connectionString="server=(local); Database=MYDB; user id=xxx;password=xxxxx"
            providerName="System.Data.SqlClient" />

Note that I am using App.Config connection string for entire system.

Nur Selam
  • 451
  • 1
  • 4
  • 14
  • possible duplicate of [Add \*.mdf file to C# Project](http://stackoverflow.com/questions/5821864/add-mdf-file-to-c-sharp-project) – netaholic Sep 04 '15 at 08:09
  • [I don't think it is possible to interact with an MDF file without going through a SQL Server engine](http://stackoverflow.com/a/10366632/3796048) will help you – Mohit S Sep 04 '15 at 08:09
  • 2
    I don't think it's possibile to interact with a mdf-database without a sql-server engine. For SQL Server 2012 you can download the SqlLocalDb runtime. – Matthias Burger Sep 04 '15 at 08:11

0 Answers0