Friday, December 18, 2009

Enabling ASP.NET on a Windows Server 2003 64-bit

I installed 64-bit Windows Server 2003 (R2 with SP2) for the first time this week. Surprisingly, there is no option to enable ASP.NET on IIS even though I have all the .NET frameworks installed and updated.

The Add/Remove Windows Component Wizard does not have ASP.NET as an option under Application Server. Neither does the Managing Your Server application.  In 32-bit Windows Server, it says Application Server (IIS, ASP.Net) but in 64-bit it is as follows:

As it cannot be done through the GUI, I checked up the Help documentation. The documentation says my next task is to enable ASP.NET but I couldn't find any clues on how to do that.

Finally I found the instructions hidden in, an article which really does not apply to my situation as I want a pure 64-bit server.

The steps are:

a.  Install and enable IIS first.  Do this through Manage Your Server or Add/Remove Windows Components.
b.  Run: cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
c.  Run %SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i
d.  Enable ASPX (and ASP if you need it) via the Internet Information Services Manager, as follows:

Hope the above works for you as well.

Wednesday, December 2, 2009

Where to buy notebook batteries at ZhongGuanCun (中关村)

I guess you already know that ZhongGuanCun (中关村) in Peking (北京) is the largest collection of shoppping centers selling computers and electronics stuff.

If you need something for your computer, I think you will find at least 1,000 shops/counters selling what you want. The hard part is getting what you want at the price you don't regret later.

The trick is to buy only things you have researched thoroughly. Use a place like eBay to find out the lowest market price.

Buying something on impulse will always end up with regrets, unless you are a trained negotiator.

ZhongGuanCun is not one mall. It is a whole city of malls. I don't know how many there are. I went to only a couple of buildings. Basically they are all the same. I guess in lieu of marketing to differentiate, each just bank on fleecing one unsuspecting customer a day.

I went to look for a notebook battery. Surprisingly this was one item that was not really that popular. If you need a battery and want to save time, follow these steps:

a. Go to HaiLong building (海龙大厦). This is the mall directly outside the west exit of the ZhongGuanCun subway station. This is on line 4, a brand new line. Click the following air photo to see details.  Go to Google Earth/Maps to see readers' pictures of the building.  Just note that most of the positions of this building on Google Earth are wrong.  The location on Google maps is here but unfortunately the map and photos don't quite match.

b. Go to the fourth floor and look for the HoneStar Technologies counter at #4075.  The numbers are on a license plate hanging off the ceiling.  #4075 is furthest way from the escalators.  It is manned by two young ladies.  If you have limited time in Peking or you think your battery is a rare one, contact them before hand.

Email:, QQ instant messaging: 437105767, mobile: +86-13552906007.

English is barely spoken.  The best way to contact is to use QQ if you know how to install and use the software.  Otherwise email and then follow up a day later by phone to ask Miss Liang to check her mail.

The building opposite Hai Long to the east is KeMao (科贸中心).  There is a pedestrian bridge from the second floor of HaiLong going across to KeMao.  KeMao is another mall of the same, hundreds of counters selling computers and electronics.  But there is also a large supermarket (Wu Mart) and a KFC.

Hope you get what you want!