Archive for July, 2007

Causeway Lake Boat Hire site update

Tuesday, July 24th, 2007

I’ve just finished off some changes to Causeway Lake Boat Hire’s website. They’ve just introducted boat licensing and training so I’ve added a new page and played with the layout a touch. This was another of my very early sites which I reimplemented in XHTML and currently host.

Tuesday, July 24th, 2007

dsc_2870.JPG dsc_3261.JPG

Better photo of Cameron and Sian-lee

Monday, July 16th, 2007

As claimed, here is a photo of Cameron & Sian-lee at our wedding where S. doesn’t look like she sucked a bubble up her nose:

Cameron & Sian-lee

Security error when impersonating a user in an ASP.NET application

Thursday, July 12th, 2007

I was trying to get security impersonation working in an ASP.NET app so that database access would work correctly. For reference, to impersonate a user, add this to the web.config file:

The password is stored in plain text format, this is a bit scary but that looks like the way to do it. There must also be a way of using IIS to do the impersonation but I couldn’t get that up.

Now that the app is impersonating the MyDatabaseUser account, it no longer has access rights to the temporary ASP.NET folder. This gives a yellow screen of death with the following error:

Access to the path "C:\\Windows\\Microsoft.NET\\Framework\\v1.1.4322\\Temporary ASP.NET Files\\MyApplication\\XXXX\\XXXX\\hash.web" is denied.

To resolve this, the account needs to be given write permission to the temporary folder. Browse to "C:\[windows]\Microsoft.NET\Framework\[.net version]", open properties for the Temporary ASP.NET Files folder and go the Security tab. Add your database user account and give it the same permissions as the NETWORK SERVICE user (full control). Once this is applied the user (and therefore the application) will have access to the temporary folder root. Now you can move on to the next YSOD.

Die, robots, die!

Saturday, July 7th, 2007

die robots die

Aussie Tender Centre website touchup

Friday, July 6th, 2007

I’ve just finished up some changes to a site I developed about four years ago - the Aussie Tender Centre. This was the first commercial site I ever worked on, and it’s been running almost constantly, with very few issues and quite a bit of traffic. Check out the Virtual Tour link on the top menu bar - David (the manager) gives me a little plug :-D