如何在sharepoint里通过correlation id查找详细的错误信息
2014-01-27 17:56
316 查看
Sharepoint里我们经常遇到这样的错误信息:
我们能通过下面的power shell 命令来查到详细的错误信息:
cls
$correlationid = read-host
$date = (Get-Date).AddHours(-1)
get-splogevent -StartTime $date | where-object {$_.Correlation -eq $correlationid.Trim() -and $_.Level -eq "Unexpected" } | select Area, Category, Level, EventID, Message | Format-List
命令详细介绍: http://technet.microsoft.com/en-us/library/ff607589.aspx
我们能通过下面的power shell 命令来查到详细的错误信息:
cls
$correlationid = read-host
$date = (Get-Date).AddHours(-1)
get-splogevent -StartTime $date | where-object {$_.Correlation -eq $correlationid.Trim() -and $_.Level -eq "Unexpected" } | select Area, Category, Level, EventID, Message | Format-List
命令详细介绍: http://technet.microsoft.com/en-us/library/ff607589.aspx
相关文章推荐
- start shell command
- duilib 关于怎么调用ListUI中的GetItemText
- Selenium RC upload local file
- if语句的效率
- 我的2013年
- C#.MVC+JQuery1.9自定义下拉框控件
- HDU:2795 Billboard
- java动态代理的内部实现
- 【设计模式-代理模式】
- Understanding a Kernel Oops
- Google java 编程规范
- Linux网络基本配置
- Python 关于拷贝(copy)汇总(列表拷贝 // 字典拷贝 // 自定义对象拷贝)
- 系统之家GhostXPSP3装机2014版
- 右侧底部跟着浏览器滑动
- [LeetCode]Reverse Linked List II, 解题报告
- 九度OJ 1078 二叉树遍历
- 九度OJ 1078 二叉树遍历
- 如何正确的在java web配置数据池
- Android系统中setprop,getprop,watchprops命令的使用