“An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)” CREATE DATABASE permission denied in database ‘master’. (Microsoft SQL Server, Error: 262)

You may received this error if you are using SQL Server express with Windows Vista or Windows 7 and authentication mode is windows. This error can occurs if current user is not administrator. If current user is administrator right click on SQL Server Management Studio and run it as administrator. This error will gone.

#sql-server-2005, #sql-server-errors, #ssms-2005