ayi <t>Please check that you've connected to master database and you not trying to rename system database. <br/> <br/> Please find more info here: https://msdn.microsoft.com/en-US/library/ms345378.aspx</t>