CREATE DATABASE permission denied in database 'master'.
- by MuraliVijay CSK
I have used this connection string to connect my database....
<connectionStrings>
<add name="connectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\Taxi.mdf;Database=Taxi;Trusted_Connection=Yes;" providerName="System.Data.SqlClient"/>
i got this error while running in IIS
Exception Details: System.Data.SqlClient.SqlException: CREATE DATABASE permission denied in database 'master'.
Cannot attach the file 'C:\Program
Files\Microsoft SQL
Server\MSSQL.1\MSSQL\Data\Taxi.mdf' as
database 'Taxi'.