*****ERROR*****
Error 0001.
[Microsoft][ODBC SQL Server Driver]Communication link failure
SELECT * FROM Agenda WHERE (Fecha >= '01/7/2015' AND Fecha <= '01/8/2015') OR (FechaFin >= '01/7/2015' AND FechaFin <= '01/8/2015') Or (Fecha <= '01/7/2015' AND FechaFin >= '01/7/2015') AND ( isnull(id_Ayuntamiento,0)=1041 OR (isnull(id_Ayuntamiento,0)=0 AND ISNULL(qv429.Agenda.Pais,'ES')='ES'))