Error writing large files using OpenXML
We recently encountered a problem writing large files using OpenXML from an Office add-in. When run as an execuable the same code doesn't fail. The relevant part of the error message is "Unable to determine the identity of domain" which is from an IsolatedStorageException even though, at the time of the error, the code in question was writing to a MemoryStream. So what's going on?
Setting up SSL: Ubuntu and Apache 2
Doing anything in an unfamiliar environment is difficult though often obvious when you know how. So it was when we setup a new web server on a server running the Ubuntu distribution. However the information here is exactly right though not obviously so. The light bulb finally went on when we realized that the Apache2 implementation on Ubuntu uses a trick to enable and disable features.
On other distributions, Apache settings are contained in httpd.conf. On Ubuntu only a small number of directives are held in this file while module directives are in files in directory mods-available under the /etc/apache2 directory and web site directives are held in files in the sites-available directory also under /etc/apache2. A nice arrangement but the trick mentioned is that the main httpd.conf file will only include files in the mods-enabled and sites-enabled sub-directories. These two directories contain symlinks to the respective file in mods-available and sites-available sub-directories. A neat trick and obvious once the penny has dropped.
S3 Image Gallery
If you have images on Amazon's S3 then the S3 Image Gallery is a great way to be able to see them and share them in a web browser. Create any number of galleries, enter the name of the bucket containing your images and see your images in lightbox or slide show straight away.
(If you'd like to be able to store all your images on-line safely and inexpensively Amazon's S3 is a great place to store them)
Updating ClamAV
As of April 15th 2010 the version ClamAV used as the the virus scanning agent in the mail server built using the instructions in this post will nolonger update the virus database which means the virus scanner will no run and causes the mailserver to defer send emails. As a result the ClamAV modules MUST be upgraded. When you know how to upgrade this is straight forward.
Previous Articles
Welcome to Dev Blog
Not so much a blog as an extended favorites list. With hundreds of links saved in my browser favorites I miss the ability to add notes to explain to myself the reason for saving the link. A blog seems like a great way to record the notes and to make them searchable too. If you see something to help you that's great. If you see something is clearly not right, please let me know.


