Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Crotalus
Starting Member
16 Posts |
Posted - 2007-08-06 : 17:43:26
|
| I really needed to move the tempdb file to another hard drive, so I used this bit of code.USE mastergoALTER DATABASE tempdb MODIFY FILE (NAME = tempdev, FILENAME = 'E:\tempdb.mdf')goALTER DATABASE tempdb MODIFY FILE (NAME = templog, FILENAME = 'E:\templog.ldf')goNow sql server manager won't even start. The log files says"tempdb.mdf is not a privary database file. CREATE DATABASE failed. Some file names listed could not be created.WARNING: problem activiating all tempdb files. See previous errors."Any ideas on how to make this program work again, without reinstalling it? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-08-06 : 17:57:19
|
| http://support.microsoft.com/kb/313702Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
Crotalus
Starting Member
16 Posts |
Posted - 2007-08-06 : 22:23:07
|
| I don't think it is a permissions problem. I only have one user and that user has administrative rights. By the way that should say "primary" and not "privary". |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|