Users must install SQL Server and create a database before using PaperVision Capture. When attempting to create a database in SQL Server for the first time, users may encounter an error stating CREATE DATABASE permission denied in database ‘master.’ This error is caused by a lack of administrative permissions for the user.
CREATE DATABASE permission denied in database ‘master’ when attempting to create a database
Version: R70
Article ID: PC000022
Description
Summary
By default, the Authentication type for logging into SQL Server is Windows Authentication, even if Mixed Mode is chosen as the authentication mode. By default in Windows Vista and Windows 7, users with administrative privileges in Windows will not be given administrative privileges in SQL Server. This means that if a user logs into SQL Server Management Studio using Windows Authentication as a Windows administrator, they will not initially be a SQL Server administrator. When a user with insufficient privileges attempts to create the Capture database, the above error will be thrown. To fix this issue, the Windows user must be added as a SQL Server administrator.
Follow these steps to grant a Windows user SQL Server administrative privileges:
- Open the Start menu, select All Programs, and open Microsoft SQL Server 2005/2008->Configuration Tools->SQL Server Surface Area Configuration.
- Select Add New Administrator.
- Enter a value for User to provision. The default value for this field is the user that is currently logged into Windows. The format for this field is Computer NameUser Name or Domain NameUser name.
- In the Available privileges pane, select Member of SQL Server SysAdmin Role on “Computer Name.”
- Click the single arrow pointing to the right to add that selection to the Privileges that will be granted to Computer NameUser Name.
- Click OK and exit the SQL Server Surface Area Configuration.