[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3917
  • Last Modified:

Error accesing log transaction tempdb database

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!
0
soledad21
Asked:
soledad21
  • 2
  • 2
1 Solution
 
muzzy2003Commented:
Exactly what ALTER command did you run?
0
 
Anthony PerkinsCommented:
From BOL:

<quote>
FILENAME
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.
</quote>
0
 
Anthony PerkinsCommented:
TheLearnedOne,

I believe I answered the question.  The questioner needed to stop and restart SQL Server.
0
 
muzzy2003Commented:
Yes, the points should go to acperkins.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now