This patch fixes a bug in mssqlconnection. Previously, it was only possible to create one connection; subsequent connections would be missing the dbconnection attribute.
The fix I've used seems sensible and it works for me. Is there any further testing I need to do?
Hope this helps,