Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   MS SQL Server (https://www.clubdelphi.com/foros/forumdisplay.php?f=23)
-   -   Error en Attach Database (https://www.clubdelphi.com/foros/showthread.php?t=77310)

ASAPLTDA 13-01-2012 07:39:17

Error en Attach Database
 
Hola Foristas
Recibi varias 3 bases de datos (3 x.mdf + 3 y.ldf. y las las instale en un sistema de 32b con sql server 2008r2 instalado. Las pude adicionar al administrador de bases de datos y las pude ller usandoel cliene nativo 10 con delphi usando uld. Lastimosamente me toco reinstlar el sistema opertivo y use eloriginal de la maquina que es de 64bits. Reinstale slq seerver 2008r2 version 64 b y trat de leer laas bases de datos y hasta ahi llego la dicha no pude leerlas. Copie los archivos a e instale slq server 2008 en una maquina de 32b y tampoco puedo leerlas el mensaje que da es el el siguiente
y no leerlas. Aluno tiene una idea de que hacer? para este caso

Cita:

Attach database failed for Server 'ESPERANZA-PC\SQLEXPRESS'. (Microsoft.SqlServer.Smo)

------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdN...r&LinkId=20476

------------------------------
Program Location:

at Microsoft.SqlServer.Management.Smo.Server.AttachDatabase(String name, StringCollection files)
at Microsoft.SqlServer.Management.SqlManagerUI.AttachDatabaseData.PrimaryFile.Attach()
at Microsoft.SqlServer.Management.SqlManagerUI.AttachDatabase.SendDataToServer()

===================================

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------
Program Location:

at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(StringCollection sqlCommands, ExecutionTypes executionType)
at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQuery(StringCollection queries)
at Microsoft.SqlServer.Management.Smo.Server.AttachDatabaseWorker(String name, StringCollection files, String owner, AttachOptions attachOptions)
at Microsoft.SqlServer.Management.Smo.Server.AttachDatabase(String name, StringCollection files)

===================================

Unable to open the physical file "C:\LMC\RIVEROS-JANEK.mdf". Operating system error 5: "5(failed to retrieve text for this error. Reason: 15105)". (.Net SqlClient Data Provider)

------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdN...0&LinkId=20476

------------------------------
Server Name: ESPERANZA-PC\SQLEXPRESS
Error Number: 5120
Severity: 16
State: 101
Line Number: 1


------------------------------
Program Location:

at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)



La franja horaria es GMT +2. Ahora son las 18:54:01.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi