After I installed Windows 7 x64 device driver on my Windows 2008 Server x64 laptop, I looked my wireless network connection utility and noticed that my wireless connection was not working. I looked in device manager and saw that there was no problem with driver installation. There was no yellow mark against the wireless card device. Then I went into Manage Network Connections windows. The icon was there for wireless connection but it was in Disabled. I tried to enable it and it won't enable. It kept getting back into Disabled and every time I tried to enabled a windows error message will pop up asking to check for solution online. I decided to look in the event log and found there were plenty of errors with following message.
One thing was clear that network utility was trying to do some action and it was failing in WLanApi.dll. This dll has implementation of Wireless Network APIs. Then it clicked that on Windows 2008 Server, Wireless LAN Service feature is not installed by default. So simple solution is to goto Server Configuration wizard to launch features window and add Wireless LAN Service feature and finish the installation and wireless card will work fine.