|
 |
aspx_espanol thread: Aun con problemas para desplegar datos!!!!1
Message #1 by "Jose Luis Davila" <wile79@h...> on Wed, 19 Feb 2003 23:10:27
|
|
Creo que el error Login failed for user 'DAVILA\ASPNET' se debe a que el SQL
server no esta reconocieondo al usuario para darle acceso. Prueba con el
nombre de cuenta "sa", y si eso fuenciona, crea un inicio de sesion en el
server de sql con el nombre de davila y dale especificamente permisos en esa
tabla.
Saludos
----- Original Message -----
From: "Jose Luis Davila" <wile79@h...>
To: "ASP.Net en Español" <aspx_espanol@p...>
Sent: Wednesday, February 19, 2003 11:10 PM
Subject: [aspx_espanol] Aun con problemas para desplegar datos!!!!1
> Hola!!!!
> Sigo teniendo problemas para desplegar datos en un datagrid, no se si tal
> vez sea que solo tengo instalado el sql server 2000 enterprise edition con
> los componentes de cliente.
> Al tratar de desplegar los datos me aparcer este error:
>
> disculpen mi ignorancia soy nuevo en desarrollo .net
>
> Error de servidor en la aplicación '/preinscripcion'.
> --------------------------------------------------------------------------
-
> -----
>
> Login failed for user 'DAVILA\ASPNET'.
> 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: Login failed
> for user 'DAVILA\ASPNET'.
>
> Error de código fuente:
>
>
> Línea 64:
> Línea 65: Private Sub Button1_Click(ByVal sender As System.Object,
> ByVal e As System.EventArgs) Handles Button1.Click
> Línea 66: OleDbDataAdapter1.Fill(DataSet11) <---- Aqui dice que
> hay error
> Línea 67: End Sub
> Línea 68: End Class
>
>
> Archivo de origen: c:\inetpub\wwwroot\preinscripcion\WebForm1.aspx.vb
> Línea: 66
>
> Seguimiento de la pila:
>
>
> [OleDbException (0x80040e4d): Login failed for user 'DAVILA\ASPNET'.]
> System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
> System.Data.OleDb.OleDbConnection.InitializeProvider()
> System.Data.OleDb.OleDbConnection.Open()
> System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection,
> ConnectionState& originalState)
> System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord,
> Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
> behavior)
> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
> startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
> CommandBehavior behavior)
> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
> preinscripcion.WebForm1.Button1_Click(Object sender, EventArgs e) in
> c:\inetpub\wwwroot\preinscripcion\WebForm1.aspx.vb:66
> System.Web.UI.WebControls.Button.OnClick(EventArgs e)
>
>
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaiseP
> ostBackEvent(String eventArgument)
> System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
> sourceControl, String eventArgument)
> System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
> System.Web.UI.Page.ProcessRequestMain()
>
>
>
>
> --------------------------------------------------------------------------
-
> -----
> Información de versión: Versión de Microsoft .NET Framework:1.0.3705.0;
> Versión de ASP.NET:1.0.3705.0
> ---
> Usted está suscrito a aspx_espanol como:
> informes@s...
> Para darse de baja, envíe un mensaje en blanco a
> %%email.unsub%%
>
|
|
 |