0

I opened "ASP.NET SQL Server Setup Wizard" using the command apsnet_regsql from visual studio 10 command propmpt(Run as Administrator).

In that wizard I selected Windows Authentication instead of Sql Authentication. When I tries to connect to Master Database I am getting the following exception

An error occurred during the execution of the SQL file 'InstallCommon.sql'. The SQL error number is 262 and the SqlException message is: CREATE DATABASE permission denied in database 'master'. Creating the TestDB database

and the SqlException is:

create database permission denied in database 'master' in windows authenticAtion.

I understand that I don't have permission to create database. But how and where can I give permission to do that.

So please help me and give a solution for my problem.Thanks.

4

1 に答える 1

0

sysadminまたはdbcreatorロールのメンバーであるユーザーとしてログインする必要があります。

于 2012-08-07T12:25:57.400 に答える