ITPUB??ì3
ITPUB论坛 » Web开发 » ASP.NET与AJAX » Server Error in '/ ' Application.


标题: Server Error in '/ ' Application.
离线 juanpeng
中级会员



精华贴数 0
个人空间 0
技术积分 3528 (396)
社区积分 0 (1437988)
注册日期 2007-6-21
论坛徽章:27
开发板块每日发贴之星开发板块每日发贴之星开发板块每日发贴之星生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠
生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠

发表于 2008-4-28 08:59 
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>
  
添加信息的时候 就成这样了?


只看该作者    顶部
离线 juanpeng
中级会员



精华贴数 0
个人空间 0
技术积分 3528 (396)
社区积分 0 (1437988)
注册日期 2007-6-21
论坛徽章:27
开发板块每日发贴之星开发板块每日发贴之星开发板块每日发贴之星生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠
生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠生肖徽章2007版:鼠

发表于 2008-4-28 09:00 
自己顶起~~


只看该作者    顶部
离线 mosticy
中级会员


精华贴数 0
个人空间 0
技术积分 2380 (643)
社区积分 2182 (536)
注册日期 2007-10-9
论坛徽章:2
      
      

发表于 2008-4-28 09:18 
发过了。。。


__________________
(止步海阔天空.)
只看该作者    顶部
离线 smthgdin
老会员



精华贴数 0
个人空间 0
技术积分 1271 (1321)
社区积分 1 (34500)
注册日期 2004-5-13
论坛徽章:2
ITPUB元老开发板块每日发贴之星    
      

发表于 2008-4-28 11:02 
原因1: web.config 文件不完整.不是合格的asp.net 配置文件。
解决:  您要检查web.config 是否合格,有时候是粗心,xml文件不完整.导致的问题。

原因2: asp.net版本问题.asp.net有asp.net 1.1和 asp.net2.0 两个版本。
解决:  请确定您网站asp.net需要 哪个版本支持.选择合适的服务器运行版本.我们默认是2.0的。


__________________
www.kooboy.net
只看该作者    顶部
离线 smthgdin
老会员



精华贴数 0
个人空间 0
技术积分 1271 (1321)
社区积分 1 (34500)
注册日期 2004-5-13
论坛徽章:2
ITPUB元老开发板块每日发贴之星    
      

发表于 2008-4-28 11:05 
以前做sharepoint的时候就有碰到这样的问题。现在忘记怎么解决了。


__________________
www.kooboy.net
只看该作者    顶部
 
    

相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问