How to deploy an app with a sqlexpress db along with it?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sherifffruitfly

    How to deploy an app with a sqlexpress db along with it?

    Hi all,

    I made a c# app that includes a sqlexpress database. I can't seem to
    find the mdf file though, so I'm wondering exactly how/whether I can
    give the app to my friend to use/test. Will the db be created on the
    fly when my friend runs the app?
  • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

    #2
    Re: How to deploy an app with a sqlexpress db along with it?

    sherifffruitfly wrote:
    I made a c# app that includes a sqlexpress database. I can't seem to
    find the mdf file though, so I'm wondering exactly how/whether I can
    give the app to my friend to use/test. Will the db be created on the
    fly when my friend runs the app?
    It is not the SQLServer Express way but I prefer the oldfashioned way:
    - you distribute app, SQL script and config template
    - the customer creates tables by running the SQL scripts in their
    database and they modify the config file to point to their database

    Alternatively look at the SQLServer Compact.

    Arne

    Comment

    Working...