Noticed recently with the system.db.exec* functions for named queries, that if you mistype the named query path, it gives a crappy error.
It tells you that your parameters are wrong: Parameter mismatch. Expected: , but provided: [meterid]
When in reality, the Named Query you're calling doesn't exist.