Error accesing log transaction tempdb database

Posted on 2004-11-23
Last Modified: 2008-01-09
I'm working whith SQL SERVER 2000 and Windows 2003 server. I move the tmpdb (with alter command) database since default location to other location in other hard disk. When my applications access to its own databases, the following error is displayed: "Fatal error 9001 ocurred at...(time of the troubble). I'm sure about de correct procedure to moving that database, but in my logs i see the message: "Error: 9001, Severity: 21, State: 1
The log for database 'tempdb' is not available..".

Thanks a lot!
Question by:soledad21
    LVL 16

    Expert Comment

    Exactly what ALTER command did you run?
    LVL 75

    Accepted Solution

    From BOL:

    Specifies an operating system file name. When used with MODIFY FILE, FILENAME can be specified only for files in the tempdb database. The new tempdb file name takes effect only after SQL Server is stopped and restarted.
    LVL 75

    Expert Comment

    by:Anthony Perkins

    I believe I answered the question.  The questioner needed to stop and restart SQL Server.
    LVL 16

    Expert Comment

    Yes, the points should go to acperkins.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
    The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
    Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
    Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now