Ssd died with wife's data on it only able to salvage ,mdf file - Save a man's life ... how do I restore / attach / recreate log file - no permissions on new drive

         My wife asked me if I could create a VB program for her - load her data onto SQL Server to test her for some medical exams. Since I have been "playing" with both Visual Studio and SQL for over 10
years, I said sure. Copied her Excel file, transferred the data to SQL and started "playing".
       Play time ended abruptly the other day when my Solid State Drive died. I was only able to salvage the .MDF off the disk. Lost the log file and lost the Excel file. Yes, for all of my databases I had regularly scheduled
backups to another disk. I hadn't set that up for hers yet, thinking that the data was available on another computer altogether.
       No big deal, right? Just get the original Excel file back from the wife("Offsite backup") and reload the data from Excel. Problem ... she deleted the file 2 months ago thinking I had the data, and there is no
recovery as the sectors where that data was located on her hard disk have since been overwritten.
      As to my situation: I told here that things were "going fine" and that I just had a couple more things to recover and we would be back up in business. Thinking that Dangling from a bar over a tank of great whites
with a freshly cut hand might be preferable to telling her that I just fried over 300 hours of her hard to come by, time, by assuming the data was safe.
       From what I can tell, the .MDF file is intact. I have nothing else, and that was attached to a database on what was essentially another computer. Yes, I "Assumed" I had good backups. Yes, I have learned my lesson.
Please save a man's life and help me out.

                   I had my disk die with the only copy of my wife’s medical “Question and Answer”
(Q_And_A)  database on it. She thought it was safe and sound on my computer, and I thought we had an “Off site” backup of the data on hers and hadn’t set up backup for it.
1.)  
The bad things are, only the .mdf file was intact.
2.)  
All of the permissions based on the old copy of Windows 7 and SQL 2005 or 2008 ( I am not sure which the .mdf was created in.) have gone the way of the dodo.
       Bought a new disk. Reloaded windows 7 64 bit. Loaded SQL 2014 (Thought now was a good time to upgrade.) Problem
… so far I have not been able to attach and recreate the log file …
          Just to finish up the data I have, the database was closed properly and is NOT in a read
only state according to file properties. That said, I still don’t have a solution.
 So far I tried these three sets of commands:
CREATE DATABASE
Q_And_A
ON
(FILENAME
=
N'E:\Mikes 128GB\SQL2014\MSSQL12.SQL2014\MSSQL\DATA\Q_And_A.mdf')
FOR
ATTACH_REBUILD_LOG
GO
And this set of commands:
CREATE DATABASE
Q_And_A
ON
FILENAME
=
N'E:\Mikes 128GB\SQL2014\MSSQL12.SQL2014\MSSQL\DATA\Q_And_A.mdf')
FOR
ATTACH
GO
EXEC
sp_attach_single_file_db
@dbname='Q_And_A', @physname=N'E:\Mikes 128GB\SQL2014\MSSQL12.SQL2014\MSSQL\DATA\Q_And_A.mdf'
GO
         So far this is the computer’s reply to everything I have thrown at it. I haven’t told my wife that 600 hours
of her work is inaccessible, and I would really rather not do so. Anything anyone can offer would be great.
File activation failure. The physical file name "E:\Mikes 128GB\SQL2014\MSSQL12.SQL2014\MSSQL\DATA\Q_And_A_log.ldf" may be incorrect.
The log cannot be rebuilt because there were open transactions/users when the database was shutdown, no checkpoint occurred to the database, or the database
was read-only. This error could occur if the transaction log file was manually deleted or lost due to a hardware or environment failure.
Msg 1813, Level 16, State 2, Line 1
Could not open new database 'Q_And_A'. CREATE DATABASE is aborted.
          Is there anything else anyone out there can offer as help? My wife has often said that
she doesn’t believe in divorce. But murder she will consider. If she loses 600 hours of her data this could be my last post. I am joking … I think … That said, any help is extremely welcome. Thanks in advance.

