Deleted file; ?? about inner workings of VS 2008

Last post 11-08-2009 9:05 AM by rtpHarry. 1 replies.

Sort Posts:

  • Deleted file; ?? about inner workings of VS 2008

    11-07-2009, 3:16 PM
    • Member
      point Member
    • mrgr8avill
    • Member since 07-06-2007, 7:10 AM
    • Posts 11

    Thanks for taking the time to read this.  Did the dumbest thing I could have done yesterday and deleted a web form I had spent more than a week working on.  I immediately bought a file recovery program, but I am afraid it got confused by the aspx and aspx.cs extensions and what I got was some gobbledygook with less than half of the code in it.

    It occured to me that I might be able to find the solution that was built before the file was deleted.  So my questions are:

    1) I was working on a client and accessing the server from a remote ftp location.  Any chance a shadow copy is on my local machine?

    2) Where should I look for the sln file?  Like an idiot, I rebuilt the soultion before I thought of this, but I might be able to recover ti using a sector scan tool.

    This or any other idea that may help prevent the excrutiating process of re-doing a week's work would be so totally appreciated you don't even know.

     

    Thanks again! 

  • Re: Deleted file; ?? about inner workings of VS 2008

    11-08-2009, 9:05 AM
    Answer
    • All-Star
      35,984 point All-Star
    • rtpHarry
    • Member since 10-01-2006, 8:51 AM
    • Lincoln, England
    • Posts 5,816

    mrgr8avill:


    1) I was working on a client and accessing the server from a remote ftp location.  Any chance a shadow copy is on my local machine?

    There is a small chance that the server has VSS Volume Shadow Copy running - if you can get remote desktop access then right click on the file (or folder) and look for "Previous Versions". If its there then you will be able to restore to a previous time.


    The solution file doesnt contain the contents of the web form so it wouldn't have helped anyway.


    I dont know if visual studio copies stuff to your local desktop but it might do. I think the files would be in \my documents\visual studio 20xx\web sites\ or \projects\ if they are anywhere?


    On the plus side if you have lost this work then:

    • You will never forget to backup your work before you mess with things ever again
    • You will rebuild the webform in half the time and probably better
Page 1 of 1 (2 items)