Subir un MDF, sin el LDF

15/10/2004 - 20:57 por Montar un MDF | Informe spam
Requiero subir una Base de datos solamente con el archivo MDF.
Probe con el EXEC sp_attach_single_file_db @dbname = 'Base',
@physname = 'e:\directorio\archivo.mdf'

y me da el siguiente mensaje

Server: Msg 945, Level 14, State 2, Line 1
Database 'GASATA' cannot be opened because some of the files could not be
activated.
Server: Msg 1813, Level 16, State 2, Line 1
Could not open new database 'GASATA'. CREATE DATABASE is aborted.


Agradecere a alguien que me pueda ayudar.

Francisco Díaz
 

Leer las respuestas

#1 Maxi
15/10/2004 - 21:01 | Informe spam
ops!! es todo en el mismo servidor? o sea: donde estaba esa BDD tiene las
mismas configuraciones que el servidor actual?


Salu2
Maxi
Buenos Aires - Argentina
Desarrollador Microsoft 3 Estrellas .NET
Nunca consideres el estudio como una obligación sino como
una oportunidad para penetrar en el bello y maravillosos
mundo del saber.
- Albert Einstein



"Montar un MDF" <Montar un escribió en el
mensaje news:
Requiero subir una Base de datos solamente con el archivo MDF.
Probe con el EXEC sp_attach_single_file_db @dbname = 'Base',
@physname = 'e:\directorio\archivo.mdf'

y me da el siguiente mensaje

Server: Msg 945, Level 14, State 2, Line 1
Database 'GASATA' cannot be opened because some of the files could not be
activated.
Server: Msg 1813, Level 16, State 2, Line 1
Could not open new database 'GASATA'. CREATE DATABASE is aborted.


Agradecere a alguien que me pueda ayudar.

Francisco Díaz





Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.772 / Virus Database: 519 - Release Date: 01/10/2004

Preguntas similares