佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 796|回复: 4

新手-为什么我的IIS跑不到 .aspx ?

[复制链接]
发表于 2-2-2007 12:00 PM | 显示全部楼层 |阅读模式
如题~
我是用XP的IIS 来跑 .aspx的,但别的电脑开不到这个网页,为什么?
我INSTALL 了 .net framework 2.0 的。
用别的电脑看到的error:
Server Error in '/01vs2005ide' Application. Runtime Error                          Description: Anapplication error occurred on the server. The current custom errorsettings for this application prevent the details of the applicationerror from being viewed remotely (for security reasons). It could,however, be viewed by browsers running on the local server machine.

            Details: To enable thedetails of this specific error message to be viewable on remotemachines, please create a <customErrors> tag within a"web.config" configuration file located in the root directory of thecurrent web application. This <customErrors> tag should then haveits "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>                  
            
            Notes:The current error page you are seeing can be replaced by a custom errorpage by modifying the "defaultRedirect" attribute of the application's<customErrors> configuration tag to point to a custom error pageURL.

                                             
                      <!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

什么意思?
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 2-2-2007 02:48 PM | 显示全部楼层
现在又有新的ERROR:
Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
回复

使用道具 举报

发表于 2-2-2007 04:00 PM | 显示全部楼层
第一个情况,你先把customErros mode="OFF",
才能看到你撞到的问题是什么

如果你的application在本身电脑跑没问题,
而在别的电脑连接来有问题,
大概只是network或firewall的问题而已
回复

使用道具 举报

 楼主| 发表于 2-2-2007 06:34 PM | 显示全部楼层
自己电脑。。用 MS Visual Web Developer 2005 Express 跑就没问题,但用FF 或 IE 开 就不能:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'file://Server-pc/htdocs/Default.aspx'. Line 1, Po...

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
-^
回复

使用道具 举报

 楼主| 发表于 2-2-2007 07:31 PM | 显示全部楼层
解决了~。
原来它不能在我的虚拟电脑跑 。。
我把它搬过去我的SERVER 就可以了。
谢谢WuSheng
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 28-8-2025 05:39 AM , Processed in 0.118848 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表