13.07.2015 Views

Microsoft SharePoint. Building Office 2007 Solutions in VB 2005 ...

Microsoft SharePoint. Building Office 2007 Solutions in VB 2005 ...

Microsoft SharePoint. Building Office 2007 Solutions in VB 2005 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

460CHAPTER 12 ■ SHAREPOINT OPERATIONS AND ADMINISTRATIONOn the Diagnostic Logg<strong>in</strong>g page, you will see sett<strong>in</strong>gs that allow you to participate <strong>in</strong> the<strong>Microsoft</strong> Customer Experience Improvement Program and collect error reports for deliveryto <strong>Microsoft</strong>. The customer experience program is a way for you to provide usage <strong>in</strong>formationanonymously to <strong>Microsoft</strong>. This data is used to determ<strong>in</strong>e what parts of the product areused most often and for direct development of the next version. The error reports are used by<strong>Microsoft</strong> to help identify and correct common problems. These programs are similar to onesthat you may have seen for other products such as <strong>Office</strong>.The last two sections of the Diagnostic Logg<strong>in</strong>g page are used to configure the ULS. TheEvent Throttl<strong>in</strong>g section is used to limit the entries that are made to the ULS, and the TraceLog section is used to determ<strong>in</strong>e the maximum number of log files to create and how long an<strong>in</strong>dividual log should be kept <strong>in</strong> use. These sett<strong>in</strong>gs are important because the log files canbecome quite large if left unchecked.The log files are created as tab-delimited text and conta<strong>in</strong> the fields Timestamp, Process,TID, Area, Category, EventID, Level, Message, and Correlation. You can start to troubleshootissues by look<strong>in</strong>g for entries around the time that an issue occurred. However, if you have notthrottled the logs, you will see many entries, so the time stamp may not be that useful. Thecategory <strong>in</strong>formation is more useful because it conta<strong>in</strong>s specific identifiers for <strong>SharePo<strong>in</strong>t</strong>components, such as Bus<strong>in</strong>ess Data for the BDC. You can also search for messages with aHigh or Critical level, which are often associated with operational problems.Unfortunately, <strong>SharePo<strong>in</strong>t</strong> does not come with a viewer for the ULS. Therefore, the onlyway to view the logs is to open them <strong>in</strong> Notepad or import them <strong>in</strong>to Excel. At the end of thischapter, I have <strong>in</strong>cluded an exercise that you can do to build a ULS viewer feature. This featureallows you to view and filter the ULS from with<strong>in</strong> the Central Adm<strong>in</strong>istration site.Work<strong>in</strong>g with Portal Usage Report<strong>in</strong>gPortal usage report<strong>in</strong>g is a service that logs statistics about site activity <strong>in</strong> a <strong>SharePo<strong>in</strong>t</strong> farm.Before you start the service, you should recognize that gather<strong>in</strong>g usage <strong>in</strong>formation can havea negative impact on the performance of the farm. If you do enable usage logg<strong>in</strong>g, be sure toschedule the log process<strong>in</strong>g outside of normal bus<strong>in</strong>ess hours. In order to use the service, itmust first be enabled <strong>in</strong> the Central Adm<strong>in</strong>istration site. For a MOSS <strong>in</strong>stallation, you mustalso configure process<strong>in</strong>g <strong>in</strong> the Shared Services Provider.Follow these steps to configure usage report<strong>in</strong>g <strong>in</strong> MOSS:1. Log <strong>in</strong> to VSMOSS as a farm adm<strong>in</strong>istrator.2. Select Start ➤ All Programs ➤ <strong>Microsoft</strong> <strong>Office</strong> Server ➤ <strong>SharePo<strong>in</strong>t</strong> 3.0 CentralAdm<strong>in</strong>istration.3. When the Central Adm<strong>in</strong>istration site opens, click the Operations tab.4. Under the Logg<strong>in</strong>g and Report<strong>in</strong>g section, click the l<strong>in</strong>k titled Usage AnalysisProcess<strong>in</strong>g.5. On the Usage Analysis Process<strong>in</strong>g page, check the box labeled Enable Logg<strong>in</strong>g.6. Check the box labeled Enable Usage Analysis Process<strong>in</strong>g.7. Click the OK button.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!