Repair corrupted MDF file for MS SQL 2000

I have got a corrupted mdf which needs to be repaired.  Does anyone has got a solution, please.

Hi pijiewewe,
At first, back up the .mdf/.ndf Files.
Can you attach the database? If you cannot attach the database, please post the error messages.  There could be two solutions. You could refer to this blog:
http://blog.sqlauthority.com/2008/07/21/sql-server-fix-error-9004-an-error-occurred-while-processing-the-log-for-database-if-possible-restore-from-backup-if-a-backup-is-not-available-it-might-be-necessary-to-rebuild-the-log/.
If you could attach the database, you could run
DBCC CHECKDB. If there are still errors, run it again with  REPAIR_ALLOW_DATA_LOSS , the command means: data will be lost.
Thanks,
Maggie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

Similar Messages

  • 124 pages of corrupted .plist files for Pages/Numbers

    Computer has been very slow and Pages/Numbers will not allow trashed files to be deleted unless the program is open. Least of my concerns. Just ran Disk Warrior and did a file check and got 124 pages of nothing but corrupted .plist files for Pages and Numbers. All references to files look like this, with very slight variations (can't post 124 pages here):
    (hard drive)/com.apple.documentVersions/
    3C712EC1-735C-406C-9BE6-D1D4A1ADD5B8.pages/Metadata/
    All of the errors are in com.apple.documentVersions.
    Not at ease with deleting all of these .plist files, but these corrupted files are really affecting iMac's performance. iWork updates have been through App Store, don't have original disk to reinstall. What to do?

    Sometimes, DiskWarrior simply doesn't know what certain files are, or what to do with them, and tells you they are corrupt. What I would have expected it to find is (hard drive)/.DocumentRevisions-V100 folder, and not what you posted, which has never existed on my OS X machines with Pages/Numbers of any version.
    Presumeably, and before you ran DiskWarrior, you booted into Recovery mode and performed 1) verify/repair permissions, 2) verify Disk, and 3) a Safe Boot mode procedure.
    I have not updated Disk Warrior for Mavericks compatibility yet. The only time I have used it, was to rebuild the File Directory Structure database, and then only after that database shows over 10% fragmentation. This isn't often.
    There are a number of reasons your machine may be slow. See if it has improved after Disk Utility and a Safe Boot. If it continues to be sluggish, you should repost in the Mavericks Discussions within Mac OS & System Software community. This will get more eyes on your performance issues.
    You may wish to ensure that you have a good backup of important data too.

  • Control file for the sql*loader

    hi
    i'm doing my project in database management as the part of my project i have to write the control file for the sql*loader so, any one please clear the funda...so that i can get back to my project work...help me with sample code ..

    Refer chapter 3 and 5 on this url for sql loader and its control file references :
    http://download-west.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90192/toc.htm
    or
    http://download-east.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90192/toc.htm
    You may also refer sql loader examples on this page:
    http://otn.oracle.com/sample_code/products/intermedia/htdocs/avi_bulk_loading.html
    Chandar

  • JAR file for java.sql.Timestamp?

    What is the JAR file for java.sql.Timestamp?
    It would be nice to have a directory file or .sh script to find these.
    -- Ewin

    rt.jar has it. Pretty much anything java.* is in rt.jar
    Rob

  • Any way to repair corrupted pdf file?

    I created a pdf document on a my PC and it became corrupted with all these strange characters.
    Now when I open the document I get an error message that wasn't coming up before im hoping this msg will bring some light into the situation.
    If anyone can help me id be very thankful

    General Repair of Adobe Acrobat Reader corrupted .pdf file...
    1. Go to adobe official site, click the "Support" tab on the top of the screen, click on "Adobe Reader," and then select the "I can't open a PDF document" statement underneath "Troubleshooting." The Support tab is located near the top of the screen as a white word against a black backdrop. After clicking Support, you will see the phrase "Product Support Centers" on a new page in bold white font, under which is "Adobe Reader." The new page after clicking "Adobe Reader" will have the word "Troubleshooting" underneath the phrase "Adobe Reader and Help Support." Underneath "Troubleshooting" is "I can't open a PDF document."
    2. Follow the instructions on how to complete a general repair and installation of Adobe Acrobat Reader. To attempt the most basic PDF repair method, Open "Adobe Acrobat Reader" (select the program in your Start menu, which is on the bottom-left part of the screen), select "Help" from the gray tab menu at the top of Adobe Acrobat Reader, and click on "Repair Adobe Reader Installation." A meter should pop up indicating that your Adobe version is being checked for errors and is being linked back to the home Adobe official website just in case you need to download a new update of the program. If you need to download an updated version of the program, another pop-up will appear on your screen asking you if you want to update Adobe. Click "Yes."
    3. Reopen the PDF file. It should now be readable. If not, then try the next set of directions.
    4. If nothing helped, and you can't redowload .pdf file from source where it was, then use third party solution PDF On-line repair service https://onlinefilerepair.com/en/pdf-repair-online.html

  • How to repair corrupted xp files with the Toshiba recovery dvd pkg

    Hello all, my Satellite a105-s4054 has some corrupted xp os files.  Please advise on how to repair only these files using the recovery dvd pks included with my sytem.  I would rather not have to do a complete format and install.   And it is now obvious which of the individual files listed should be replaced to repair the corrupted files. 
    Is there  way to just replace the corrupted files?
    Thank you

    Satellite A105-S4054 
    ..replace the corrupted files?
    If they are system files, this will fix them.
       Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
    -Jerry

  • Missing message file for PL/SQL compile time warnings

    I want to use PL/SQL compile time warnings but I don't have the message file on my system (or it is not installed correctly). This results in output like this:
    3/5 PLW-05005: Message 5005 not found; No message file for
    product=plsql, facility=PLW
    Where can I get this message file and what do I have to do to install it?
    Thank you.
    Alex.

    hi Will
    Maybe this is a beter forum for your question:
    "JDeveloper and OC4J 11g Technology Preview"
    JDeveloper and OC4J 11g Technology Preview
    success
    Jan Vervecken

  • How to repair corrupted PDF-File  ?

    Hi there !
    I am having problems with a couple of PDF-files which got damaged due to a hard drive break down / file recovery action.
    Neither can i open them ("...not supported") nor have several attempts in repairing them (by using Pdf-repair software) been successful.
    Interesting point about it is, that in terms of file characteristics everything seems to be OK (file size, file type etc. are recognized by the computer).
    Does anyone have an idea what could be done to get my PDF's back to a readable status ?
    Thanks     timrelo
    Ps: In case you got an idea about how to fix a corrupted pdf-file, i am willing to send you one of my files.
          To do so, please send an email to    [email protected]    and i will email you a file.

    Hi Bernd,
    unfortunately i don't have the root-file (indesign etc.) to re-create/export a new pdf.
    all i got is a couple of restored (from the crashed hard drive) pdf files which are indicated as being "corrupt/damaged".
    greets   tim

  • Connecting to sql server database mdf file without installing sql server on client machine?

    I am creating a window application that need to use sql server database. I want to install this application to client machine without installing sql server so that my application can still connect to a database i.e mdf file that i will be providing at client
    system.
    How can i connect to a database(mdf) on client machine through my window application without installing sql server. ? I dont know is it possible or not.
    If possible what will be the connection string in that case. Database need not be used in network.

    you cant connect and view the internals of mdf file unless it being attached to a sql server instance as a database.
    The sql server instance can be installed in any box which is in the same domain and then you can connect from your application to it.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • I can't find corrupted plist file for an app called Ryzom. Plz help...

    I cant find the corrupted plist file. I have looked in library/preferences and it is not there at all.

    Find Any File...
    http://apps.tempel.org/FindAnyFile/
    EasyFind...
    http://www.devon-technologies.com/download/
    Near the bottom of the page.
    Either one is far more likely ti find it than Spotlight.
    What does this APP do? Got a link?

  • Is there Mac software for repairing corrupted pdf files?

    Using Mac 10.5.8, Adobe Acrobat Pro 9.3.2.
    Many of my pdf files are encrypted on a sparsebundle disk image, as they are personal financial files.
    Randomly files become corrupted, and even though I back up, it is a recurring and very time-consuming problem.
    It's basically the only problem I have with my system, and because of the importance of the files very frustrating.
    There are PC-based file repair programs. I've come across references to a command-line program, but hey, I'm a Mac user, right?
    Is there anything?
    And while we're at it, what can I do to prevent files from becoming corrupted? These are files from my scanner, not downloaded.
    Thanks
    sjtill

    See this list for Cameras that are compatiblie with iMovie. Almost all Sony cameras made in the last 5 years work with iMovie, so odds are high that your camera will work. The only exception is that some manufacturers have started providing 60P cameras. These cannot be used at 60P in iMovie (or on a TV set for that matter). But these cameras typically have other settings like 30P or 60i that work fine.
    The bundled software with the Sony is Windows software. They do not bundle Mac software with Sonys because iMovie comes with every Mac anyway, and that is all you need.
    I think your camera works with an SDHC card. You can easily insert the SDHC card into a card reader and import the footage. New iMacs have card readers built into the side. In iMovie, you just start iMovie. Then insert the card and wait for iMovie to see it. Or you can click the camera icon on the middle toolbar if it does not see it.
    You can also attach your camera via USB. In this case, the camera must be plugged into wall power, and you attach via a USB cable.
    Follow the instructions in the manual for how to set the controls of the camera during import.
    Edited to add...You need a Mac with at least an Intel Processor to import from this camera. Older PowerPC models (G5, G4) will not work. Even with them you can get third party software to convert to a form iMovie can handle.

  • Repair corrupted .m4a file - Is there any way????

    I was recording a file on mine iPhone with Recorder. But somehow the recording was stopped and file not saved succesfully.
    I managet to copy it to mine PC. But there is no any program that can open it or repair.
    As I was looking through corrupted file and comparing it to second file that is just fine - I have found that corrupted one have not the same ending than of good one.
    Probably the recording was just stopped unnormally and it was not recorded fully.
    Please advise is there any way to ressurect my file?

    The situation is - that I cannot access any part of mine audio.
    And still have no answer or suggestion who or what program can help me.
    I have found an issue that is similar to mine:
    http://discussions.apple.com/message.jspa?messageID=7894341
    Tried the suggestions that discussed there but none works for me.

  • How To Recover Data From A Corrupt Mdf File?

    Hi All,
    By mistake i delete database from sql server. Due to which the the mdf and ldf file of the datbase are removed from my system. Then i used file recover utility and retrived my mdf and ldf files.But now i am not able to attach those files into databse. These
    mdf and ldf files has been corrupted. Now how can i recover my data from those mdf and ldf files.Please answer me if you have any solution on this problem. 

    Seems to be duplicate thread -
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/a1ace001-cd8f-43ff-85af-88b6011f4d02/myfilenamemdf-is-not-a-primary-database-file?forum=sqldatabasemirroring
    There are very less options . You can contact some third party companies who does these kind of corruption stuffs, but not sure whether it will be successfull.
    You can also try this but not sure how far it will work out.
    Create a new database with the same name, physical file name etc.
    Offline the new database.
    Replace database files with the copy of .mdf and .ldf files that you already have.
    Try to bring the database online.
    If it goes into suspect, put it into emergency mode and run DBCC Checkdb. and try.
    This is explained in the blog -
    http://www.sqlskills.com/blogs/paul/creating-detaching-re-attaching-and-fixing-a-suspect-database/
    Check from this portion in the blog - "So, never detach a suspect database."
    Good Luck !!
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Steps to move Data and Log file for clustered SQL Server

    Hi guys 
    we have Active'passive SQL 2008R2 cluster environment.
    looking for steps to move Data and log files from user Database  and System Database for  SQL Server Clustered Instance. 
    Currently Data and log  files resides on same drive for user and system Databases..
    Thanks
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah

    Try the below link
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/468de435-3432-45c2-a50b-23519cd2686e/moving-the-system-databases-in-a-sql-cluster?forum=sqldisasterrecovery
    -Prashanth

  • Is there a way to repair corrupted rar files?

    i am trying to open a password protected rar file howerver the archive is corrupted.  i have tried unrar, file-roller, xarchiver and ark.  however they all have different messages indicating something is wrong with the file.
    is there a program that can identify the problem or try to recover it?
    thanks

    Try full rar.
    http://aur.archlinux.org/packages.php?ID=20760
    Non-free trial (time-limited) version, i think.
    Usage: rar <command> -<switch 1> -<switch N> <archive> <files...>
    <@listfiles...> <path_to_extract\>
    <Commands>
    r Repair archive
    Last edited by sirocco (2009-02-22 06:10:16)

