Fixing “Event log service is unavailable” on Windows 2008
One of our servers started showing this error: “Event log service is unavailable. Verify that the service is running.”
Fixing it proved quite simple, after a lot of searching on google…
One of our servers started showing this error: “Event log service is unavailable. Verify that the service is running.”
Fixing it proved quite simple, after a lot of searching on google…
NowSMS can sometimes pop the error “Unable to access modem at COMx: — Error 5 — Access Denied — Another application is already using this device”
This can happen even though nothing is using the modem…
Here’s how to fix the problem 🙂
Visual Studio can lose intellisense support in HTML view for ASP.Net sites.
Here’s how to recover it.
I’ll admit it, I love extension methods, especially the ones from the LinQ-to-objects framework.
However I often see them abused, partly by making everything extension methods, and partly by breaking readability with methods which normally shouldn’t work.
Also I’d like to share a few of my extension methods with you – intrigued ? Read on 🙂
Most C# developers know of Directory.Delete(path, recursive). However every once in a while they’ll discover that it’s error prone.
Here’s how to delete directories with read-only files inside them.
This is a simple-to-use Bit.ly API wrapper for .Net.
It makes use of the well-documented REST api for Bit.ly.
Every once in a while I have a query, where I need to select a boolean expression (e.g. CustomerID = 4)
Usually you’ll need to use CASE, however for certain queries there’s a smarter way.
jQuery.load is an excellent way to load parts of your website asynchronously, however by default the browser just might cache the result from it, and your page will never be refreshed.
I’ve encountered this peculiar bug a couple of times in Internet Explorer.
Sometimes parts of the webpage either blinks constantly, or disappears when e.g. hovering links only to reappear upon scrolling or hovering another link.
You probably know the situation: You want to get all records grouped by day, but you stored their creation date using getdate(), so now they all contain time as well as the date.
The solution until MS SQL 2008 was not pretty, however with MS SQL 2008 we finally have a “pure” date datatype.