Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Cannot copy DBFile: It is being used by another person or program??

Cannot copy DBFile: It is being used by another person or program??

Scheduled Pinned Locked Moved ASP.NET
databasequestionsql-serversysadminhelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nada Adel
    wrote on last edited by
    #1

    How can I get rid of this message when I try to copy a database file that runs on sql server 2000?? I searched and I found that if I used ctrl alt delete and ended the sql server processes, I should copy the file but the problem is that I need to copy these files from a server so I'm afraid if I ended these processes, users of the wesite site including the database might lose data..How can I solve this?

    N P 2 Replies Last reply
    0
    • N Nada Adel

      How can I get rid of this message when I try to copy a database file that runs on sql server 2000?? I searched and I found that if I used ctrl alt delete and ended the sql server processes, I should copy the file but the problem is that I need to copy these files from a server so I'm afraid if I ended these processes, users of the wesite site including the database might lose data..How can I solve this?

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Yeah, if you stop SQL service instance, users accessing it will get error. Why don't you take a backup of the database ?

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      N 1 Reply Last reply
      0
      • N N a v a n e e t h

        Yeah, if you stop SQL service instance, users accessing it will get error. Why don't you take a backup of the database ?

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

        N Offline
        N Offline
        Nada Adel
        wrote on last edited by
        #3

        yes, I need to know how can I take a backup of the database and save it on another computer and then access it from another computer??

        1 Reply Last reply
        0
        • N Nada Adel

          How can I get rid of this message when I try to copy a database file that runs on sql server 2000?? I searched and I found that if I used ctrl alt delete and ended the sql server processes, I should copy the file but the problem is that I need to copy these files from a server so I'm afraid if I ended these processes, users of the wesite site including the database might lose data..How can I solve this?

          P Offline
          P Offline
          pradeep kumarappagari
          wrote on last edited by
          #4

          stop sqlserver first and then u copy dbfile in some other place. with out stoping sqlserver u can not copy .mdf and .ldf files.

          Pradeep Reddy

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups