MOSS system "Unexpected error" debugging method

Source: Internet
Author: User
Anyone who has been in touch with the MOSS system will often encounter "unexpected errors ." Whether it is a designer or a developer, it will often cause this problem to modify MasterPage or a well-developed WebPart. The most important thing is that when an error occurs, only the prompt is displayed, why is the error, what's wrong? It's not very clear. It's really crazy! In fact, there is no way to view the cause of an "Unexpected error" by logging. The specific method is as follows: First, open the SharePoint 3.0 management center, select "operation", open "diagnosis log record", and set the log record in it. Please note that the log file usage time cannot be too long, otherwise, a single log file will be very large and not easy to view. Use the default Log Path: "C: \ Program Files \ Common Files \ Microsoft Shared \ web server extensions \ 12 \ LOGS", which contains many log Files, sorted by time, find the latest log file. After opening it, you can see the error message "Unexpected error". Of course, there are too many logs in this log file, you need to filter out the error information by yourself :). Now that you have found the cause of the error, you should know how to handle it ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.