PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

“/”应用程序中的服务器错误 [复制链接]

1#
为什么我上传空间去会出显这个?
运行时错误 说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。

详细信息: 若要使他人能够在远程计算机上查看此特定错误信息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个 <customErrors> 标记。然后应将此 <customErrors> 标记的“mode”属性设置为“Off”。

<!-- Web.Config 配置文件 --><configuration>    <system.web>        <customErrors mode="Off"/>    </system.web></configuration>

注释: 通过修改应用程序的 <customErrors> 配置标记的“defaultRedirect”属性,使之指向自定义错误页的 URL,可以用自定义错误页替换所看到的当前错误页。

<!-- Web.Config 配置文件 --><configuration>    <system.web>        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>    </system.web></configuration>
分享 转发
TOP
2#

空间支持不支持ASP.NET2.0??

把域名发出来
TOP
3#

我的也出现这个情况?是不是因为不支持ASP.NET2
TOP
4#

TOP
5#

问一下空间商,空间支持不支持ASP.NET2.0??
TOP
6#

现在改炎ASP.NET 2.0了!还是有问题

网站:http://szori.com.cn/text/
现在是这个问题!

Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 67:       </buildProviders>Line 68:     </compilation>Line 69:     <authentication mode="Forms" />Line 70:     <customErrors mode="Off">Line 71:       <error statusCode="404" redirect="/" />

Source File: d:\clientweb\wujinjie\wwwroot\text\web.config    Line: 69


Show Additional Configuration Errors:

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (d:\clientweb\wujinjie\wwwroot\text\web.config line 73)
                      

TOP
7#

现在改炎ASP.NET 2.0了!还是有问题

网站:http://szori.com.cn/text/
现在是这个问题!

Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 67:       </buildProviders>Line 68:     </compilation>Line 69:     <authentication mode="Forms" />Line 70:     <customErrors mode="Off">Line 71:       <error statusCode="404" redirect="/" />

Source File: d:\clientweb\wujinjie\wwwroot\text\web.config    Line: 69


Show Additional Configuration Errors:

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (d:\clientweb\wujinjie\wwwroot\text\web.config line 73)
                      

TOP
8#

网站文件是否在空间的根目录呀
TOP
9#

全部在空间里了

全部在空间里了
TOP
10#

我的也是这个问题,很想知道为什么^
TOP
11#

高手快点出现吧
TOP
12#

网站文件没有在空间的根目录呀 ,为什么要放在text下?
Source File: d:\clientweb\wujinjie\wwwroot\text\web.config    Line: 69
TOP
13#

我是把它放在那测试!请问这样那怎么做?
TOP
14#

放在wwwroot下就好了
TOP
15#

不一样吗?
TOP
16#

要遵守规则
TOP
发新话题 回复该主题