ASP.net中的启动页面出现问题 [英] Problem with the startup page in ASP.net

查看:74
本文介绍了ASP.net中的启动页面出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我对ASP.Net非常陌生.我已经开发了一个站点,并将启动页面设置为index.aspx.我必须将此站点托管在服务器(另一个系统)中.当我托管该应用程序后,将通过使用www.xxx.com/index.aspx打开该网站.您能否建议我如何使用www.xxx.com打开网站.


预先感谢,
Varshini M.

Hi All,

I''m very new to the ASP.Net. I had developed a site and set the startup page as index.aspx. I have to host this site in server(another system). When i had hosted the application , site is opening by using www.xxx.com/index.aspx. Can you please suggest that how can i open the site by using www.xxx.com.


Thanks in advance,
Varshini M.

推荐答案

有两种方法可以做到这一点.如果您有权访问IIS,则告诉它使用您的文件名作为默认文件.打开您的IIS管理器.如果要将所有站点的默认操作设为默认操作,请右键单击默认网站",然后选择属性.然后单击文档"选项卡.单击添加..."并添加"Index.aspx".否则,仅对您的特定网站执行此操作.

另一种方法是将"Index.aspx"重新命名为"Default.aspx",因为默认情况下应在列表中.
There are a couple of ways to do this. If you have access to IIS tell it to use your file name as a default file. Open your IIS manager. If you want to make this action the default for all of your sites then right-click on the ''Default Web Site'' and select properties. Then click on the ''Documents'' tab. Click the ''Add...'' and add ''Index.aspx''. Otherwise only do this for your specific site.

Another way is to reanme ''Index.aspx'' as ''Default.aspx'' as this should be in the list by default.


this[^] might help you.


here[^] is in detail of what digital man has said.


这篇关于ASP.net中的启动页面出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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