The problem is a the nHibernate’s CreateSqlQuery needs a complete sql string to be created, but you can’t create a string until you’ve evaluated the parameters. The only work around is to evaluate the conditional parameters to create the sql string to create the nHibernate session and then revaluate the parameters again to add them…
Category: Code
Crystal Reports 13 Maximum Report Processing Limit Reached Workaround
In the Visual Studio 2012 version of Crystal Reports 13 there is a threshold that throttles concurrent reports, this also includes subreports, to 75 reports across a machine. This means if there are 5 web applications on a given server all opened reports across all 5 web applications counts toward the 75 report limit. The…
Considerations When Throwing Exceptions
A co-worker sent an email with some code he’s struggling with. He’s trying to avoid using try/catches to drive business logic. The problem is not the try/catches it’s simply a symptom of the problem. Can you spot the problem? You’ll have to make some assumption, but I have faith you’ll come to the same conclusion…
Setting up Single Sign On with Windows 2012 and ASP.Net MVC 4
Requirements Windows 2012 AD FS 2.0 Feature installed ASP.Net MVC 4.0 Valid SSL certs Visual Studio 2012 This document covers setting up an ASP.NET MVC 4.0 application using Visual Studio 2012, Windows 2012 and AD FS 2.0 to enable Web Single Sign On. It’s important to have valid SSL certificates. Self signed certificates will not…