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