Jump to content

Problems opening Visual Studio C# backup project file

- - - - -

  • Please log in to reply
3 replies to this topic

#1
DoktorD1313

DoktorD1313

    Newbie

  • Members
  • PipPip
  • 24 posts
Hey guys,

First things first, the computer I'm using in this post is running Windows XP Home Edition SP3.


A few months back, I made a quick program via Visual C# Studio and saved a backup of the project file and containing folder onto my external hard drive.

After a few months, I now need to edit my program, but I can't for the life of me open the project file back up!

I plug in my external hard drive into the computer to work on the file, I try to open the .csproj file, and Visual Studio gives the following error:

"Unable to read the project file 'CURRENT.csproj'.
The project file could not be loaded. Access to the path 'E:\LaptopDump\CURRENT\CURRENT\CURENT.csproj' is denied"

I would assume this is some sort of permissions error. I can't even COPY THE CONTAINING FOLDER onto my desktop without getting an "Access Denied" error.

I tried going into safemode and logging in as the Administrator and taking ownership of the folder, but even setting the owner to "\POS3\Administrator" did not give me enough access to copy the folder or open the project file.

Please note, the computer on which I'm trying to open the file is not the same computer I used to create the file. The laptop that the file was written on has since crashed and is no longer usable.

Please tell me there is a way to open the "backup" copy that I made :(

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,721 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Did you do a recursive "take ownership"?
sudo rm -rf /

#3
DoktorD1313

DoktorD1313

    Newbie

  • Members
  • PipPip
  • 24 posts
Yes, unfortunately that didn't work.

I logged in as the administrator and took ownership of the main folder on the external drive (with the option checked to include all sub folders and files).

This still apparently didn't fix the (or what I'm assuming is) the permissions error.

#4
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,721 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Try enabling the hidden administrator account and doing it from there. To do so, run cmd.exe as administrator and type:

net user administrator /active:yes

Press Enter, then log out. There should be a new administrator account. Though your ordinary user account may be set as an administrator, this administrator account has more privileges.
sudo rm -rf /




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users