i got that solved now but i am getting error very last step whihc is exec sp_dboption to single user
Usage: sp_dboption [dbname [,optname [,'true' | 'false']]] [SQLSTATE 42000] (Error 15241). The step failed.
what should it be done here..
thanks a lot