Friday, June 29, 2007

Sharepoint Unexpected Error Page

Have you ever been programming in SharePoint and get the most wondrous and detailed error page:

An unexpected error has occurred.

I swear that I used to get that error everyday. Then I would have to try to debug what was causing the error. About a year ago I had found a way to turn this page off and get the actual error page with all the exception information (i.e. Error message, stack trace, source, etc.). Unfortunately I didn't blog about it and had to go looking for the solution again when I moved to a new server that didn't have the solution in place. For my notes and yours if you need it, here's the solution:


  1. Open to the web.config file from the virtual directory containing your SharePoint application.

  2. Change the line <SafeMode MaxControls="50" CallStack="false" /> in the element to: <SafeMode MaxControls="50" CallStack="true" />

  3. Save and close the web.config file.



You must also ensure that the <customErrors > element is configured properly in the web.config file. Disable the <customErrors> element by setting the mode attribute to "Off":

<customErrors mode="Off" />


Originally found on the page: http://www.devx.com/dotnet/Article/17518/1954?pf=true

Friday, June 22, 2007

Nice accordion Widget

I found a very nice accordion widget. Check it out:

http://aariadne.com/accordion/

Tuesday, June 19, 2007

Instant: The polaroid of Ajax

I found a javascript library that takes your image and replaces it with "polaroid" like images. It seems pretty cool. Check it out:

http://ajaxian.com/archives/instant-the-polaroid-of-ajax

Wednesday, June 13, 2007

Professional Video Gaming

I totally missed my calling in life: http://www.thecgs.com/

If I had known that there was going to be a professional video gaming league when I was choosing my career, I definitely would have made a few different choices. Their site says that the total salary payroll will be $5 million. I'm soooooo jealous!!

Wednesday, June 06, 2007

TrueCrypt is Truly Cool

Security is a pretty big thing now a days. Everywhere you look there is personal information getting stolen and abused. A friend of mine mentioned to me several months ago about a security software he's been using for some time. I wasn't really interested at the time because I really didn't see the need for it. Recently I noticed that I'm having a lot of personal information sitting on my work computer that I'd rather not have my employer or coworkers getting access to. So I emailed my friend and he was kind enough to tell me again the name of the software. The software is called TrueCrypt.

This software is pretty darn cool. I was up and running in less than five minutes. I was a little daunted at first in getting started but they include a very good tutorial (PDF) on how to install (installation is optional) and start using TrueCrypt.

TrueCrypt let's you create an encrypted volume that then can be mounted as a drive. It has oodles of options for encryption types, hash methods, etc... When a volume is mounted, the encryption is seamless and done on the fly. When a volume is unmounted, the data is encrypted and unreadable. To mount a volume, a strong password is required.

One cool feature is that you can put TrueCrypt's software files on a USB flash drive and then put the encrypted volume on the same USB flash drive. This allows you to carry your information with you in an encrypted format and be able to access it whenever you need it (you will need admin privileges on the computer that you try to run TrueCrypt on).

Another nice feature is that they have both Windows and Linux versions of their software and their encrypted volumes are compatible with either version. The Windows version allows you to setup 'Hot Keys' that will mount the drive and unmount the drive quickly. Unfortunately the Linux version is command line only, which isn't terrible but makes it less usable for those wanting the 'Hot Keys' functionality.

I definitely recommend this tool.

http://www.truecrypt.org