Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Saturday, December 31, 2011 11:51 AM
Hello I am using Vista 32bit Visual Studio 2010 Professional. My computer was having some issues, I did a restore or did't properly close Visual studio, I am getting following erros now.
These files names i can see in visual studio but i cannot open them, an exclamation sign is there with these files. I tried recovery program, Disassembler, googled this issue, no success so far.
I am beginner developer, i wrote these pages in a week effort, it will be hard to start from scratch again, I will appreciate any help.
Rebuild All started: Project: 2lsveproj, Configuration: Debug Any CPU
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\PlayerListBasketball.aspx.designer.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\AdminPage.aspx.designer.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\PlayersList.aspx.designer.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\Athelete.aspx.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\DeleteProfile.aspx.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\PlayerListBB.aspx.designer.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\AdminPage.aspx.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\Athelete.aspx.designer.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\PlayerListBasketball.aspx.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Logout.aspx.designer.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\AdminPlayerEdit.aspx.designer.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\PlayerProfile.aspx.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\DeleteProfile.aspx.designer.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\PlayerListBB.aspx.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Logout.aspx.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\AdminPlayerEdit.aspx.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\PlayerProfile.aspx.designer.cs' could not be opened ('Unspecified error ')
error CS1504: Source file 'C:\Users\Jaaami\Documents\Visual Studio 2010\Projects\2lsveproj\2lsveproj\Players\PlayersList.aspx.cs' could not be opened ('Unspecified error ')
Compile complete -- 18 errors, 0 warnings
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
All replies (6)
Sunday, January 1, 2012 11:56 AM âś…Answered
On the other hand in windows explorer i see only .aspx files no .aspx.cs and .aspx.designer.cs files.
OMG!
I'm so sorry to hear that your file got deleted. I don't really know how to recover deleted file. If the physical file is on the disk, then there was a chance to recover it. In this case I cannot help you. Hope you will get an advice soon from an expert. Good luck!
Saturday, December 31, 2011 2:13 PM
are you still sure you have full access (permissions) to those files?
also - what happens if you try to open one using notepad?
Saturday, December 31, 2011 7:38 PM
yes I am logged in with Administrator account and i have been working about six months on same notebook, in same enviornment. If i try to open .cs file, studio says The Item .aspx.cs does not exist in the project directory. It may have been removed, renamed or deleted. i have enclosed picture also. Thanks for your reply.
Saturday, December 31, 2011 10:15 PM
Hello,
Did you check the physical path of the files? Is it actually there in the name Solution Explorer shows you?
If it's there, try by excluding the file from project and including the file again (You can do it by right clicking on the file in Solution Explorer in Visual Studio)
Sunday, January 1, 2012 11:34 AM
I tried excluding and including the files from project, no success so far. On the other hand in windows explorer i see only .aspx files no .aspx.cs and .aspx.designer.cs files. I started writing code from scratch , not much recovered from disassembler either.
I guess these files were open in visual studio and I did not close visual studio properly or it crashed, thats the reason these files got corrupted or missing.
Sunday, January 1, 2012 12:40 PM
Thanks Ruschira. I ran some deep recovery programs on that folder, not much success.