C# ASP.NET SQL SERVER
  • Fri
    05
    Feb 10

    Viewing connections to a server

    I keep on forgetting how to do this so here it is documented for my convenience. Start Performance Monitor (PerfMon) Click + to add new monitor. Enter computer's name To view connections for a web service From Performance object drop down select "Web Service" From Select counters from list...

    Continue reading "Viewing connections to a server"

  • Tue
    04
    Aug 09

    Configuring IIS5 for ASP.NET MVC

    I was trying to setup an ASP.NET MVC application to run under a virtual directory on IIS 5.1. When I click the properties on that virtual directory and then click the "Configuration..." button nothing happens - i.e. the configuration dialog doesn't pop up as it should. I suspect this is because...

    Continue reading "Configuring IIS5 for ASP.NET MVC"

  • Sun
    09
    Nov 08

    lsass.exe and SQL Server pegging CPU at 100%

    Had an unusual problem with an MS Server 2003 today. The CPU was being pegged at 100% every 15 seconds for about 12 to 14 seconds. When I examined the Processes with Task Manager it showed that lsass.exe was the culprit and that its accomplices were sqlservr.exe and w3wp.exe. This happened shortly after...

    Continue reading "lsass.exe and SQL Server pegging CPU at 100%"

  • Mon
    06
    Oct 08

    Best practices for creating websites in IIS 6.0

    Omar AL Zabir has a good write-up on Best practices for creating websites in IIS 6.0 .
  • Fri
    26
    Sep 08

    Hosts file locked (read-only) on Server 2008

    I was trying to edit the HOSTS file on Windows Server 2008 with Notepad++ but after editing it wouldn't let me save it with a "Save failed" - "Please check whether if this file is opened in another program" (the ...whether if... is their message not my typo). Anyhow, didn't turn out...

    Continue reading "Hosts file locked (read-only) on Server 2008"

  • Fri
    06
    Jun 08

    Request object error

    I came across an interesting problem today that I wanted to document in case I hit it again and provide some notes in the hope that this helps somebody else. An ASP (not .net) forum that I'm responsible had the following error: Request object error 'ASP 0104 :80004005' Operation not Allowed /forum/inc_UploadDefault...

    Continue reading "Request object error"