HTTP/1.1 500 Error performing Query Connection: close Date: Wed, 21 Mar 2018 07:11:24 GMT Server: Microsoft-IIS/6.0 MicrosoftOfficeWebServer: 5.0_Pub X-Powered-By: ASP.NET Content-type: text/html The page cannot be displayed

Error performing query.

The template file contains an expression with parameters that are of different type. For example, an if tag comparing a string with a number would cause this error.