
some REALLY rough and not very elegent code but this is my website create code for IIS6
Points to note:
- I centrally manage the W3SVC instance number, so they are unique across all of the platforms in the enterprise, hence the instance number is specified , not generated in the function
- I use AD based IWAM accounts to connect to CIFS (UNC) based content, so these have to be specified
- hosts string is a comma separated list of hostheaders,
Read the rest of this entry »

Just in case any one wondered what I actually do for a living, I build world class web hosting platforms. We are talking up to a Terabyte of content and 8-10 Million hits per day. So when a friend of a friend said he was having trouble with a site getting 190,000 hit per day, i did a detailed analysis and made some recomendations.
Then I hear they have been and done something completely different, and possibly daft.
Well I say good luck to him

I am slowing gaining some good experience in coding with visual studio 2008 and VB.NET and some C# for ASP.NET
But I fell into a corker this week
I have a simple form with a dropdown list box, the items in this drop down list box are populated from a data string obtained from an external webservice during the page load, Nice solutions or so I thought
1st problem a page load occurs during a post back, so the dropdown list was getting populated twice, once during the initial page load, and AGAIN during a validation post back on a textbox
So I decided to clear the dropdown list before adding the items
Some hours of frustration later I discovered the clearing and reloading the list items was not such a good plan, Pageload also goes off during a form submission which then nukes the selectedvalue data for the dropdown list
End result, test the dropdown list item count before to see if I have already added any item, of not add them
Sorted
1. My selected values work properly
2. My postbacks are quicker as the webservices call only occurs on initial load

I know this is VB.NET but i was in a hurry and my C# sucks
this is mostly cobbled togther from other stuff I found on the net, none of which did EXACTLY what I needed
When I get the time i will publish some of my other functions, including IIS6 site create and IIS6 FTP Profile Create
This is a simple VB.NET function to create and IIS6 Application pool
This function is designed to specify the UserId and Password for the AppPool Identity and was used in an environment where domain credentials were used
Read the rest of this entry »

Sat in a Server 2008 session at the UK 2008 product launch,
and they have just announced “Hyper-V goes RC0 today”

Just been pondering the internet and downloads etc and this news item sprung to mind www.theregister.co.uk/2008/02/22/burnham_dcms_filesharing/ in which the government are threatening to put legislation so that ISPs stop their customers taking part in illegal downloads. This is like asking the police to stop every drink driver by stopping every vehicle on a busy motorway and breath testing every driver and all the passengers just to be sure.
The ISPs cant even do a decent job of stopping SPAM either from or to their networks, what chance to they stand of stopping peer2peer activities.

About a month ago I was in an infrastructure meeting discussing backup strategy. The conversation was around disk based backups such as near store and Virtual tape libraries.
So I asked the question “do we know how these disk based backup system cope with earth quakes? So as yesterday data could be on the same disk that is being access today, a disk level corruption could be ‘interesting’”
As the point in time I got laughed at, “Earthquakes, yeh right !”
Does not seem such a silly question now does it !
From BBC “The biggest earthquake in the UK for nearly 25 years has shaken homes across large parts of the country.”

What make a good technical Curriculum Vitae?
The Internet is flooded with differing opinions,
The only consistent thing seem to be lots of white space to aid reading and the following points in order
- Personal details
- Career Objective/Summary
- Personal skills
- Summary of skills (the technical page)
- Work history (listing the most recent position first)
Outside of that, 2 pages, 4 pages, or 10 (if you have enough relevant content)
So lets say you have 4, will one of the 2 pages max HR / PIMP people chuck it straight in the shredder.?? Or you don???t have time to tweak a CV for a particular post, and they are looking for a skill you have left out to make it fit 2 pages.?? Catch22
Suggestions on a postcard !

My son got a copy of the Nintendo DS transformers game for XMAS, and decided to try out the WiFi features over the weekend.
I had heard the some WiFi routers and access point do not work well as the DS wireless if not fully WiFi compliant. They aren’t kidding, more like not RFC compliant in many areas.
NO support for NON wep security
A TCP/IP stack that does not confirm it has taken the DHCP address it was offered and then does not respond to ping, instead it just uses it and says nothing, so the next new device connects to the network, gets the same address, and the DS gets kicked off,