主营业务:网站制作 网站优化 小程序制作 石家庄网站制作网站建设有限公司欢迎您!
石家庄闪云网络科技有限公司
客服热线15383239821
如何让自己的网站更有质量?

Server Error in “/ ” Application

发布时间:2014/1/24 15:23:36

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 >
 


我在本地测试的很成功,但上传到服务器后就没老出现这样的问题?
下面是我的方法,但我到现在还没有解决这个实际问题,想请各位给说说这怎么办呀?谢谢


1.先打开IE选项.然后删除Cookeis.和文件.再然后点IE选项里的程序选项..点重置Web设置就可以了哦


2.如果本机IIS测试通过就是服务器权限问题


3.解决方法:
出现此类错误时,请您修改站点配置文件web.config,也就是在web.config文件里创建一个  <customErrors > 标记。然后应将此  <customErrors > 标记的“mode”属性设置为“Off”(请您注意是“Off”,不是“off”,大写的“O”,否则也不会出来错误信息),这样就可以出来错误具体信息。(推荐您更改web.config文件, 因为这种问题往往是客户端程序问题)

4.解决办法:把C:Inetpubwwwroot中的aspnet_client文件夹传到了站点根目录。这个文件夹里面的.js文件是验证函数,关键部分啊!


本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/feifeiyaqi3/archive/2007/10/25/1843544.aspx

 

另:
我这个问题解决了。
方法:我登陆服务器,打开IIS,选中IIS站点名---属性----ASPNET-----ASPNET VERSION 中把1.0 改为2.0然后在远程进入访问网站就可以正常访问了。

相关新闻推荐

在线客服 : 服务热线:15383239821 电子邮箱: 27535611@qq.com

公司地址:石家庄市新华区九中街江西大厦4062

备案号:冀ICP备2022000585号-4