网页 不能 打开 在线等待 急急急

sualtring 2003-06-26 08:55:25
出现如下错误


Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "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 error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


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

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


是不是 web.config 需要配置一下
...全文
48 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
sualtring 2003-06-26
  • 打赏
  • 举报
回复
to blackcatiiii(ljh)

Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'XTREME.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="XTREME.Global" %>



Source File: D:\Inetpub\hkml.com\global.asax Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
blackcatiii 2003-06-26
  • 打赏
  • 举报
回复
可能你的配置不正确导致程序出错,但你的web.config里的customErrors的mode设置为On,所以没法显示错误原因。你先把mode改成Off,再运行程序,就可以看到具体出错信息,然后你再根据提示改正错误就可以了。
sualtring 2003-06-26
  • 打赏
  • 举报
回复
那么 请问 我该如何做?我在本机 并没有错阿

comy 2003-06-26
  • 打赏
  • 举报
回复
不是,是你的应用程序出了错,但是由于<customErrors>节的 mode="On"所以你无法在客户端看到详细的错误信息。

62,041

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