por favor ayuda!!!

23/12/2003 - 22:19 por JavierG | Informe spam
Hola grupo tengo un gran problema, necesito ayuda!!!!

Tenia en una Pc bases en MSDE son dos archivos

WEB_Datos.MDF y
WEB_log.LDF

EXEC sp_attach_db @dbname = N'NWEB',
@filename1 = N'd:\mssql7\data2\NWEB_Datos.MDF',
@filename2 = N'd:\mssql7\data2\NWEB_log.LDF'

Servidor: mensaje 5172, nivel 16, estado 15, línea 1
The header for file 'd:\mssql7\data2\NWEB_log.LDF' is not a valid database
file header. The PageAudit property is incorrect.

y cuando ejecuto

EXEC sp_attach_db @dbname = N'NWEB',
@filename1 = N'd:\mssql7\data2\NWEB_Datos.MDF'

me sale

Servidor: mensaje 945, nivel 14, estado 2, línea 1
Database 'NWEB' cannot be opened because some of the files could not be
activated.
Servidor: mensaje 1813, nivel 16, estado 2, línea 1
Could not open new database 'NWEB'. CREATE DATABASE is aborted.

aparentemente WEB_log.LDF esta mal.

como puedo hacer para que solo me tome el archivo mdf?

ayuda por favor!!!!

gracias
 

Leer las respuestas

#1 Isaías
23/12/2003 - 22:58 | Informe spam
¿Ya lo intento con el store sp_attach_single_file_db?

Preguntas similares