Missing Process counter from Available Counters in Perfmon

by rahul 2/18/2010 3:07:10 PM
Do you notice anything special in the list below? If you have been working with Perfmon enough, you will notice that the Process Counters are missing in the list below. Download a utility called Extensible Counter List from this link…. and run it. Select PerfProc and ensure that Performance Counters Enabled is checked. If it is not checked, check it. If you are not getting this checkbox at all, run this tool as an Administrator and you should be able to see it. Restart Perfmon after clo... [More]


Logparser Scenario 9:Find out different types of errors in your HTTP Error log files

by rahul 2/18/2010 12:11:39 PM
This post is a continuation of this article. Scenario 9:Find out total count of different errors in your HTTP Error Log file on any IIS Server Answer: Logparser "select sc-status, s-reason, cs-uri, count(*) from 'FolderName\*.log' to 'FolderName\Total.csv' Group by s-reason, sc-status, cs-uri" -o:CSV -i:HTTPERR If you want to just see the different types of errors coming up… use the following… Logparser "select s-reason, count(*) from 'FolderName\*.log' to 'FolderName\Total.c... [More]


Enable Instant Search in Microsoft Outlook

by vivek 1/15/2010 12:46:46 PM
This post is a bit off the track to my usual IIS topics. I am not a big fan of desktop search software's and I don’t like unwanted software's hogging on my memory or CPU. I have heard a lot of good things about this Instant Search in Outlook and though I will go ahead and enable it. Today when searching for some text in my Microsoft Outlook 2010 beta, I saw “Click here to enable Instant Search”. Clicked on the notification bar and that popped out a message Looks li... [More]


How to troubleshoot slow Page Rendering in ASP.NET?

by rahul 11/20/2009 7:37:44 AM
Before I answer this question, let us have a quick refresher. Answer this question diligently… Is Page_Render in ASP.NET really an EVENT? A BIG ZERO if you have said YES! The answer is No, It is not. Here is an excerpt from MSDN… <snip> This is not an event; instead, at this stage of processing, the Page object calls this method on each control. All ASP.NET Web server controls have a Render method that writes out the control's markup that is sent to the browser. If you create a custom... [More]


SQL Database files and Disk Drive Space Reporting Tool

by rahul 11/19/2009 5:43:03 AM
Not everyone will need this tool, but in case you have a Microsoft SQL Database Server and a lot of disk drives/SAN, you may choose to read on. Let’s assume you are a Database Administrator, and you have a lot of Disk Drives, and you have SQL Databases residing on quite a few of them. You know that a database file increases in size based on a specific setting and it is called, AutoGrow. Some of you would have it as x%, some x MB and some will have it set to different settings for different file... [More]


Change IIS Server (Machine) name including IUSR and IWAM account

by rahul 8/25/2009 10:15:02 AM
I borrowed a VHD recently with Windows 2003 SP 2 installed. Since I had to rename the name of the machine before I make a networked farm, I thought of writing this post to show how you can take care of renaming of an IIS Server. Yeah, looks and sounds simple but I have a few tips up my sleeve so you may prefer to read on. To rename a machine is not difficult. Right Click on My Computer –> Properties –> Computer Name –> Change and give a name. Yes, that simple. It will ask for a reboot,... [More]


Location of Temporary ASP.NET files in Vista or Windows 7

by rahul 7/9/2009 4:59:03 AM
Ideally, you would see the Temporary ASP.NET files in… C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files But, if you are working on Vista/Windows 7 and not running Visual Studio as an Administrator, you may find that this location Temporary ASP.NET Files will be empty. Thankfully, the functionality of the web application doesn’t get affected. Nevertheless, if you need to go to the Temporary ASP.NET Files, find it here… c:\Users\[myuserid]\AppData\Local\Temp\Temporary ASP.N... [More]


Programming “gotcha” when you code for Vista and beyond!

by rahul 2/7/2009 3:37:29 PM
If you blog, and haven’t used any of my plug-ins for Windows Live Writer, may be you should. In this post though, the agenda is not to push you to install the plug-ins but tell you about my experience with Application.StartupPath and how problematic it could be!!! Well, it all started when I decided to write a few plug-ins for my favorite Windows Live Writer. The SDK was easily available, and I found that any new plug-in was required to be installed in the Plug-in folder inside WLW Installation... [More]


Using Javascript and ASP.NET Ajax to create a continuous list

by rahul 1/28/2009 8:34:29 AM
What the heck is a continuous list anyway? Honestly, I don't know if I should be using this name or not, but probably this is what it looks like. Without further ado, let's see what I am referring to... Visit www.dzone.com - Notice that whenever you tend to reach the bottom of the page, there are some more items listed for you. The list seems almost endless, and I like this interface a lot, simply because it doesn't ask me to go to page N.   In this post, we will use the following to create... [More]


A C# Argument Parser for a Windows Console Application

by praveen 1/11/2009 9:01:56 AM
There are a multitude of Argument Parsers available online. So why am I writing my own? Well to be frank… I did a search and couldn’t find anything that would be either “easy” to implement. I know that this is not much, but hope other programmers might find this useful if they are as lazy as I am and looking for a quick solution :-) I was actually looking for a parser which would return something like a Hashtable which i can loop through and load the values into properties of some sort. So here... [More]


Search


Tags



Categories

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

All Items
Sign in

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0