Buenas tardes compañeros,
Me podrían explicar como se tiene que realizar la configuración de los reportes cuando el origen de datos es "tabla/vista" ya que he realizado pruebas y no han sido satisfactorias.
El error que muestra al momento de generar el reporte es el siguiente:
System.Data.SqlClient.SqlException (0x80131904): An expression of non-boolean type specified in a context where a condition is expected, near 'AND'.
en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
en System.Data.SqlClient.SqlDataReader.get_MetaData()
en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
en System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
en System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
en System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
en System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
en System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
en Microsoft.Practices.EnterpriseLibrary.Data.Database.DoLoadDataSet(IDbCommand command, DataSet dataSet, String[] tableNames)
en Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(DbCommand command, DataSet dataSet, String[] tableNames)
en Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteDataSet(DbCommand command)
en Aseinfo.Infrastructure.Services.ReporteService.GetReportData(Reporte reporte, IDictionary`2 valoresParametros)
en c:\BuildAgent\work\89066541112bb801\Infrastructure\Services\Reportes\ReporteService.cs:línea 90
en Aseinfo.Infrastructure.Services.ReporteService.GenerateReport(Reporte reporte, IEnvironmentVariables variables, IDictionary`2 valoresParametros)
en c:\BuildAgent\work\89066541112bb801\Infrastructure\Services\Reportes\ReporteService.cs:línea 145
en Aseinfo.Infrastructure.Controllers.ReportesController.GenerarReporte(String codigoReporte, Dictionary`2 parametros, Boolean mostrandoEnDialogo)
en c:\BuildAgent\work\89066541112bb801\Infrastructure\Controllers\ReportesController.cs:línea 375 ClientConnectionId:b1648f08-5285-49f2-84f7-aba3d617b95b Error Number:4145,State:1,Class:15
Y la configuración del reporte es la siguiente:

Agradecería mucho su ayuda.
Jonathan, tienes que detallar el error para ayudarnos a entender la causa del error. Que da error exactamente ? la configuración del reporte, la generación del reporte, al momento de tratar de abrir el archivo de excel descargado? que mensaje de error se te presenta ?