Tim

Footprints in the snow of a warped mind

Wednesday, September 27, 2006

Where to find me

Flickr Icon  Twitter Icon  Linked In Icon  FaceBook Icon  Windows Live Alerts Butterfly  RSS 2.0 

Tag Cloud

AJAX (4) ASP (6) ASP.Net (50) Error Reporting (4) Web Service (1) WSDL (1) Atlas (2) Business (76) Business Start-up Advice (25) Client (14) Expanding Your Business (17) C# (16) Canoeing (4) Canoe Racing (5) Cheshire Ring Race (5) Racing (2) Training (4) CIMA (1) Cisco (1) 7970G (1) CSS (3) dasBlog (4) DDD (1) Design (9) Icons (1) Development (12) General (39) Christmas (6) Fun and Games (11) Internet (22) Random (46) RX-8 (8) Home Cinema (2) Hosting (2) IIS (10) iPhone (1) JavaScript (4) jQuery (1) Marketing (5) Email (1) Multipack (1) Networking (2) Nintendo (1) OS Commerce (1) Photography (1) PHP (1) PowerShell (2) Press Release (1) Productivity (2) Security (2) SEO (5) Server Maintenance (4) Server Management (9) Social Media (1) Social Networking (2) Experiment (1) Software (9) Office (5) Visual Studio (12) Windows (4) Vista (1) SQL (1) SQL Server (13) Stored Procedure (1) Testing (1) The Site Doctor (104) Turnover Challenge (1) Twitter (2) Umbraco (17) 2009 (1) Web Development (54) WebDD (33) Wii (1)

Blog Archive

Search

<September 2006>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

Recent Comments

Blog Archive

Various Links

Blogs I Read

[Feed] Google Blog
Official Google Webmaster Central Blog
[Feed] Matt Cutts
Gadgets, Google, and SEO
[Feed] Ol' Deano's Blog
My mate Dean's blog on my space, equally as random as mine but not off on as much of a tangent!
[Feed] Sam's Blog
Sam is one of my younger brothers studying Product Design and Manufacture at Loughborough, this is his blog :) Enjoy!

Recent Tracks

last.fm - The Social Music Revolution

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

newtelligence dasBlog 2.2.8279.16125

Send mail to the author(s) Email Me (Tim Gaunt)

© 2010 Tim Gaunt.

