Ahora necesito unpoco de ayuda, estoy con 2kpro con iis arriba, ademas asp.net y bd access, tengo el siguiene error de una consulta a la BD
Ha intentado ejecutar una consulta que no incluye la expresión especificada 'IIf([status]='ABIERTO',Date()-[datos_mod].[FCH_ASIG],[datos_mod].[FCH_MODIF]-[datos_mod].[FCH_ASIG])' como parte de una función de agregado.
Descripción: Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código.
Detalles de la excepción: System.Data.OleDb.OleDbException: Ha intentado ejecutar una consulta que no incluye la expresión especificada 'IIf([status]='ABIERTO',Date()-[datos_mod].[FCH_ASIG],[datos_mod].[FCH_MODIF]-[datos_mod].[FCH_ASIG])' como parte de una función de agregado.
Error de código fuente:
Línea 26: Comando3 = New OleDb.OleDbDataAdapter(SQL, objconn) Línea 27: ds3 = New DataSet() Línea 28: Comando3.Fill(ds3, "stft") Línea 29: MxDataGrid1.DataSource = ds3.Tables("stft").DefaultView Línea 30: MxDataGrid1.DataBind()
Archivo de origen: c:\inetpub\wwwroot\vansap\det_admin_grupo.aspx Línea: 28
Seguimiento de la pila:
[OleDbException (0x80040e21): Ha intentado ejecutar una consulta que no incluye la expresión especificada 'IIf([status]='ABIERTO',Date()-[datos_mod].[FCH_ASIG],[datos_mod].[FCH_MODIF]-[datos_mod].[FCH_ASIG])' como parte de una función de agregado.] System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32 hr) +41 System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult) +174 System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult) +92 System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult) +65 System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method) +112 System.Data.OleDb.OleDbCommand.ExecuteReader(Comma ndBehavior behavior) +69 System.Data.OleDb.OleDbCommand.System.Data.IDbComm and.ExecuteReader(CommandBehavior behavior) +5 System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36 ASP.det_admin_grupo_aspx.Page_Load(Object obj, EventArgs e) in c:\inetpub\wwwroot\vansap\det_admin_grupo.aspx:28 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750
--------------------------------------------------------------------------------
Información de versión: Versión de Microsoft .NET Framework:1.1.4322.2032; Versión de ASP.NET:1.1.4322.2032
Y cuando genero la query en access me mustra todos los daos.....
Si alguien me puede ayudar....GRacias
![Pensando](http://static.forosdelweb.com/fdwtheme/images/smilies/scratchchin.gif)
![Pensando](http://static.forosdelweb.com/fdwtheme/images/smilies/scratchchin.gif)
![Golpeado](http://static.forosdelweb.com/fdwtheme/images/smilies/pelea.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)