查看: 797|回复: 4
|
新手-为什么我的IIS跑不到 .aspx ?
[复制链接]
|
|
如题~
我是用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> |
什么意思? |
|
|
|
|
|
|
|

楼主 |
发表于 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
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|