Thursday, May 12, 2016

One day off-in-lieu if public holiday falls on a non-working Saturday

With the upcoming Vesak Day that falls on a Saturday, many especially those whose companies they work for do not have clear HR policies on day-offs, must be asking whether there is a mandatory off-in-lieu. The answer is fortunately YES!

Back in 2008, Ms Jean Tan, Director, Corporate Communications for Permanent Secretary Ministry of Manpower, made this remark on Rules on Off-In-Lieu:

For an employee on a five-day work week, Saturday would be considered a day-off and Sunday a rest day.

Under the Employment Act, if a public holiday falls on a day-off, an employee is entitled to one day off-in-lieu or be given one extra day's pay.

If it falls on a rest day, the law provides that the working day following the rest day will be a paid public holiday.

A more recent article on this topic was published on the Manpower Ministry website and I quote:

For employees who are not required to work on Saturdays, they are entitled to claim a day off or compensation in lieu for that public holiday if they are covered under the Employment Act. It is therefore not up to the employer’s discretion or goodwill to grant their employees a day off in lieu under the law.

Thursday, April 28, 2016

iHerb Promotion Code - ICO460


Use promo code ICO460 upon checking out to get $5 off your first purchase at iHerb (www.iherb.com). No minimum spending required.

iHerb (www.iherb.com) sells nutritional supplements and other healthy products both in the U.S., as well as internationally, including Singapore.

SharePoint - Site URL Inaccessible from the Server

Despite you having set the 'alternate access mapping' e.g. http://domain.com/, and added the domain url into the server's hosts file, accessing the SharePoint site may encounter HTTP 401 authentication error from the server itself. This issue does not happen if you accessed it from outside.

One cause of this behaviour is related to the loopback security check the Windows server is doing. There are two workarounds as described by an article from Microsoft KB and the following are sufficient to make it work great for me.

  1. Click Start, click Run, type regedit, and then click OK.

  2. In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

  3. Right-click Lsa, point to New, and then click DWORD Value.

  4. Type DisableLoopbackCheck, and then press ENTER.

  5. Right-click DisableLoopbackCheck, and then click Modify.

  6. In the Value data box, type 1, and then click OK.

  7. Quit Registry Editor, and then restart your computer.

Wednesday, April 27, 2016

Unable to view Roles and Features in Server Manager after Windows Update

Server Manager on Windows Server 2008 or Windows Sever 2008 R2 may not be able to view Roles and Features after a Windows update. Did a Google search and chanced upon an article on Microsoft Knowledge base.

The cause of this issue is said to be due to some catalog files, manifest files or MUM files being corrupted on the computer. To resolve, you will need to download and run Microsoft Update Readiness Tool, run it, check %Systemroot%\Windows\logs\CBS\Checksur.log for corrupt information after the scan is completed, then replace corrupted package(s) that remains unfixed.

Read in details on Microsoft KB.

Saturday, April 23, 2016

How to find out which w3wp.exe PID corresponds to which application pool?

Should we have more than one website hosted on IIS, it may be difficult to identify which web application is the one listed on the task manager especially when the application pools are all on Network Service.

Task Manager showing multiple w3wp.exe processes

Each w3wp.exe process has a PID (process identifier), but to tell which PID belongs to which application pool, it is not straightforward.

One method to find out the application pool is to run the appcmd command on command prompt from C:\Windows\system32\inetsrv directory.

appcmd list wp

appcmd command to show application pool of a PID

Simply match the PID against the application pool name. I hope it helps.

Blog Archive