Click here to Skip to main content
15,889,874 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

My system turned off due to power failure. I couldn't shut down the system properly and the visual studio was working at that time. I turned on the system again and my website is not running in the VS2010. It shows only blank pages. what is the problem behind this and how to solve it?

Thanks.....
Posted

You whole approach is bad. Do you use Revision Control system. No? You're wasting your time. It can be free, light-weight, well supported and save the work of your life one day. Don't leave in the house with broken windows. Stop doing what are you doing and setup a Revision Control System.

See the follow discussion:
Revision control systems, which to choose from?[^].

Now, do you build your solution from scratch from time to time? Do you clearly know what part of files is your source code, and what is the artifact of the build? No? You should do it. Every minute, you should be able to move only the source in some other location of your computer, some other computer and be able to run it immediately. Don't start a project until you are clear about that. This point is also related to a Revision Control. Save only the source, don't save a single redundant file. Remember DRY principle: http://en.wikipedia.org/wiki/Don%27t_repeat_yourself[^].

Develop safely,
—SA
 
Share this answer
 
Is the URL still correct? If it is try the ff:

Right-click on the solution and choose 'Clean solution' then 'Rebuild solution'.

Hope it helps :)

Regards,
Eduard
 
Share this answer
 
Comments
Neha Thanka 25-Nov-11 1:02am    
The URL is correct.
But I can't find 'Clean solution' in the menu. Please help me...
Try this one:

1. From the "Tools" menu, select "Options".
2. Expand the "Environment" category, and select the "Keyboard" item.
3. Begin typing CleanSolution into the text box labeled "Show commands containing:".
4. Select the item in the list box below with the title "Build.CleanSolution".
5. Click in the text box labeled "Press shortcut keys:", and type the keystroke you want to use to trigger this command.
6. If there are any conflicts with other commands that already have that shortcut assigned to them, you'll either need to modify their keyboard shortcut, or choose a different shortcut.
7. When the shortcut appears as you'd like it to, click the "Assign" button.
8. And finally, click "OK" on the Options dialog.

If cleaning the solution still didn't work, your file might be corrupted.
 
Share this answer
 
Comments
Neha Thanka 25-Nov-11 1:23am    
Thank you so much.... The google chrome shows Cache error.
I copied the web pages to an older copy of this website and it works...
[no name] 25-Nov-11 1:37am    
Please mark solution as solved. Thanks :)
Hi May be try this and let me know if you face any issues,

Press Windows+R type "cmd" right click and paste the text"%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir" press enter.

Now run your solution.

IIS Config
 
Share this answer
 
Comments
Richard Deeming 3-Jun-15 11:18am    
Adds nothing to the other three answers which were posted three and a half years ago!
CHill60 3-Jun-15 17:54pm    
What Richard Deeming said!

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900