Results 1 to 7 of 7

Thread: [02/03] [2005] How can I Attach the database during the deployment of my WebSite

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2007
    Posts
    530

    [02/03] [2005] How can I Attach the database during the deployment of my WebSite

    Hello ,

    I need to attach my Database during the Deployement
    I am using a sql server 2000 database

    i am connecting to the sql database using

    Data Source=(local);Database=myBase


    Thanks !

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] [2005] How can I Attach the database during the deployment of my WebSite

    Explain 'attach', are you using an MDF? And are you deploying to a web host that isn't under your complete control?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2007
    Posts
    530

    Re: [02/03] [2005] How can I Attach the database during the deployment of my WebSite

    I am using a local sql server 2000 database
    when i go to deploy my WebSite
    I found WebSite1.msi & Setup.ini & Setup.exe

    but the database is not there

    how can i add the database ?

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2007
    Posts
    530

    Re: [02/03] [2005] How can I Attach the database during the deployment of my WebSite

    does the appSettings anything to do with this ?

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] [2005] How can I Attach the database during the deployment of my WebSite

    Use Sql Server Management Studio and generate a script for your database, then run it against the target database. Or, take a backup of your local database and restore it against the live database.

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2007
    Posts
    530

    Re: [02/03] [2005] How can I Attach the database during the deployment of my WebSite

    Quote Originally Posted by mendhak
    Use Sql Server Management Studio and generate a script for your database, then run it against the target database. Or, take a backup of your local database and restore it against the live database.
    hi mendhak ,

    dont know exactly what do you mean

    can i copy the database from SQL server 2000 during the deployement ?

    Thanks !

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] [2005] How can I Attach the database during the deployment of my WebSite

    I'll try to make it clearer. Are you deploying to a web host or to a remote machine that you have full control over?

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