Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio is opening web page in notepad

I was working on webpage (Chat.aspx) accidently my system got shutdown. Now my visual studio opening webpage in notepad which is empty(showing nothing).

I also tried it to open with in Html editor, it also showing that file cannot be opened in selected editor please choose another editor.

How can i recover my work/code?

like image 381
Mubarak Avatar asked Oct 19 '12 06:10

Mubarak


1 Answers

Once I faced the same issue , I researched a lot on internet but in the end I ended up with writing the page again. Basically File pointer in Memory becomes invalid or corrupted due to which OS can not open the file in VS. here is a link for you

When I faced this problem one of the expert suggested me that it is not possible to get back your page .

If you have backup of your page then use that.

like image 63
muhammad kashif Avatar answered Nov 10 '22 01:11

muhammad kashif