Sign In

    # Wednesday, September 27, 2006

    Thailand Photos

    Wednesday, September 27, 2006 12:32:15 PM (GMT Daylight Time, UTC+01:00)
    Ok, I've just had the chance to go through the photos we sent off to the printers and organise them for the photo album. For now I've left the photos on my old photo album but it works so... :)

    Enjoy these Thailand Photos

    http://www.thesitedoctor.co.uk/photoalbum/default.aspx?fld=photos/Thailand~Photos~2006_07_07_22

    Don't forget to read the articles about our trip, I've still got to complete the ones about Bangkok but the rest are online now :)
    Oh and I also post-dated another article I wrote before leaving but didn't have the chance to post: The scourge of Google and public facing blogs

    Over the next few weeks I'm going to get the rest of the articles I've written online so don't forget to check the archives.

    Tim

    Thailand Photos
    Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback LinkTrackback
    CategoriesTags: General
    # Tuesday, September 26, 2006

    Long time no blog

    Tuesday, September 26, 2006 9:47:16 PM (GMT Daylight Time, UTC+01:00)

    I wish I could say I’ve not posted anything for a while because I’ve been burning litres of fuel in the RX-8, sadly however that’s not the case, although I have done nearly 2,500miles in it and spent something silly like £600 in fuel, but I’ve not posted anything for a while because I’ve been up to my eyeballs in work.

    Those of you that have spoken with me recently know that not only is The Site Doctor currently going through a few alterations, but we’re also in the process of moving house, and in addition to this we’ve got a fair few projects going on -both paid and unpaid ;-) so watch this space for updates!

    For those of you interested, I’m still working on the articles about SEO and eCommerce which I hope to get online soon as well as a few more updates re life the universe and just about everything else.

    As for you Doug, thanks for your comments the other day, I'm working on it, but unlike you Yanks we don't all not work at work. Well, that is except for Craig...

    Long time no blog
    Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback LinkTrackback
    CategoriesTags: Random
    # Friday, September 22, 2006

    Cisco VPN Software and Local Network conflicts

    Friday, September 22, 2006 10:24:42 PM (GMT Daylight Time, UTC+01:00)

    This is a post for anyone else having connectivity issues with their LAN while connected to a VPN of some sort. When setting up the Virtual Private Network (VPN) on our new server we encountered a number of issues of not being able to connect to the local network while the VPN was established. Initially it was merely an inconvenience and something that we could live with, but as time went on we needed to stay connected and access files from the local network, it grew more and more irritating.

    After much searching on the internet for a solution with terms like “Cisco VPN Local Area Connection Issues”, “Cisco VPN LAN Issues”, “Cisco VPN LAN files” and various inflections of we didn’t find anything useful.

    While trying to sort the issue, I noticed that the VPN was establishing itself on the subnet of 192.168.1.x, that in itself is not a problem but we were running our LAN under the same subnet. It was only then that we realised that we had a conflict as the VPN was overriding the local subnet so on trying to access 192.168.1.5 it would attempt to contact the remote server group (which didn’t exist).

    If you’ve got the same issue, the fix is simple, all you need to do is change your local subnet to something else i.e. 3, this means when the VPN is connected it will connect over 1 and the LAN will remain unaffected –lovely!

    # Thursday, September 21, 2006

    Page name conflicts

    Thursday, September 21, 2006 10:46:33 PM (GMT Daylight Time, UTC+01:00)

    I know a fair few people have come across the error which, having a page called “Login.aspx” causes the error message “CS0108: 'ASP.login_aspx.Profile' hides inherited member 'Login.Profile'. Use the new keyword if hiding was intended.” But I’ve found another when calling a page sitemap.aspx: “CS0108: 'ASP.sitemap_aspx.Profile' hides inherited member 'SiteMap.Profile'. Use the new keyword if hiding was intended.” So just be careful not to name your pages the same as the controls.

    If like me however you like to keep some sort of consistency in the page names across your sites, you can easily get around it by renaming the page’s partial class name to something which doesn’t conflict and then updating the page’s codebehind reference i.e. for sitemap.aspx:

    public partial class _pgSiteMap : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="sitemap.aspx.cs" Inherits="_pgSiteMap" Title="Site Map" %>

    Page name conflicts
    Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [2]  Trackback LinkTrackback
    CategoriesTags: ASP.Net
    # Wednesday, September 20, 2006

    Processes without a username in Task Manager

    Wednesday, September 20, 2006 7:19:00 PM (GMT Daylight Time, UTC+01:00)

    I wasn’t sure if I’d broken something today when on opening Task Manager just after Windows booted all processes were missing a username. I still don’t know how I managed it but all seems ok again now, I guess I just opened it too early…

    Processes in Task Manager without a username

    Processes in Task Manager without a username

    # Wednesday, August 23, 2006

    Icons, Icons, Icons *yawn*

    Wednesday, August 23, 2006 8:56:47 AM (GMT Daylight Time, UTC+01:00)

    Tired of having to work out how many icon sets I’ve got I decided I would write a list here and update it, anyone that wants them let me know :) -ones that are 0 mail me for the zip…

    Anaheim Alert (8 vigilantly informative icons)
    5 deliveries remaining

    Blinksale (25 invoicing-made-easy icons)
    3 deliveries remaining

    Farewell Snow (10 snowy creations)
    4 deliveries remaining

    Manhattan Metroplex (8 icons with a very short commute)
    5 deliveries remaining

    Manhattan Night Life (10 icons living it up.)
    5 deliveries remaining

    Manhattan Smilies 1 (8 dramatic mood swings)
    5 deliveries remaining

    Manhattan Veggie (7 farm-fresh icons)
    5 deliveries remaining

    Marseilles Breakfast (8 icons fortified with vitamins and iron)
    5 deliveries remaining

    Marseilles Cafe (7 freshly-ground icons)
    4 deliveries remaining

    Modena Alfanumerico Molten (39 letters and numbers, camerata!)
    5 deliveries remaining

    Modena Simbolo (45 metallic symbolic frolics)
    0 deliveries remaining

    Oslo Atmosphere (9 happy weather icons)
    1 delivery remaining

    Oslo Easter (12 icons for Pascha Resurrectionis)
    5 deliveries remaining

    Oslo Finance (Get your Euro on! 12 icons)
    0 deliveries remaining

    Shanghai Tech (Get it? 15 icons...)
    2 deliveries remaining

    Shanghai Tech Smilies (Whoa! 36 smilies?)
    1 delivery remaining

    Taipei Night Market (14 Asian-esque icons)
    3 deliveries remaining

    Taipei Plastic Primates (18 days in the life of a plastic monkey)
    1 delivery remaining

    Tower Grove Elementalist (8 icons conjured up to do your bidding)
    5 deliveries remaining

    Tower Grove Promenade (11 iconic park fixtures)
    4 deliveries remaining

    For those of you not familiar with Icon Buffet, they offer free sets of icons at www.iconbuffet.com

    Ones I'm missing:

    • Alexandria Architecture
    • Alexandria Atmosphere
    • Dresden Tournament
    • Durango Research
    • Helsinki Hi-Fi
    • Mallow Buzz 1
    • Mallow Buzz 2
    • Manhattan Finance
    • Manhattan Smilies 2
    • Manhattan Symbol
    • Modena Alfanumerico Cold
    • Modena Alfanumerico Cool
    • Shanghai Tech Vector
    • Shanghai Toolbox
    • Taipei Buddies 1
    • Taipei Buddies 2
    • Taipei Monkey
    • Tower Grove Melee
    • Tower Grove Wedding
    Icons, Icons, Icons *yawn*
    Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [1]  Trackback LinkTrackback
    CategoriesTags: Internet
    # Wednesday, August 16, 2006

    3 years of wanting one, 3 months till we got it and totally worth it!!

    Wednesday, August 16, 2006 10:29:06 AM (GMT Daylight Time, UTC+01:00)

    So after nearly 3months of waiting (or it may have been over 3 months actually), we finally picked up the RX-8 (referred to as "the 8") yesterday. Having waited this long I had everything planned and ready to go.

    After sorting out the final payments etc and having a quick look around the car, we were off! I can’t even begin to describe how pleased I am with the car, it’s so much fun to drive and not only that, I don’t think the fuel efficiency is too bad. I’ve done 440miles so far and on my first full tank I managed 277.5miles (mostly motorways but there were a couple of hours pottering around town) that works out at 22.2mpg which baring in mind this is the break-in period that uses more fuel than after around 4k miles...

    I really can’t fault the car so far, because you’re meant to “break the car in” for the first 600 miles or so, I’m being very careful not to push it too much but boy what fun, without taking it over 5k ish revs I’ve been getting out every time with a massive smile! Don’t get me started on the looks Stacey and I have been getting from clearly very envious pedestrians…

    If I had to pick a fault with it I’d be hard pushed to, the price was great, insurance less than I was paying for a 1.2l Corsa 3 years ago (though I do have 1years NCD now!!), fuel efficiency not bad for a 231bhp, the drive’s so much fun, the look is incredible and build feels quality and solid. Top marks for Mazda me thinks! 3 years of wanting one, 3 months till I got it and totally worth it!!

    You’re all more than welcome to come and have a play in it sometime, I don’t think I’ll be needing an excuse to take her out! For now though, here are some photos.

    From A Far From The Front Profiled From The Side Front Open Both Doors Open Down Low Rear Light Cluster

    The first time I had to park it and leave it ;) Parked

    Proof the mpg aren't really THAT bad... First Tank

    These are more for the 8 guys, but it shows the new Air Conditioner grill fitted by Mazda, it’s only covering 1/3rd of the intake and not at all on the oil cooler so I think I’ll be adding the vents :)

    AC Grill Close Up AC Grill from the front OC Vents and Flys

    # Monday, July 31, 2006

    ASP.Net 2.0 XHTML Valid? It is unless you want to use the W3C validator

    Monday, July 31, 2006 12:54:50 PM (GMT Daylight Time, UTC+01:00)

    I came across an interesting anomaly last week with one of our new sites (http://www.missmays.com/ -not work safe). We first started developing the site in ASP.Net 1.1 and wanted to make it XHTML 1.1 valid so wrote a HttpModule that transforms the offending source (i.e. wrapping inputs in div tags). Over time we realised that we could also encode other offending items such as ampsands which would save us a load of time typing them out in the URL’s and updating the database.

    We knew the site’s HTML was XHTML1.1 valid and the tests we’d run with the source were fine but on validating the live site using the W3C URL Validator (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.missmays.com%2F) all was not so rosey. It was falling over on the last two inputs (__PREVIOUSPAGE and __ EVENTVALIDATION). On examing the module code it turned out that I hadn’t included them in the Regex (new to ASP.Net 2.0). Adding them all was fine, but why doesn’t the framework automatically wrap the inputs in div tags as it does for the browsers?

    Checking the main ASP.Net site (http://www.asp.net/) the same thing happens, looking at the source through Firefox or IE shows the inputs wrapped nicely but through the validator they’re not, the source isn’t XHTML1.0 Strict anyways btw but it’s still worth noting that validating the URL fails on different points: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fasp.net%2F

    I’d be interested to know if anyone else has come across this before or has an insight on why it may be happening.

    This is what the validator used to produce when validating against the URL:

    This page is not Valid XHTML 1.1!

    Below are the results of checking this document for XML well-formedness and validity.

    1. Error Line 327 column 96: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag.
    ...GE" value="CLXotzBdGnifesOhxidubQ2" /> 

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    1. Error Line 328 column 183: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag.
    ...K6hIzLASsITXlU6vlPxFkdzgJFxH9ADe8B" /></form> 

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"

    Update: Although I've not yet had a chance to try it, Phil Winstanley has suggested using .browser files may get around this.

    Update 2: Here's a browser file you can use, you'll need to add a "Special ASP.Net 2.0 Directory" in your solution calls App_Browsers and place the w3cvalidator.browser (.5 KB) file into the new directory, recompile and the application should now output valid XHTML.