Archive for the 'windows' Category

IIS, basic authentication, permissions and include file

Tuesday, September 11th, 2007

Occasionally I have a problem to solve that burns some serious time and makes me doubt my ability in my chosen field, and this was one of them until a “eureka” moment a few minutes ago..

I had been struggling with using basic authentication (over https) with IIS to lock down access to a particular (classic) asp script. Not really an expert in windows permissions, I had been trying all sorts of combinations of folder and file permissions to get this to work, but I was getting a permission denied error whenever I tried to login using an account I had set up. After far too long and realising that I could get it to work with a plain text file, but not my asp file, I realised that my asp script had a load of include files which sat in a different folder, and I needed to give execute permissions for my trusted user to these too.

If only it hadn’t taken me something like eight hours to work that out, I might just be in bed now!

Recent windows update “monkeys” with Plone as service

Tuesday, February 20th, 2007

A bit of an exaggeration maybe, but I thought I would blog this just in case anyone encounters the same problem. A client phoned yesterday to say that his Plone (2.0.5 on W2K3 server) intranet wasn’t working and could see that the python/zope service was not starting. As it had been running fine for months previously (albeit a bit of memory leakage), my first question was if anything had changed on the server. Other than windows updates, nothing had changed. Not being a windows expert and having burnt through hours trying to resolve a previous plone issue on their old windows server, I threatened to go over there and install vmware and give him a virtual machine running linux or FreeBSD to run the Plone intranet on. At that moment, the unix-phobic client spotted that where he had previously set the IIS https/ssl service to manual startup, the recent updates had reset it to automatic. This was stopping Zope binding to one of the ports (or something like that), hence the service failing on startup.

This was a fairly obscure, but it just goes to show that sometimes the mere mention of unix can sometimes solve windows problems :-)

freeSSHd - ssh and sFTP server for windows

Monday, September 25th, 2006

Being as paranoid as ever I decided that normal ftp was too insecure for my windows server (particularly when developing using dreamweavers ftp-on-save on an open wifi network), so I am experimenting with freeSSHd, to provide me with an sFTP server. This appears to be right up my application, as it has a GUI for managing the users, home folder etc. and a nice easy button to press to start and stop it. It also runs as a windows service.

Mobile web and AJAX

Sunday, September 24th, 2006

I tried out a friends pocket pc (or is it windows mobile now?) smartphone recently - a cool little device with a slide out QWERTY keyboard (I think it was a variation of this htc device). It also had wifi support so I thought I would try to blog from it. However, he hadn’t got opera installed and the wordpress gui completely failed to work in pocket internet explorer. I’m sure there is a solution to this, but I was disappointed that the wordpress online admin didn’t gracefully degrade.

This is something to consider when designing web apps - whilst AJAX could potentially be used to provide huge usability enhancements to people using mobile web devices with small screens - the majority of people are going to be using windows mobile with pocket internet explorer - your app should work with no javascript support at all. and then be progressively enhanced with AJAX as a seperate consideration.

return of the mac

Friday, September 22nd, 2006

i’ve now gone full circle and am using my powerbook (plus second monitor, keyboard, mouse etc) as my main work machine. The windows laptop now sits on the edge of the desk so I can reach over for IE testing. Using windows as my main machine drove me mad. unexplained freezes, random system tray frenzied disco icon action, “insufficient ram” messages, despite me having over a gig of it and only using about 200mb of it. Flakiness.
Being back on the mac feels lovely, even if I do have to skate a couple of miles with it in my backpack to get it here. The battery now only gives me about 30mins - new one on order (wait, did I already blog that?).

Someone else here is using an intel mac mini with a stack of ram and parallels for windows testing. works a treat. need to distract them and steal it!

Initialise thunderbird spellcheck

Thursday, September 7th, 2006

As I have a fresh install of windows on my work laptop, I also have a fresh install of thunderbird. When I started using it, it was underlining everything I typed as if misspelled. It obviously wasn’t initialised or didn’t have a dictionary installed. I couldn’t see anything under options, so I tried installing an extra language to see if that would kick it into life. First mistake, I accidentally installed the language pack into firefox instead of thunderbird - make sure to read the instructions before installing, which does warn you of this -but I hardly ever read instructions.. Anyway that didn’t fix it.

What did get it working in the end was pressing the spellcheck button within a message compose window and choosing a language…

ubuntu on HP nx6110

Wednesday, September 6th, 2006

I needed to reinstall windows on my work laptop as it was getting a bit sketchy and unreliable in that undefinable way, so I took the opportunity to repartition the disk and set it up as a dual boot machine, with ubuntu. I created a primary 15gb partition for windows and installed win xp in the usual way, then used the partitioning tools in ubuntu to create a 15gb partition for data (Ext3 to be shared between windows and linux, by installing these ext3 drivers in windows), and a 6gb partion for the ubuntu install. It all went fine, but the wireless card isn’t recognised by ubuntu. I’ve looked into it - apparently I can get it working using some windows driver voodoo that goes by the name of ndiswrapper. I haven’t tested how/if ubuntu handles sleep and dual monitors yet, but will do at some point.

IE7 plays peekaboo to a new level

Friday, September 1st, 2006

The first site i’ve had to fix for Internet Explorer 7 is our very own www.netsightmcc.co.uk (Netsight Metropolitan Colocation Centre - the website for our Bristol datacentre). It appeared that in IE7 RC1, none of the content of anything other than the homepage was visible. We were only alerted to this by a potential customer phoning up for more information, which the site seemed to be lacking.

The reason for this appeared to be an even more aggressive version of the so-called peekaboo bug found in IE6, although this site works fine in IE6. By applying a (hack) of a 1% height to a div that contained the missing content, it now appears to be working OK in IE7 RC1. I haven’t filtered this hack out into an IE7 specific stylesheet yet, but will if I spot any undesired side effects. Maybe there’s a better way of fixing this? Time will tell, or maybe a stranger will.

Don’t play games with your business email hosting. Find exchange email outsourcing priced just right for your mid sized company. We feature Microsoft Exchange server and ColdFusion web hosting which will make your business look big.

IE7 RC1 standalone version

Thursday, August 31st, 2006

You can download this here, run an installer and have Internet Explorer 7 Release Candidate 1 running alongside, and without overwriting, IE6. very handy indeed, if you need to start testing in IE7 (which i’ve been trying very hard not to do!).

itunes ignores file import

Tuesday, August 8th, 2006

on windows itunes seemed to be ignoring my attempts to import a video file. turned out either the file name was too long or it objected to something in the file name. After renaming it it worked fine.