Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Hello,
 
I'm a beginner in .net .
I have recently made a project on "online examination project" using .net . After I done designing and coding it, I build the project and run it.
 
It was working fine at that time. Even after some days, it was working fine.
 
Then one day I just changed my this project's location to another folder in the same drive by "cut-paste".
Now , I found that all the webforms of my project are missing.
There is .cs file of every page , but the webforms are missing. I don't know what to do. Its my first project and now its gone.
I really need help.
If anyone has a way of how to recover my original project then please tell me.
Posted 10-Oct-12 3:26am
Edited 10-Oct-12 3:32am
Estys12.2K
v2
Comments
gladiatron at 10-Oct-12 10:51am
   
this is why you should always have back-up of all your projects secured in an external hard-drive synced with cloud and locked away in shock-proof vault with the key embedded in your skin. Anyway, can you search for "*.aspx" first in your solution folder and if unsuccessful then in your drive? If you find them, I would recommend creating a new solution and add all of them into it.
Sergey Alexandrovich Kryukov at 10-Oct-12 11:00am
   
Not backup. Put under Revision Control System. These days, such project could be open-source (and should be, to trust it), extremely light-weight, non-intrusive, well supported and very reliable. Not using one for any kind of development (even for writing some documents) is ridiculous.
--SA
gladiatron at 10-Oct-12 11:20am
   
agreed!
Rahul 78 at 10-Oct-12 13:58pm
   
@Sergey- Thanks for your reply, the matter is resolved. But I would like to know about this "Revision Control System". Please acknowledge me.
Sergey Alexandrovich Kryukov at 10-Oct-12 15:17pm
   
Sure, please see my answer. Ask some follow-up question is you want.
--SA
Rahul 78 at 10-Oct-12 13:56pm
   
Thanks, it helped me. The matter is resolved and I learned that now I should have a backup of all my files to avoid these types of happenings. Now I will save a copy of each files into my external hard drive. thanks
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Then one day I just changed my this project's location to another folder in the same drive by "cut-paste".
Now , I found that all the webforms of my project are missing.

Sorry but AFAIK, you cannot get it back. It's gone. Re-write whatever you have lost.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Try to recover it using data recovery tool http://www.piriform.com/recuva[^]
Although the success rates are low for files deleted long time ago....
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 10-Oct-12 15:16pm
   
According to OP's information, it's not obvious that any files were lost. It looks like the project was non-movable; with some absolute paths or something like that.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 385
1 BillWoodruff 334
2 Sergey Alexandrovich Kryukov 333
3 George Jonsson 285
4 OriginalGriff 267
0 OriginalGriff 5,095
1 CPallini 4,285
2 Sergey Alexandrovich Kryukov 3,767
3 George Jonsson 2,941
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100