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.

Thursday, April 14, 2016

Rui En statement on her BMW car accident on motorcycle

Mediacorp actress, Rui En, 35, was recently involved in a traffic accident involving her BMW car and a stationary motorcycle in Clementi carpark. Reports mentioned the actress smelled of alcohol that day. Rui En was criticised of being arrogant, insincere and unapologetic when she was being confronted by the owner of the motorcycle. One of her first response was "Do you know who I am?". It was also reported that the actress attempted to offer $2,000 in cash as a settlement in private but was turned down.

Rui En's statement to this incident is as follows:

I refer to the recent media reports regarding my involvement in the incident that took place on 12 Apr 2016.

There are various interpretations as to the conversation that took place between the motorcycle owner and myself. To address the context of that conversation, I would like to share what I can without causing any
interference to the ongoing investigation.

Tuesday, 12 Apr 2016. I was about to reach home. Upon driving into the open-air car park where I usually park, I misjudged a turn and accidentally knocked over a stationary motorcycle parked directly in front of a kerb. No other driver was involved during the incident.

I was very disappointed with myself for knocking down the motorcycle. My initial intention was to move my car to a traffic-free spot before addressing the matter.

I was subsequently stopped by a man. He continuously knocked on my car window while I was attempting to move my car. I later discovered that the man was the owner of the motorcycle.

I tried to signal to him to allow me to move my car first but he persistently hit my screen and gradually, his knocks got louder.

I got out of my car. I attempted to explain that I would take full responsibility. He probably had the impression that I looked like someone that would run away from the scene.

In my state of anxiety, I told him “Do you know who I am, I live upstairs and won’t run”

He appeared to be very angry. I was unsure what I said came out sounding entirely different from what I meant. I was simply trying to convey that I live here, people would know and recognise me if I ran away. On hindsight, my choice of words used were inappropriate and I agree that it
caused unnecessary misunderstandings.

What was said next was a process similar to most traffic incidents.

I offered to compensate for the damages.

I offered him monetary compensation in the form of cash. He was not satisfied with the amount offered and asked for more.

By this time the police has been called in.

I would like to reiterate that it was a judgmental error on my part, there is absolutely no excuse on my careless driving and more importantly, I truly regretted it.

I would also like to take this opportunity to apologise to him for the inconveniences and distress caused.

Looking back I wished I handled the situation with more tact.

I sincerely apologise for the unnecessary inconveniences caused and I thank everyone again for your care and concern.

Yours sincerely
Rui En

Saturday, April 09, 2016

The Panama Papers Leak - Explained In Cartoon

Heard of the Panama Papers leak but am confused over what is it all about? You may watch the following cartoon illustration by Vox Media for a quick summary on this scandal.