kirankkk2009 wrote:
Message=RESTORE cannot process database 'D:\WORKING DIRECTORY\WIN APPLICATION\NAKODA\DEVELOPMENT\BIN\DATABASE\CERP.MDF' because it is in use by this session. It is recommended that the master database be used when performing this operation.
So you are connected to the database you want to restore - fail. Do what the exception advises you to, connect to the master database and restore your database.
Never underestimate the power of human stupidity RAH