Sunday, December 21, 2008

Perfmon counter labels turned to numbers

While I executing a few troubleshooting steps in local dev environment, I opted to put some perfmon counters to monitor the performance of the code. Unfortunately all the perfmon counters turned to numbers instead of their subsequent labels.

Tried adding all .net by using following lodctr command (This command is responsible for updating all performance monitor counters and their explain texts)

lodctr C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\corperfmonsymbols.ini
lodctr C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.ini


but no luck, not able to see the counters back.

Finally rebuilding the whole counters did the trick

lodctr /R

For those who are not able to succeed even after this command can try the following Microsoft Support article
How to manually rebuild Performance Counter Library values
Troubleshooting Performance Monitor Counter Problems

Tuesday, December 9, 2008

IIS management console presents blank window

You open the IIS management console using Inetmgr and you are presented with a empty console no application pools, no web sites, no virtual directories.

This happens occasionally on IIS 6 /IIS 7 which is hosting SharePoint sites. The very quick fix for this issue is restarting Sharepoint's OWSTimer service or make an IISRESET.


Microsoft support explains as follows
"Consider the following scenario. You have a process that has more than one thread. Additionally, the process uses the Internet Information Services (IIS) Active Directory Service Interfaces (ADSI) provider to access IIS. Two threads access IIS at the same time. In this scenario, you may be unable to manage IIS by using Server Manager"


Microsoft provides a hot fix for this nasty issue, that can be downloaded from the following link

FIX: You may be unable to manage IIS by using Server Manager if two threads access IIS at the same time

Tuesday, December 2, 2008

Browser Speed test . . . .

I did few benchmark for all my browsers on my desktop to just check who is fast,faster, fastest using SunSpider JavaScript. Ok let's see the stats

Google Chrome 1757.6 ms
FireFox 3.0 3695.8ms
Apple Safari 3.15021.2 ms
Opera 9.505237.2 ms
Opera 9.624681.0 ms
Microsoft IE 7.036744.6ms
Microsoft IE 6.060803.8ms

Obviously Google chrome is the front runner and we are expecting more in Microsoft IE 8 because the results of IE 7 and IE 6 soars. If you look at the stats you can notice Opera improves a lot in its latest 9.62.

Want to test your browser how fast it is ? Here you go
http://www2.webkit.org/perf/sunspider-0.9/sunspider-driver.html

Who ever wins or loses , the end user is surely getting the best out of the market :-)

Monday, December 1, 2008

STSADM operations poster released !!

We know STSADM command, how essential to a SharePoint administrator. Microsoft released a poster which represents all of its operations as visio document.
This can be downloaded from http://go.microsoft.com/fwlink/?LinkId=120150