none
Problemas para crear la BD de Ejemplo - Estrella 1 RRS feed

  • Pregunta

  • Estoy tratando de hechar a andar el ejemplo de la introduccion a Microsoft.NET (Estrella 1), y al ejecutar el batch crear_base.bat me presenta unos mensajes y no la crea...

    ¿Alguien puede ayudarme?

    Aqui abajo esta todo el mensaje....

    osql -S .\SQLEXPRESS -E -i "script_datos.sql"
    1> 2> 3> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12>
    Msg 1803, Level 16, State 1, Server PEA_05\SQLEXPRESS, Line 2
    CREATE DATABASE failed. Primary file must be at least 3 MB to accommodate a copy of the model database.
    1> 2> 3>
    Msg 911, Level 16, State 1, Server PEA_05\SQLEXPRESS, Line 2
    Could not locate entry in sysdatabases for database 'dce05_ejemplos_estrella1'.
    No entry found with that name. Make sure that the name is entered correctly.
    1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20>
    Msg 2714, Level 16, State 6, Server PEA_05\SQLEXPRESS, Line 3
    There is already an object named 'Productos' in the database.
    1> 2> 3> 4> 5> (0 rows affected)
    (0 rows affected)
    (13 rows affected)
    1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> Msg 1779, Level 16, S
    tate 1, Server PEA_05\SQLEXPRESS, Line 3
    Table 'Productos' already has a primary key defined on it.
    Msg 1750, Level 16, State 1, Server PEA_05\SQLEXPRESS, Line 3
    Could not create constraint. See previous errors.
    1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    (1 row affected)
    1>

     

    • Cambiado Fran Diaz jueves, 2 de julio de 2009 10:48 - (De:Net Protector)
    miércoles, 2 de agosto de 2006 13:05

Respuestas

Todas las respuestas