会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
2010年1月20日
把错误信息写入系统日志
摘要: 在Global.asax 里,我想让程序一有异常就记录错误信息到Windos的事件查看器里.void Application_Error(object sender, EventArgs e) { Exception lastError = Server.GetLastError(); string errMessage = lastError.ToString(); string logName...
阅读全文
posted @ 2010-01-20 19:43 攀
阅读(361)
评论(1)
推荐(1)
http中错误代码含义
摘要: http错误代码含义: "100" : Continue "101" : witching Protocols "200" : OK "201" : Created "202" : Accepted "203" : Non-Authoritative Information "204" : No Content "205" : Reset Content "206" : Partial Conte...
阅读全文
posted @ 2010-01-20 19:16 攀
阅读(209)
评论(0)
推荐(0)
怎么解决?"/"应用程序中的服务器错误
摘要: 在做一个自定义错误页面时,配置web.config文件 <customErrors mode="On" defaultRedirect="Oooops.aspx"> <error statusCode="500" redirect="Oooops.aspx"></error> </customErrors>页面出错误信息如下:------------...
阅读全文
posted @ 2010-01-20 18:00 攀
阅读(1300)
评论(0)
推荐(0)
愚者攀山
时日太快,无知的小孩一晚长大..
公告
导航
博客园
首页
新随笔
联系
订阅
管理