Tim

Footprints in the snow of a warped mind

SoftwareWindows

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 (52) Error Reporting (4) Web Service (2) WSDL (1) Atlas (2) Business (76) Business Start-up Advice (25) Client (14) Expanding Your Business (17) C# (17) 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 (13) eCommerce (1) 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 (106) Turnover Challenge (1) Twitter (2) uCommerce (1) Umbraco (18) 2009 (1) Web Development (57) WebDD (33) Wii (1)

Blog Archive

Search

<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

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, May 14, 2008

    Native client cannot be found while installing SQL Server 64

    Wednesday, May 14, 2008 9:03:44 PM (GMT Daylight Time, UTC+01:00)

    We're having fun and games with the new internal dev server. We've got for Windows Server 2008 x64 for a laugh and today was a corker, while trying to install SQL Server 2005 x64 onto the box we repeatedly got an error along the lines of "native client cannot be found sqlncli_x64.msi".

    Searching around the install DVD/files didn't reveal anything useful, turns out (after a little Googeling) that Microsoft install the wrong version of the SQL Server Native client tools as part of the prerequisites -instead of the 64bit version you'd expect, they go and install the 32bit which then makes the rest of the installer complain...

    Classic! Anyway, thanks to Eric Falsken for the heads up on that error...

    # Thursday, July 19, 2007

    Microsoft Expression Web and CSS -is it all it's cracked up to be?

    Thursday, July 19, 2007 11:02:32 PM (GMT Daylight Time, UTC+01:00)

    After a number of months of hearing how great Microsoft's latest web development environment is -Microsoft Expression Web- I thought I would install it in place of Dreamweaver on my new laptop. I was -until today- pretty impressed with some of it's features, how well it handles CSS within the IDE and had no reason to complain.

    That was until today. As I write this, I'm sitting in our apartment in Croatia with the sun beating down on me, generally enjoying life. As it's incredibly hot outside around noon, I thought it would be a good idea to crack on with some work on the new The Site Doctor design -which I hope to have online shortly after I return. So I load up Microsoft Expression Web and the various pages of the new site and crack on.

    I've already sorted the CSS for the site so there was no need to open any of the files or make alterations to them however I like to have them open so I can check class names and ids as I work. When I switched over at one point, I noticed that my nice, neat and tidy CSS file of around 190 lines was suddenly closer to 300. I couldn't work it out until I noticed that Microsoft Expression Web had separated out all my group declarations into separate declarations such i.e.:

    a, a:link, a:visited, a:active{
    text-underline: none;
    }

    Became:

    a:active{
    text-underline: none;
    }
    a:visited{
    text-underline: none;
    }
    a:link{
    text-underline: none;
    }
    a{
    text-underline: none;
    }

    Well done Microsoft, I thought you would have learnt your lesson after the fiasco that was Visual Studio 2003's HTML editing, what on earth were you thinking? I'm sure this is a simple setting I need to change (and I can understand why they've done it) but not having Internet access here there's no easy way of finding out (I've searched the help files) which means hours of careful CSS architecture have been completely trashed.

    So, as soon as I realised, I spent about 20 minutes meticulously working through the bunch of CSS files open reversing the mess Microsoft had made of them and promptly closed them, safe in the knowledge Microsoft Expression Web can't mess with them again. Or so I thought.

    A short while ago I needed to open one of the CSS files again to alter a few declarations and to my horror I found that the declarations had been ungrouped. I can't believe it, not content with simply altering the CSS files that are open, Microsoft Expression Web actually alters the CSS files on the FSO without you knowing.

    If you're ever thinking about using Microsoft Expression Web for CSS development then don't expect your files to be neat and tidy, in my case I would say the files were increased in size by almost 5x which ok may be 1Kb --> 5Kb but if you're getting tens of thousands of hits a day, that's a serious bandwidth increase.

    Not a happy bunny.

    # Saturday, February 10, 2007

    Automatically delete old IIS log files

    Saturday, February 10, 2007 4:23:10 PM (GMT Standard Time, UTC+00:00)

    This is a really useful little VBS script that I’ve been meaning to post for a while now (along with a couple of other little applications I’ve written for log file analysis). I don’t think I wrote this script but at the same time can’t recall where it came from.

    It basically traverses the FSO finding files with the designated extension and assuming the match the standard IIS date format, checks whether they’re older than x days, if they are deletes them. Running it is simple, place somewhere obvious on the server and just double click it. Alternatively if you want to read the output, run it from CMD. For safety’s sake, the first time you run it I would leave it just printing out the files that will be deleted.

    Personally I don’t schedule this script as although automation is great, I’ll probably have it delete the logs before I’ve had a chance to download them so what I tend to do is download the logs and then after that (or the next time I’m on RDC) I run it, I find that way I ensure I get all the log files i.e. if I go on holiday.

    I’ve got two other applications that I’ll post shortly, one outputs the location of the log files for each domain name within IIS and the other combines the log files into one for analysis –it also takes the exported file/folder locations and names the combined log files with the domain’s name –saves a ton of time!

    Download the VBS script as a ZIP file

    Option Explicit

    Dim intDaysOld, strObjTopFolderPath, strLogFIleSuffix, ObjFS, ObjTopFolder 
    Dim ObjDomainFolder, ObjW3SvcFolder, ObjSubFolder, ObjLogFile, ObjFile

    intDaysOld        = 5        'Number of days to retain on the server
    strObjTopFolderPath    = ""        'The location of your log files
    strLogFIleSuffix    = ".log"    'The suffix of your log files

    Set ObjFS = CreateObject("Scripting.FileSystemObject")
    Set ObjTopFolder = ObjFS.GetFolder(strObjTopFolderPath)

    For Each ObjDomainFolder in ObjTopFolder.SubFolders
    WScript.Echo("Folder: " & ObjDomainFolder.name)
        For Each ObjW3SvcFolder in ObjDomainFolder.SubFolders
            WScript.Echo("  Folder: " & ObjW3SvcFolder.name)
            Set ObjSubFolder = ObjFS.GetFolder(ObjW3SvcFolder)
                For each ObjLogFile in ObjSubFolder.files
                    Set ObjFile = ObjFS.GetFile(ObjLogFile)
                    If datediff("d",ObjFile.DateLastModified,Date()) > intDaysOld and lcase(right(ObjLogFile,4))=strLogFIleSuffix then
                        '*****************************************************
                        'DON'T UNCOMMENT THIS UNTIL YOU KNOW IT WORKS PROPERLY!!!
                        WScript.Echo("    Will delete " & ObjSubFolder.name & "\" & ObjFile.name)
                        'WScript.Echo("    Deleted " & ObjSubFolder.name & "\" & ObjFile.name)
                        'ObjFile.Delete
                        '*****************************************************
                    End If
                    Set ObjFile = nothing
                Next
            Set ObjSubFolder = nothing
        Next
    Next

    Set ObjTopFolder = nothing
    Set ObjFS = nothing
    Automatically delete old IIS log files
    Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [10]  Trackback LinkTrackback
    CategoriesTags: IIS | Windows
    # Saturday, November 04, 2006

    Free copies of the released versions of Windows Vista and Microsoft Office 2007

    Saturday, November 04, 2006 10:58:14 PM (GMT Standard Time, UTC+00:00)

    This is still unconfirmed and somewhat word-of-mouth etc atm but if you check out Ian Moulster's blog you'll see his post about Microsoft giving away free copies of the release version of Vista and Office 2007 check out his blog post to find out more.

    Hopefully we'll hear more before DDD Day