简体   繁体   中英

Visual Studio 2012 CREATE DATABASE denied in database 'master'

I installed Visual Studio 2012.. but I noticed that it hasn't installed SQL Server. So when I try to create a database and add a connection and then test a connection, it tells me that I have an error that has to do with a failure to connect to a remote source.

So what are my options to install a SQL Server? Or is there any other option to create a database?

UPDATE:

I got to access.. but I get:

CREATE DATABASE denied in database 'master'

Visual Studio 2012 does install SQL Express, however it installs as (localdb)\\v11.0 rather than the traditional .\\sqlexpress. Take a look and see if you can connect to the localdb instance. This is a developer focused version of SQL Express.

For more information, take a look at this: http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx

Okay solved it. had to install sql management studio 2005 and run it as an administrator, then create a database there... damn, windows 7

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM