How to recover a SQL Server database after a crash

Ask a Question related to Microsoft SQL / MS SQL Server, Design and Development.

  1. #1

    Default How to recover a SQL Server database after a crash

    Hi,

    I had my Windows 2000 crashed and after that I reinstalled windows, sql
    server etc. after taking backup of all mdf ( and no ldfs by mistake).

    Now when I try to restore it, it says,
    --------
    Could not open new database 'kothari1'. CREATE DATABASE is aborted.
    Device activation error. The physical file name 'D:\Program Files\Microsoft
    SQL Server\MSSQL\data\Kothari_log.LDF' may be incorrect.
    --------

    Any help please - I do not have ANY backup of this database :(

    Thanks

    Amit


    Amit Basu Guest

  2. Similar Questions and Discussions

    1. #40473 [NEW]: Crash with SQL database
      From: william91 at hgcbroadband dot com Operating system: Windows 98 SE PHP version: 4.4.4 PHP Bug Type: MySQL related Bug...
    2. InDesign CS CE non-stop CRASH, CRASH, CRASH, CRASH, CRASH, CRASH
      Sofware is orig., and OS is win2000 pro, or 2003 server or win2000 server. Any doc with litle more text crash indesign non-stop. With any updates...
    3. Need Help to recover from hdisk9 crash on AIX - RS/6000
      Hi, We are having a problem with a hard disk on our RS/6000 (AIX 4.3). One of the hard disks is giving an I/O Error. Never having faced such...
    4. Recover Database from existing Containers
      Hi, Silly me just killed a Database by removing the Database Directory itself ($INSTANCEHOME/db2inst/NODE0000/SQL0001, or whatever). I dont have...
    5. How to recover EFS certificate after hard crash
      My XP/Pro system bit the dust so I installed new processor and motherboard. System would not boot so I used the XP recovery function on the OEM...
  3. #2

    Default Re: How to recover a SQL Server database after a crash

    See if you can use

    sp_attach_db OR
    sp_attach_single_file_db

    --


    Allan Mitchell (Microsoft SQL Server MVP)
    MCSE,MCDBA
    [url]www.SQLDTS.com[/url]
    I support PASS - the definitive, global community
    for SQL Server professionals - [url]http://www.sqlpass.org[/url]

    "Amit Basu" <amit@winruler.com> wrote in message
    news:OHKSpDSRDHA.3768@tk2msftngp13.phx.gbl...
    > Hi,
    >
    > I had my Windows 2000 crashed and after that I reinstalled windows, sql
    > server etc. after taking backup of all mdf ( and no ldfs by mistake).
    >
    > Now when I try to restore it, it says,
    > --------
    > Could not open new database 'kothari1'. CREATE DATABASE is aborted.
    > Device activation error. The physical file name 'D:\Program
    Files\Microsoft
    > SQL Server\MSSQL\data\Kothari_log.LDF' may be incorrect.
    > --------
    >
    > Any help please - I do not have ANY backup of this database :(
    >
    > Thanks
    >
    > Amit
    >
    >

    Allan Mitchell Guest

  4. #3

    Default Re: How to recover a SQL Server database after a crash

    Couple days ago I was at the I-net and perceived there an unusual tool, which to my great surprise aided me quite easy. But it moreover the application showed me some interesting features - how to recover sql database.
    zlatan24 is offline Junior Member
    Join Date
    Sep 2010
    Location
    New York
    Posts
    6

  5. #4

    Default Re: How to recover a SQL Server database after a crash

    I prefer to choose one reliable tool to backup database. Like easeus todo backup advanced server. Database is so important. I don't want to be trapped in the trouble when them crash.
    lapwlover is offline Junior Member
    Join Date
    Aug 2011
    Location
    China
    Posts
    1

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139