Majestics 84 Posting Pro

http://www.daniweb.com/software-development/csharp/threads/202843/take-backup-of-sql-server-database-using-c

Error :
Back failed for Server

I am using smo code from this thread , but it cant backup...