problema conectar bbdd access
Publicado por Juan Carlos Durán (2 intervenciones) el 14/02/2008 12:57:30
Buenas, estoy intentando conectar con una base de datos de access, pero siempre recibo este error, si me pudieran ayudar, se lo agradecería eternamente, Gracias
No se pudo bloquear el archivo.
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: No se pudo bloquear el archivo.
Error de código fuente:
Línea 185:
Línea 186: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Línea 187: Me.OleDbDataAdapter1.Fill(Me.DataSet11.Instituto)
Línea 188: Me.DataBind()
Línea 189: 'Introducir aquí el código de usuario para inicializar la página
Archivo de origen: c:inetpubwwwrootNewConectar BDWebForm1.aspx.vb Línea: 187
Seguimiento de la pila:
[OleDbException (0x80004005): No se pudo bloquear el archivo.]
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.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataTable dataTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
NewConectar_BD.WebForm1.Page_Load(Object sender, EventArgs e) in c:inetpubwwwrootNewConectar BDWebForm1.aspx.vb:187
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
--------------------------------------------------------------------------------
Información de versión: Versión de Microsoft .NET Framework:1.1.4322.2407; Versión de ASP.NET:1.1.4322.2407
No se pudo bloquear el archivo.
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: No se pudo bloquear el archivo.
Error de código fuente:
Línea 185:
Línea 186: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Línea 187: Me.OleDbDataAdapter1.Fill(Me.DataSet11.Instituto)
Línea 188: Me.DataBind()
Línea 189: 'Introducir aquí el código de usuario para inicializar la página
Archivo de origen: c:inetpubwwwrootNewConectar BDWebForm1.aspx.vb Línea: 187
Seguimiento de la pila:
[OleDbException (0x80004005): No se pudo bloquear el archivo.]
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.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataTable dataTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
NewConectar_BD.WebForm1.Page_Load(Object sender, EventArgs e) in c:inetpubwwwrootNewConectar BDWebForm1.aspx.vb:187
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
--------------------------------------------------------------------------------
Información de versión: Versión de Microsoft .NET Framework:1.1.4322.2407; Versión de ASP.NET:1.1.4322.2407
Valora esta pregunta


0