Seiten

Mittwoch, 21. Dezember 2011

Fixed ULS Viewer

On  MSDN Archive there is a great tool for viewing ULS files from Sharepoint but it was only working reliably on US machines because of date time issue. So far the problem has never been fixed although its only two lines of code causing the problem. 

The issue is that the program uses DateTime.Parse with the current UI culture when parsing Sharepoint Log entries but Sharepoint always uses the US date format for the time column. The source is not available and the exe is hosted on the archive, thus I have decided to write a small patcher. The patch program uses Cecil to change DateTime.Parse with current UI culture to DateTime.Parse with US settings. Cecil is really a very cool tool to use.

Instructions:
  1. Unpack the ZIP into the same directory as the ULS Viewer
  2. Run the patcher
  3. Now you will have a Fixed ULS Viewer which works under any locale and any day of the month. On german settings you could use the original only up to the 12th of each month :)
Download from:

Keine Kommentare:

Kommentar veröffentlichen