how to move a database file from one drive to another drive and make it working.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • holyskylark58
    New Member
    • Mar 2010
    • 11

    how to move a database file from one drive to another drive and make it working.

    i have made my vb.net project in the C: i have used sql server 2005 for my database.
    now i cut paste my project folder into D: but there i can not attach the database because it says that already in the C: the same database exits so this database in the D: can not be attached.
    but actually there is no such database in the C: as i have CUT PASTE it.
    plzz help me to solve this problem.
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    Movement of database is not as simple as cut-and-paste and could depend on a lot of factors. Your VB project could be anywhere, but your DB could still be in Drive C.

    If you need to move the database, move it separately from your project.

    Happy Coding!!!

    ~~ CK

    Comment

    Working...