SQL Express 2005 instance is not starting up

  • Hi all,

    We get this error when the sql express 2005 instance starts

    "Could not allocate space for object 'dbo.LogTable'.'Pk_logTable_Srno' in database 'LogDB' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup."

    There is only one database in the instance and its ldf file is 3.75 MB and mdf file is 11 MB. And also the drive has enough space.

    One more things is the system has another instance of SQL Express 2005 running on.

    We don't have an idea which caused this error. Any help will be appreciated.

    Thanks

  • Sounds like the data file has reached its max size and autogrow has been turned off. Have you tried to expand the file?

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • This is that database properties for file

    FileType Filegroup InitialSize(11MB) Autogrowth

    --------------------------------------------------------------------

    Rows Primary 11 By 1 MB, unrestricted growth

    Log Not applicable 4 By 10 percent, restricted growth

    Will it be problem with these settings?

  • The log file is set to restricted growth. You may have reached that restricted growth size.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • The log file restricted 4 MB but the .ldf file is 3.75 MB only. So how to increase the log file size? The sql instance itself is not getting started..

  • Manually grow your log file (it seems your instance is started since you were able to retrieve those db settings already).

    USE [master]

    GO

    ALTER DATABASE [DatabaseName] MODIFY FILE ( NAME = N'DATABASENAME_Log', SIZE = 6MB , MAXSIZE = 20MB)

    GO

    Another option is to remove that maxsize restriction that you have.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • Instance is not yet started. I have occupied that ldf and mdf file to another instance data folder and then checked the settings. Now how to proceed to change the settings there?

  • The size of that database is not preventing your instance from starting. Check the logs and see if you have another error when you try to start the service for that instance.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • Thanks SQLRNNR. Will try to figure out if there is any other error

Viewing 9 posts - 1 through 8 (of 8 total)

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