colinramsay.co.uk

NHibernate on Mono with SQL Server - "Argument cannot be null. Parameter name: type"

22 Apr 2010

When trying to use Mono on OSX to run an existing website, I was getting the above error thrown by NHibernate. Thanks to this post by "sta.blockhead" I was able to understand that switching my NHibernate adonet.batch_size configuration to zero will bypass the issue.