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