Dot Net Tricks

Articles about .NET, ASP.NET, C#, Object Oriented Programming and Agile Methodolgies
Welcome to Dot Net Tricks Sign in | Join | Help
in Search

Software Theosophy

sql server management studio has “backup sets” and “destinations on disk” disabled

I ran into this little gotcha a little while ago, so I thought I’d share it and break my blog silence.

One of our clients hosts their own sql server (express) and website, and I kept noticing that there was no way to do a backup.  When I went into sql management studio and tried to add a backup destination, it didn’t give an option for file name, only tape.  And the “Backup device” section was disabled. 

Even running the “backup” command from t-sql didn’t work.   It gave me an access error.  This was my clue.  The problem was that the sql express service was running as the “Network Service” login, which didn’t have access to any folders on the file system.  I gave it access to one folder, and then Management Studio let me pick destinations from the file system.  I was also able to add backups sets and run backups from the command line.  I could have changed the network service to run as “system” but didn’t to mess with someone else’s box. 

Pretty simple fix, but not very obvious what the problem was.
Published Tuesday, May 20, 2008 2:56 PM by Fregas
Filed Under: , ,

Comments

No Comments
Anonymous comments are disabled

About Fregas

Craig is currently the Lead Developer in Fort Worth, Texas for Enilon Group, a web development firm. He has been programming since 3rd grade (using the Commodoore PET) and professionally for the past 7 years. He has written several articles for ASPToday.com and co-authored the book "Beginning Web Programming using VB.NET and Visual Studio .NET" Currently, his favorite programming language is C#, but he has programmed in Visual Basic, T-SQL, Ruby, ColdFusion, ASP 3.0/VBScript, ASP.NET, Javascript, Java and even Pascal. Besides programming, Craig is best known for his cooking and his somewhat offbeat sense of humor.

This Blog

Post Calendar

<May 2008>
SuMoTuWeThFrSa
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Syndication

Powered by Community Server, by Telligent Systems