运行asp.net网站时的空白页面 [英] Blank pages while running asp.net website

查看:363
本文介绍了运行asp.net网站时的空白页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我的系统因电源故障而关闭。我无法正常关闭系统,视觉工作室当时正在工作。我再次打开系统,我的网站没有在VS2010中运行。它只显示空白页面。这有什么问题以及如何解决它?



谢谢.....

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.....

推荐答案

你整个方法都很糟糕。您是否使用版本控制系统。没有?你在浪费你的时间。它可以是免费的,重量轻的,得到很好的支持,有一天可以挽救你的生活。不要在窗户破损的情况下离开。停止做你正在做的事情并设置一个修订控制系统。



见下面的讨论:

修改控制系统,可供选择? [ ^ ]。



现在,您是否从头开始构建解决方案?你清楚地知道你的源代码是什么文件的部分,以及构建的工件是什么?没有?你应该这样做。每分钟,您应该只能移动计算机的某个其他位置的源,某些其他计算机并能够立即运行它。在你清楚这一点之前不要开始一个项目。这一点也与修订控制有关。仅保存源,不保存单个冗余文件。记住DRY原则: http://en.wikipedia.org/wiki/Don%27t_repeat_yourself [ ^ ]。



安全开发,

-SA
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


网址是否仍然正确?如果是尝试ff:



右键单击解决方案并选择清洁解决方案,然后选择重建解决方案。



希望有所帮助:)



问候,

Eduard
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


试试这个:



1.从工具菜单中选择选项。

2.展开环境类别,并选择键盘项。

3.开始在标有显示包含:的命令的文本框中键入CleanSolution。

4.选择列表中的项目标题为Build.CleanSolution的下方框。

5.单击标有按快捷键:的文本框,然后键入要用于触发此命令的击键。

6.如果与已经分配了快捷方式的其他命令存在任何冲突,您需要修改键盘快捷键,或者选择其他快捷方式。

7 。当您想要显示快捷方式时,单击分配按钮。

8.最后,在选项对话框中单击确定。



如果清理解决方案仍然没有工作,您的文件可能已损坏。
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.


这篇关于运行asp.net网站时的空白页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