HTTPS fails on IIS7.5 after server restart

If HTTPS fails to start correctly following a server restart, but HTTP does. Try looking at the binding on the website which https is attached to; the act of looking (and clicking ok) will be enough to get https running again temporarily. But if it fails again on reboot, look at the logs, and in particular for the code 0x8009030d in …

Office 365, Microsoft Exchange, Outlook and Android Calendar Sync

My, this is harder than it needs to be. If you are using Office365, and have an address like clive@rectanglered.onmicrosoft.com, one of the big attractions is getting access to Microsoft Exchange’s push based shared calendar system. If you naively try to share a calendar from Office365, you will merely get a readonly copy – no use to anyone. Office365 does …

Fast SQL Server Inserting Data from .NET

Today we needed to insert a large amount (250,000 rows) of automatically generated data into a SQL Server database. Generating the data was very fast, but inserting each line with a SQL Insert statement, painfully slow, even if logging is in Simple Mode in the SQL database. So… we investigated the SQLBulkCopy function in .NET, but this is usually used …

Software Development Job in Stony Stratford, Milton Keynes

Rectangle Red are recruiting as of March 2014 – we are looking for another talented developer to join our growing team. Click here to see the main job specification and advert here and apply. If you’re a prospective job candidate, hello, and welcome! Please look at the main advert above for lots of details about skills we’re looking for, but …

Converting HTML to PDF in VB.Net with PDFSharp

An interesting little problem we’ve had to implement for a client recently; how to take an HTML (passed through as an email attachment), and convert it to a PDF in a VB.net command line program. There are lots of 3rd party libraries around that do that, but typically, they’re expensive and not terribly reliable, formatting the HTML that we wanted …