I was working on some aspx page, and suddenly my system was crashed, when I rebooted my system, file was there, but when I opened that file from solution explorer, file content was replaced by some whitespace characters,and opened in notepad file. I have checked its size and it was around 31 kb.

Is there any way to recover its content ? its around 4-5 days of my work

有帮助吗?

解决方案

I faced the same problem with a file today and overcame it successfully. :D

Felt freaking heavenly after getting my file back ... :D \m/ :D

Here is the solution. Actually, there can be two types of solution of recovering corrupted files I found.

Scenario: Your file is corrupted (ie. null or space everywhere in the file while the size is ok)

Solution #1: Using file recovery software.

File recovery softwares can recover a file when it is already deleted. In our scenario, your file is not deleted but corrupted. So how to use the software in this case!!!!

  • Just delete your file
  • Try to recover your deleted files with popular file recovery softwares

And voila ... it is recovered ... :D

The recovery software I used is Recuva. Worked perfectly.

Solution #2: If its a web content, like CSS/Javascript/html etc.

You can collect the last working copy of the file from browser cache, IF and ONLY IF you hadn't opened the corrupted webpage in that brower.

The thought that help me finding the first solution is from

Mark Twain - "Never argue with stupid people, they will drag you down to their level and then beat you with experience."

While I was thinking how to use this recovery software, I thought about this quote and said myself "LETS DRAG THE FILE DOWN TO THE LEVEL, WHERE RECOVERY SOFTWARE CAN RECOVER" ... :D

其他提示

I'm assuming you do not have backups or svn/git repositories or the last resource like the shadow copies.

I guess your best bet is by using some file recovery tools like OnTrack or Recuva

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top