Ron's Sandbox

Distinct Data

Tuesday, 27 October 2009 07:28 by hagermanr
I recently had a need for some distinct data. Now, usually that’s simple enough. We simply create a data reader or dataset or whatever and run a query against our database and life is good. Unfortunately, my data source this time around was not SQL based but instead, was coming from the Syst... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   C Sharp
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Cannot Connect to Console

Wednesday, 12 August 2009 02:33 by hagermanr
First, I’ll admit it. I got stupid. I was messing around where I did not belong and as a result, I took out the console access for our pre-production management group. With that being said, I’ll make two disclaimers here. First, don’t freakin TOUCH your backend SCOM database without first doing a f... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Clearing Your Cache

Tuesday, 21 July 2009 03:46 by hagermanr
While working with the Exchange Server Admins, we had an issue where they had to delete the SCOM cache rather often on a large number of servers. The process for this is to log into each host, stop the OpsMgr Health Service service, delete the Health Service State folder then restart the service. T... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

What’s on Your iPod?

Thursday, 18 June 2009 09:25 by hagermanr
A girl I met the other night asked me what kind of music I listen to. Being a first date, it was a legitimate question. So I got to thinking about it and just couldn’t help but wonder, what is on your iPod? I have a little bit of everything but lately, I’ve been looking ... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   General | Personal
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Files Within Images

Friday, 5 June 2009 03:04 by hagermanr
I may be a little behind the times here but I was watching “Along Came a Spider” today with Morgan Freeman. The general basis of the movie without giving it away is, a hostage negotiator (Morgan Freeman) gets his female partner killed in a sting gone bad. Now months later, bad guy kidnaps senators d... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Data Iteration

Wednesday, 3 June 2009 23:16 by hagermanr
I remember back in the days of asp, looping through data arrays and displaying it on web pages. Short of it is, I want to display a table of data and I don’t need to manipulate the data in any way so I just want to display it. What I did in asp was, assign the data row to an array and then assign e... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   C Sharp | General
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Regular Expressions (Case Sensitive)

Tuesday, 2 June 2009 23:54 by hagermanr
Regular expressions are case sensitive for the most part. My users of SCOM tend to create groups and use regular expressions against the host names to get a list of servers they own. They generally look like this: ^(xch\-|XCH\-) This returns all Exchange servers both upper and lower case. What h... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

The Day From Hell

Tuesday, 12 May 2009 13:54 by hagermanr
It has been a long day. I was online at 5:30am writing code, met with Microsoft at 1pm and off at 3pm. I have a website that is due real soon (it’s actually late) and the Exchange folks need help with the monitoring of their servers. I’ve also been hit up by the SharePoint folks for th... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   General | Personal
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Windows Live Writer

Thursday, 7 May 2009 22:48 by hagermanr
I’ve been lazy with the blog postings. Originally, I’d write a log post in One Note or Word, proof it and then copy paste into the blog and then fix all the formatting. With the new laptop however, I have Windows Live Writer which allows me to create a post, proof it, format it th... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   General | Personal
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Dynamic TreeViews

Thursday, 7 May 2009 22:43 by hagermanr
First, create a data table that will hold our data for iteration. DataTable temp = new DataTable(); col = new DataColumn("link_id"); temp.Columns.Add(col); col = new DataColumn("link_parent"); temp.Columns.Add(col); col = new DataColumn("link_name"); ... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   C Sharp
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed