You are viewing firefoxx74

29 March 2008 @ 08:26 pm
I spent a good amount of time recently, trying to get my head around error handling in ASP.NET 2.0. A summary of what I learnt can be found below:


  • Depending on the requested file, some error codes are handled in ASP.NET, and others are handled by IIS' Custom Errors.

  • ASP.NET passes unhandled exceptions down a chain of: Try/Catch in the page's code, Page_Error in the page's code, Application_Error in the application's global.asax, and finally the customError section of the applicaiton's web.config. If the error isn't handled by this point you'll probably get an ugly ASP.NET error page.

  • ASP.NET error pages, that is to say ASPX pages which use .NET, must be in the same application pool as the main application. So, several applications can share the same error pages.

  • Application pools can either be ASP.NET 1.1 or ASP.NET 2.0, not both. Of course the application pool can include classic ASP and HTML pages.

  • There's currently a bug, where an ASP.NET 2.0 application will override the web.configs (and subsequently crash) of any ASP.NET 1.1 applications beneath it, even if the ASP.NET 1.1 applications have their own web.configs.

  • Try and avoid infinite loops, if your ASP.NET error pages also have a problem with their code, you'll end up going round in a loop.



Error ASP / HTML / etc ASP.NET
401.1 IIS - Custom Error Passed to IIS
401.2 IIS - Custom Error Passed to IIS
403.2 IIS - Custom Error Passed to IIS
403.3 IIS - Custom Error Passed to IIS
403.4 IIS - Custom Error Passed to IIS
403.5 IIS - Custom Error Passed to IIS
403.6 IIS - Custom Error Passed to IIS
403.14 IIS - Custom Error Passed to IIS
404 IIS - Custom Error web.config
500 IIS - Custom Error web.config
 
 
27 June 2007 @ 10:12 pm
Wow  
I ordered a t-shirt for my wife, from a store in America. T-shirt itself was $20, with an additional $20 for shipping.

I get home tonight to find a FedEx card and a tracking number. Looking up this tracking number reveals:

Date/Time

Activity

Location

Details

Jun 27, 2007   9:30 AM






Delivery exception




 


BISHOPS STORTFORD GB 



Customer not available or business closed 



   6:45 AM




On FedEx vehicle for delivery

 



BISHOPS STORTFORD GB 



 



   6:15 AM




In transit

 


STANSTED GB 



 




   6:00 AM




At local FedEx facility

 


BISHOPS STORTFORD GB 



 



   5:26 AM




At dest sort facility

 


STANSTED GB 



 



   5:26 AM




Int'l shipment release

 


STANSTED GB 



 



   4:00 AM





In transit

 


PARIS FR 



 



   3:14 AM




Departed FedEx location

 


PARIS FR 




 



   2:49 AM




Arrived at FedEx location

 


PARIS FR 



 




   2:49 AM




Int'l shipment release

 


PARIS FR 



 



Jun 26, 2007   3:36 AM




Departed FedEx location

 


MEMPHIS, TN 



 



   1:22 AM




In transit

 


CHICAGO, IL 



 



Jun 25, 2007   11:28 PM





Departed FedEx location

 


CHICAGO, IL 



 



   10:49 PM




Left origin

 


HILLSIDE, IL 




 



   10:37 PM




Arrived at FedEx location

 


CHICAGO, IL 



 




   7:17 PM




Picked up

 


HILLSIDE, IL 



 



   12:43 PM




Package data transmitted to FedEx

 


 



 



 
 
12 June 2007 @ 12:03 pm
Does anyone have one of these? I've found a blog post, but it doesn't really answer my questions. I just want to know how powerful it is? (Benchmarks show very little).

I as looking at one to replace my ageing DP-500, and at least Media Centre can be added-to, to allow for MKV and DVD ISO's.
 
 
 
06 June 2007 @ 08:38 pm

TV + Amp
Originally uploaded by mindfieldz
Right, progress has been made.

As of tomorrow, my credit cards will be cleared. This includes some purchases that happened in the duration.

