This issue is the same as previously reported #1286792: Exception: SQLSTATE[HY093]: Invalid parameter number in Views. I get an 'Exception: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined' when I try to filter a taxonomy term in a view. I upgraded from Drupal 7.8 to 7.12 as per the discussion, but same problem. Running Acquia Install profile 7.x-1.7 before core upgrade to 7.12. Difficult to tell what version Drupal 7 driver for SQL Server module version is in this install (can I maually install this in all modules if it is in install profile too?)

Using Views 7.x-3.1, ctools 7.x-1.0-rc1

Comments

mlittler’s picture

The patch found here fixed my issue: http://drupalcode.org/project/sqlsrv.git/commitdiff/ff2d65e27fbcbcb0ca9bd8901b9e149e70c6e1d9.

I am having the same issue. When attempting to filter by taxonomy in Views I get the error message: "SQLSTATE[HY093]: Invalid parameter number: parameter was not defined."

I'm using:
Drupal 7.12
Views 7.x-3.3
sqlsrv 7.x-1.2

If anyone has a workaround or suggestions, please let me know! I have to get Views working or we're going to have to switch to MySQL and lose a ton of work.

artusamak’s picture

Status: Active » Postponed (maintainer needs more info)

You mentioned that your problem was solved. Is it the case?

david_garcia’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (fixed)

Mentioned patch is commited, thus this looks solved.