Similar Messages

  • I just put a solid state hard drive in my mac book pro and used super duper to copy the hard drive and move the data over to thew new ssd, but most of my music isn't in iTunes when I turned it on? How do I get my music to show up in my new drive?

    I just put a solid state hard drive in my mac book pro and used super duper to copy the hard drive and move the data over to thew new ssd, but most of my music isn't in iTunes when I turned it on? How do I get my music to show up in my new drive?

    Many thanks lllaass,
    The Touch Copy third party software for PC's is the way to go it seems and although the demo is free, if you have over 100 songs then it costs £15 to buy the software which seems not a lot to pay for peace of mind. and restoring your iTunes library back to how it was.
    Cheers
    http://www.wideanglesoftware.com/touchcopy/index.php?gclid=CODH8dK46bsCFUbKtAod8 VcAQg

  • Hi, I live in the UK and have an ipad2 with wifi (no 3G). I plan to visit Canada in the summer and want to know how i can access the internet while i'm away e.g. can i purchase a 3G attachment that will give me access on a pay as you go basis. Thanks.

    Hi, I live in the UK and have an ipad2 with wifi (no 3G). I plan to visit Canada in the summer and want to know how i can access the internet while i'm away e.g. can i purchase a 3G attachment that will give me access on a pay as you go basis. Thanks.

    You can get Mifi devices (the iPad connects to it via wifi and they then give access to 3G networks). I've never used one and I don't know if they are available in Canada (and if so how much they would cost). If you have an iPhone then you could also use that as a mobile hotspot

  • HT1382 how can I restore my back up files from my laptop? i want to see the dates and time that I backed up  my files. is it posssible?

    how can I restore my back up files from my laptop? i want to see the dates and time that I backed up  my files. is it posssible?

    What backed up files?
    Available backups for an iOS device can be found in Edit > Preferences > Devices.

  • My old computer with all of my pictures and music that I didn't buy on iTunes got stolen. How can I transfer my media from my iPhone to my new computer without losing it?

    My old computer with all of my pictures and music that I didn't buy on iTunes got stolen. How can I transfer my media from my iPhone to my new computer without losing it?

    Third-party software, like this:
    http://www.wideanglesoftware.com/touchcopy/index.php

  • I attempted to move my iTunes library so that I can share it with the other accounts on my computer. Now it won't play on any account.  How do I restore locations without losing all my songs etc?

    I was following directions on a mac board on how to share my iTunes library with my kids accounts on my computer. I must have not followed the directions correctly, as now I can not listen to any music on any account including the admin.  I don't remember where I got the instructions or what I did to reverse the things that I moved.  How do I restore my ability to listen to all the music that I have without re-aquiring it? 
    And then how do I get it so that I can share with the other accounts on my computer?
    thanks

    Without knowing what changes you made it's impossible to say what you can do to fix it, but I would suggest checking two things in the Preferences menu:  first, under the Parental Controls, make sure you haven't disabled any of the areas that won't play; second, go into the Sharing area and uncheck the "Share library on my local network" box, then go back to the main library and see if the songs will play.

  • How can I restore an unsaved pages file lost upon laptop dying? Time machine not activated.

    Hi,
    My laptop died and when it restarted all the documents that were open with pages, except for an essay reopened upon start up. I need to find this essay immediately. I am willing to pay for an app or some other means as long as I'm guranteed it will work? I am not that into computers and technology so I did not have time machine active as I've only really heard about it since trying to locate the file.

    Until you have saved a document at least once, it exists only in memory. When your computer died, your file disappeared.
    Accept it as a learning experience and a reminder to save your documents immediately on opening them for the first time. That gives your Mac a name for the document and a location to save the file.
    Regards,
    Barry

  • HT4061 How do I restore my iphone 4? Whilst updating to new software my computer crashed. This has left me with a phone that won't respond at all and itunes says 'restore your phone'. I can't press anything without getting a picture of a usb. not useful.

    My computer crashed while updating my iphone 4.
    My phone now will not respond other than a USB symbol to itunes.
    When I plug into itunes it says 'reset your phone'.
    I've tried holding the on/off and home button together, nothing.
    On another note, it isn't possible to schedule into a shop in London until a week today. There is something seriously wrong with this picture.
    Any help would be awesome.
    Thanks

    1) ensure iTunes is authorized for your iTunes store account(s)
    2) connect your device and right-click or control-click it in the iTunes Source list, then choose transfer purchases from the shortcut menu that appears.
    3) sync the device
    iTunes will wipe the iPhone but, since you transferred your purchases in the previous step, your content will be in your library and you can re-populate the iPhone with it.
    above works for purchases from the iTunes store. for everything else, check out this post by Zevoneer.

  • How do I restore my backup (.wim files) after running HP System recovery on a G62 with windows 7

    I had to do a system restore after getting a blue screen and I backed up the files on my external drive. after restoring the system I tried to restore my files from my external with Recovery manager but it didn't see my external so I couldn't restore. I copied and pasted the backup folder on my g62 desktop and tried again with no results. As far as I can tell the restore was done because my free space on the g 62 decreased by the same size as the backup, but when I open the c:\ drive I can't see the transfer. these are .wim files and I even tried to call tech service (my warranty juse expired) and they were trying to sell me extended warranty for the next year to help me. the problem exist with HP if they had good programs that follow up what it was meant to do maybe Today I wouldn't be here looking for help. when I restored the system, recovery told me the it would install my backup, but nothing happened leaving me hanging.NEED HELP!!!!!!!!!!!!!!

    If you call AppleCare they will be more than willing to help you. Use the appropriate phone number on this page. Tell them you need a support related fulfillment - replacement disks. As shldr says there will be a small charge, but you will be able to install your system again.
    Best of luck.

  • No data on BlackBerry 10 even with a working data plan

    Hi,
    Q10, unlocked, 10.1.0.4181, Estonian SIM card with a working data plan, correctly set APN, a bunch of restarts, etc - still no data connectivity. With WiFi on, data works, BBM works, everything except for the App World (which is n/a here) works.
    Now. Where is the problem, and how do we solve it? I'm not going to be very keep on accepting answers like "lol you've just spent 650 EUR on a phone and a 10EUR/mo data plan with a 12 months contract which you can throw out of the window."
    Thank you kindly for your answers and suggestions.

    So, have you specifically asked your carrier about any of this, or are you operating purely on assumption? You see, it's entirely possible that your carrier has erroneously mis-provisioned something about your plan, and that's what is causing you to not have any services. It's also possible that you simply cannot have the services you desire on this carrier. But, as has been from the start here, only your carrier can answer these questions, for we have no visibility into anything beyond the words you provide us here -- and so far, all of those words indicate that you must have a discussion with your carrier, but for some reason you are refusing to do so...I really don't understand why you are so reluctant...
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Wife's Data Transferred to Administrative Account

    I just bought a new iMac 21". 1st time Mac user.
    When the Apple store did the data transfer from my old PC to my new Mac they transferred all my wife's data to the Mac.
    What I want to do is just change her account to a "user" and set my account up as the new administrator.
    My concerns with this is that all the Mac information is registration with her email address.
    Will this effect anything?
    Thanks for any help.
    Swampy16

    Will this effect anything?
    No.
    (50673)

  • PC Died with all my pictures on them

    My system died with all my data and information on it. The data I can recover, my pictures are what I can't recreate. The picture were synced to my Apple TV can i back them up off of the Apple TV or sync back into my new system?

    Welcome to the  Discussion Forums.
    Unfortunately recovering content from the tv is none to easy. If the pictures are valuable to you, you may consider being willing to void the warranty on the tv to get them back as recovery proceedures mean opening the device and removing the drive or hacking into it. If you are at all unsure about what to do, take the unit to a data recovery expert, preferably one with experience of macs.

  • Finding the record with the latest date

    Post Author: sconlon
    CA Forum: General
    Hi,I am using CR 8 with an Access database which has a table that holds (multiple) sales records for each of our clients. I want to create a report that lists only the latest sale from each client.  I am thinking that I first need to group by client and then create a sub-report that prints the necessary details of sales record with the latest date of sale.  It's this last bit that I cannot figure out how to do.  Can anyone suggest a way of doing this?Many thanks,sconlon

    Post Author: Jagan
    CA Forum: General
    Charliy's suggestion if fine, and does require sorting and displaying in the group header/footer according to the sort order. In case it's not clear, when you print in the group header you are using the first record's data; when you print in the group footer you are using the last record's data (first and last within the group that is).
    Personally, I'd group on the client have a group selection formula of:
    {table.date_field} = maximum({table.date_field}, {table.client_id})
    so that there's no date sort required as you'll only get one record per client group - assuming that each record has a unique date of course. I'd probably still suppress the details section and display in the group footer, but it wouldn't matter if you use the details section either.
    I believe the benefit with the group selection formula is that any summary formulas, running totals etc. you use would only have the one record per client to work on, rather than including all of the suppressed records too.

  • Create Account with Sales Area data

    Hi,
    Can we create new account in account identification in Interaction Cetner with Sales area data?
    We need to create accounts(Sold to party, customer, consumer) in the call center and subsequently service orders will be created for the new account.
    Regards,
    Shridhar
    Edited by: Shridhar Deshpande on May 31, 2011 3:52 AM

    Hi ,
    You can create the organisation information in CRM using transation ppoma_crm. Please take a look at this link for some more information
    http://help.sap.com/saphelp_crm50/helpdata/en/56/0d4e3cb7f4d83ee10000000a114084/frameset.htm
    Thanks & Regards ,
    Anita

  • IPod Touch very warm with wifi enabled?

    I noticed that with wifi enabled, my iPod Touch gets very warm to the, uh, touch. Also, battery life decreases significantly. Does this not happen for anyone out there? I can't tell if this is a defect or if this should be expected. I wonder if the device can overheat.

    WiFi is very demanding on battery life regardless if it is a phone, computer or even the iPod. Be sure to turn it off if you are not expecting to be in a hotspot or don't plan on using it.

Maybe you are looking for

  • 10g download? SQLPlus, PL_SQL

    Can someone send me some information for a complete download of the 10g on my computer? I am taking a PL_SQL courses and have assignments. However, I can get this 10g install on my computer. I've heard Oracle send out CD free? How can I get them?

  • Is there Full Version MSI installer package for the last version of Adobe Reader?

    Is there Full Version MSI installer package for the last version of Adobe Reader? Where can we find it? Thanks.

  • ITunes 8: The Missing Preferences

    Whether Apple puts them back in a patch (/cheer), leaves them obfuscated (/scowl), or eventually removes them from the app altogether (/cry), here's a compilation of the missing preferences that can be added back to the plist via the terminal: *Play

  • Evaluation license is expired...

    ....and i need an extension, but I can find no way to do this on the website. I've gcontacted our representative @ BEA, but it could be quite a while before he gets back to me, meanwhile I'm losing very precious development time. Thirty days is nowhe

  • Oh video, oh video, were art thou....

    Hi.... I've tried and tried - but I just can't figure out the steps to take to find out if a music artist also has a music video available for that particular song (the shortest and easiest way, that is).... What I mean is: how do I go from my music