Maybe you are looking for

  • List item problem in Forms 6i

    Hi, I have two table columns that should appear as list items in the application. The items are placed in a data block is filled by a master-detail-relation. The table columns have the type varchar2(60). If I create text items of that size for the tw

  • Can't launch updated Adobe Reader v10.1.3 in Firefox v3.6.28 in Mac OS X 10.5.8?

    Hello. Is it me or does the newly updated Adobe Reader v10.1.3 does not load from Firefox v3.6.28 in Mac OS X 10.5.8? This is after I click on any PDF links on a web site. Safari had no problems though! Thank you in advance.

  • "Operation cannot be completed because of an unknown error." [CANT]

    This started happening with my Illustrator CC - everytime I start the program, it has the error "OPERATION CANNOT BE COMPLETED BECAUSE OF AN UNKNOWN ERROR. [CANT]" Anyone else have this same issue? Have the 2014 Macbook Pro w Retina Display | Yosemit

  • Simple Window Close Script

    I have a simple script to close all the windows of the drives I mount at login, but right now the amount of windows to close is hardcoded in to the script. Is there a way to make this script just close all open finder windows instead of a set amount

  • What can be the probable errors in configuaration of salary cal. thru SAP

    While calculating the TDS of the employees, we have observed the following: 1-  System is deducting Medical reimbursement from the gross salary, if it is not included in the Gross       salary it should not be reduced from Gross Salary. 2- Children e