Results 1 to 5 of 5

Thread: Deploy VB.net 2008 application that uses sql server

  1. #1

    Thread Starter
    PowerPoster Nitesh's Avatar
    Join Date
    Mar 2007
    Location
    Death Valley
    Posts
    2,556

    Deploy VB.net 2008 application that uses sql server

    Hi Guys,

    I am currently working on a vb.net app that uses sql server as the database.

    at the moment i have just set it up on my clients laptop. so I installed sql server 2005 and the .Net framework 3.5 and my app.

    now my client says he wants to sell the software to other countries. what I want to know is,

    since I won't be able to configure and install sql server in other countries how can I go about this deployment.

    he would like it all on one cd and it should be able to run straight out the box without me setting up databases etc.

    my confusion is, if someone is instaliing and they already have sql server om, how do i add my database to it.

    and if they dont have sql server how do i handle the situation? please advise

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Deploy VB.net 2008 application that uses sql server

    You can't send SQL Server on your CD (at least not the full version) the client would need to buy that. You can have a pre-req that SQL Express is required and if not present then the installer will put it in place. Next you can have your installer call to SQLCMD after the install of SQL Express (or if full version is present after its install) to create database and all tables.

    I also use Red Gate SQL Packager which can create a database and fill it with the basic structure for you. The generates an exe that will be run.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  3. #3

    Thread Starter
    PowerPoster Nitesh's Avatar
    Join Date
    Mar 2007
    Location
    Death Valley
    Posts
    2,556

    Re: Deploy VB.net 2008 application that uses sql server

    thanks Gary. I read your post and looked up REd Gate SQL Packager. unfortunately it costs quite a bit

    Next you can have your installer call to SQLCMD after the install of SQL Express (or if full version is present after its install) to create database and all tables.
    if i go this route, how will it work. because when you install sql express you have to set things like password for the sa logon.

  4. #4
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Deploy VB.net 2008 application that uses sql server

    You script all that. You will need to perform a bunch of scripting for Express. By default it is not setup to allow remote connections, you will need to script that also.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  5. #5

    Thread Starter
    PowerPoster Nitesh's Avatar
    Join Date
    Mar 2007
    Location
    Death Valley
    Posts
    2,556

    Re: Deploy VB.net 2008 application that uses sql server

    thanks Gary. will do some more research.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width