网站上传时出错 [英] An error when website uploaded

查看:66
本文介绍了网站上传时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将网站上传到服务器,并且已将Login.aspx设置为其开始页面.最初,它显示了连接字符串错误.我已更正错误,现在显示空白页.

有人可以帮我解决这个错误吗?

I uploaded a website to the server and I have set Login.aspx as its start page. At first it showed a connection string error. I corrected the error and now it''s showing a blank page.

Can anyone help me with this error?

推荐答案

我的猜测:

IIS可能没有关于Login.aspx的线索,并且可能期望使用Default.aspx.如果您打开Internet信息服务管理器并展开视图,直到看到默认网站",请右键单击并选择属性".从那里,选择文档"选项卡.确保选中启用默认内容页面",然后将页面添加到列表中.实际上,除非您想在所有网站上全局设置它,否则您应该真正在应用程序级别执行此操作.

另一方面,如果这不会导致其他问题,则可以将页面重命名为Default.aspx.
My guess:

It is possible that IIS does not have a clue about Login.aspx and is expecting Default.aspx. If you open the Internet Information Services Manager and expand the view until you see ''Default Web Site'', right click and select ''Properties''. From there, select the ''Documents'' tab. Ensure that ''Enable default content page'' is checked and then add your page to the list. In fact you should really do this at your application level unless you want to set it globally for all websites.

On the other hand you could rename the page to Default.aspx if that would not cause other problems.


错误编号是什么,请提供有关错误的更多详细信息,以便我们为您提供更多帮助..
what is the error number, give more details about the error so we can help you more..


这篇关于网站上传时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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