Hot answers tagged sql-server-2012-express
SQL Express creates database with AUTO_CLOSE ON by default. Auto close databases automatically close themself (and thus release the file handles) whenever there are no sessions using the database. This works 'as advertised', you just have to read the small print: True for all databases when using SQL Server 2000 Desktop Engine or SQL Server Express, ...
You are getting a permissions error. The account which is running the SQL Server doesn't have the needed rights on the folder which will contain the database files. You need to give the account which is running SQL Server (not your account) full control of C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA.
SQL Express is limited to 1GB for the Buffer Pool, but there are many other memory pools in SQL Server. What I find surprising is the excessive use of non-buffer memory pools. To find out memory usage per memory clerk, run this: SELECT type, SUM(single_pages_kb)/1024 AS MemoryMB FROM sys.dm_os_memory_clerks GROUP BY type ORDER BY 2 DESC Hope this helps
Based on our comment thread it sounds like you may have gotten yourself a bit sideways during install. The installer allows you to choose your default data directory and (I would assume) sets the appropriate permissions on that directory for the service account that you specified. In your CREATE DATABASE statement you're specifying a location, but was that ...
That's probably a Sharepoint backup. Restore it in Sharepoint, or ask for a SQL server backup Your error message shows that you are connected to a SQL 2008 server, not SQL 2012, and that the backup was performed on a SQL 2008 R2 server. You need an R2 server, or SQL 2012, to restore it.
Only top voted, non community-wiki answers of a minimum length are eligible