Installation Error... Code 402

If you are having a problem using Vault, post a message here.
Post Reply
aldersp
Posts: 2
Joined: Fri Feb 08, 2013 8:34 am

Installation Error... Code 402

Post by aldersp » Fri Feb 08, 2013 8:42 am

I am trying to install VaultPro 6.1 on SQL Server 2012, running on Win8 Pro in a VM Workstation 9 VM and get the following error (taking from the VaultPro_Install log)...

Read master_ddl.sql from our resources.
substituting collation for master_ddl.sql with collation SQL_Latin1_General_CP1_CI_AS
Creating the SourceGear master database...Error executing SQL command in master_ddl.sql-------
CREATE DATABASE [sgmaster] COLLATE SQL_Latin1_General_CP1_CI_AS
--------
CREATE DATABASE permission denied in database 'master'.
CreateDatabase Error2: CREATE DATABASE permission denied in database 'master'.
Vault Professional Setup is exiting due to a failure or cancellation. Error Code = 402
CREATE DATABASE permission denied in database 'master'.
Vault Professional Setup is exiting due to a failure or cancellation. Error Code = 402ExitCode on exit: 402

I am logged on as an admin. This is a clean install with all updates applied before trying to install VaultPro. I can manually create a DB using Management Studio. Any ideas anyone?

Many thanks

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Installation Error... Code 402

Post by lbauer » Fri Feb 08, 2013 11:34 am

Try launching the installer from a command prompt running as Administrator. Even though you are logged in as administrator, the installer may not be getting adequate rights to access the database.

http://www.softwareok.com/?seite=faq-Windows-8&faq=7

When you've opened cmd.exe, cd to the Vault installer directory and type the name of the installer and hit return. The Vault installer .msi will run as Administrator.
Linda Bauer
SourceGear
Technical Support Manager

aldersp
Posts: 2
Joined: Fri Feb 08, 2013 8:34 am

Re: Installation Error... Code 402

Post by aldersp » Fri Feb 08, 2013 1:18 pm

Perfect! That's done it!

Many thanks!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Installation Error... Code 402

Post by lbauer » Fri Feb 08, 2013 2:04 pm

Thanks for the update. That's good news. : )

Let me know if we can be of assistance in the future.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply