现在的位置: 首页 > 综合 > 正文

Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a

2013年03月15日 ⁄ 综合 ⁄ 共 1852字 ⁄ 字号 评论关闭
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文件是验证函数,关键部分啊! 


 

 

 

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

抱歉!评论已关闭.