STR-DA3200ES

Has been purchased. All hooked up and working quite well. See the image over there for the final look.

DVICO TVIX M-5000A - DVICO TVIX M-5100SH
The h264 version of the 5000 player is now out, but people are reporting that it doesn't play .mkv files (which are starting to increase in popularity).

Canon EOS 400D

EOS 400D and extras (flash, lens, bag, battery) is now only £700. So very, very tempted.

Storage
The RAID card I was looking at has had less than glowing reviews. So not hugely sure what to do. Disk space isn't an issue at the moment, but it soon will be.

Holiday

Still on the cards. Most definitely late summer or autumn. Probably a tour in Iceland or Japan.

New Computer 2
Well, my main PC started to show its age, especially with more recent games. Have plumped for a Core 2 Duo E6400, 2GB RAM, and a 7600GTS; importantly this is a near silent rig, definitely quieter than the old one.

Dell 2407WFP

Still a potential, although the smaller 20" version, I realised did a good enough resolution (1600x1050).

Oh, and I updated my website
 
 
16 March 2007 @ 12:36 pm
I've finally managed to clear almost all of my £2,500 credit card debt that I've had since I was a student (5 years ago!). Just one more monthly payment and I am debt free, and that includes a £1,300 accidental buying of a new television in January. Of course, I still have a £14,000 student loan, but we won't go into that.

I am now planning my way back into debt. Of course, I could go down the sensible route of a trust-fund for any children I spawn, or help pay off my additional debt, or even start building a tidy sum for a rainy day. But where's the fun in that?

So. In no particular order. Things I might purchase in 2007.

Holiday
Iceland looks nice. But then again, so does Japan. Of course, there is nothing stopping me revisiting New York or Tallinn.

Expected Cost: £500-700

Canon EOS 400D
I've wanted one of these ever since they released the 6MP EOS 300D. Whilst the 5MP Canon PowerShot S60 we have is good enough; I'd still like to get a proper Digital SLR.

Expected Cost: £500 for basic model - £700 for basic model with lens kit

DVICO TVIX M-5000A
My current network DivX player is on it's last legs; the DVD drive is bust, and it struggles with many newer codecs. The M-5000A not only plays some of these newer codecs, but also supports HD resolutions.
However, I might wait 4 months until h264 (QuickTime) supporting players come out.

Expected Cost: £200 for basic model - £300 for model with hard drive

Sony STR-DA3200ES
Well. I need something to be able to switch multiple HDMI sources, if I purchase the TVIX player above. Whilst the 3200ES isn't the high-end model, it does enough.

Expected Cost: £600

Storage
A lot of my DVD and software collection is housed on a file server, saving me having to dig out a box of CD's every time I want to install software or watch a film. Somehow having 720Gb of files on a system which has no backup at all, is a bit scary.
So, purchase a RAID Controller (since Motherboard RAID rarely supports RAID5); and a bunch of these should do the trick.

Expected Cost: ~£500

New Computer
I last upgraded a computer when my last file server went pop (luckily drives were intact), but it's now the most powerful machine in the house (Athlon 64 3200+x2). Ideally, I want to upgrade our main computer too, so that games and things run a bit better.

Expected Cost: ~£500

Dell 2407WFP
I could get a smaller monitor; but with all the graphics, programming, and web design we do; it'd be nice to get something huge.

Expected Cost: ~£550
Tags:
 
 
27 February 2007 @ 04:10 pm
Technorati Profile

That is all.
 
 
20 November 2006 @ 11:48 am
http://news.bbc.co.uk/1/hi/technology/6164806.stm

To quote the BBC, who in turn quote someone else:

Last Updated: Monday, 20 November 2006, 10:32 GMT
"Can this game get any more unpredictable and exciting?" asked one user, Loretta Lurra on the official Second Life blog.

I hope not. People thinking it's "amazing" that their second strife game has been hacked, really really need to get out more.
 
 
30 September 2006 @ 02:09 pm
This is a test to see if RSS feeds work correctly, as well as local caching.

Nothing to see here.