Having problem starting SQL Server Express

  • Hi

    I am using Microsoft SQL Server Express 2008. It is running on Windows XP Pro, with 10Gig hard disk free space

    and 3gig RAM.

    I installed SQL Server Express 2008 about one month ago. It was working fine till last night. When I try to

    switch on sql server through service. I am getting following error ;

    service-specific error code 1814

    I am lost here. Why suddently stop working.

    Please could some help me. I have working database and I don't want to loose it.

    many thanks

  • This error is related to tempdb, SQL Server is not able to allocate space to tempdb.

    Do you know where your tempdb resides, if yes check the drive and free up some space.

    else if you don't know this then:

    At command prompt in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn run

    sqlservr.exe -c -m -T3608

    then open another command prompt run

    sqlcmd -A

    ALTER DATABASE tempdb

    MODIFY FILE (NAME = tempdev, FILENAME = '{new location}\tempdb.mdf');

    ALTER DATABASE tempdb

    MODIFY FILE (NAME = templog, FILENAME = '{new location}\templog.ldf');

    Now stop the cmd shell by ctrl + c

    then shutdown the server and start it again in normal way.

    If it work then just say thanks. Will wait for your response.

    Thanks,
    GG;-)

  • Thanks

    tempdb.mdf and templog.ldf files is located on my C drive as below.

    C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS2008\MSSQL\DATA

    I have 10gig free space on C drive and I have 3 gig RAM on my computer.

    So I don't understand, why is the problem creating tempdb.mdf

    I would appreciate your help.

    Many thanks

  • May be your tempdb need more then fre space so please follow the steps which I have given and also add datafile size to 2MB in alter db command.

    Thanks,
    GG;-)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply