I use Visual Studio 2012, my question is: when I clicked on Project->ASP.net configuration, can I get aspnetdb.mdf file for SQL Server 2008 Express, because hostings in croatia doesn't support SQL Server 2012? :)
You have to modify the web.config file properly and put the connection string to use an existing 2008 database for pas.net configuration.
Related
I was recently using SQL Server 2012 which was connected properly with my SSMS (SQL Server Management Studio). Then I downloaded SQL Server 2016 yesterday and installed it.
Problem is, when I run SSMS, it opens up SQL Server 2012 instead of 2016. How can I make SSMS point to SQL Server 2016?
Thank you!
Are you talking about the version of SSMS you want to use or the default instance?
One is a question that involves changing your windows shortcut, the other probably requires you to lookup the instance name in the SQL Server Configuration tool and using this when you connect
2012:
"C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe"
2016: "C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\Ssms.exe"
config manager
2016: C:\Windows\SysWOW64\mmc.exe /32 C:\WINDOWS\SysWOW64\SQLServerManager13.msc
I have Sqlserver 2005 Express Edition only. and VS 2005. How to i create my .sdf file. and how to create tables in that file...
I am developing a SmartDevice Application. if any possible to access the Sql server 2000 DataBase without using .SDF file.
Note: in my system i have VS 2005, SQL SERVER 2000, SQL SERVER 2005 Express Edition. And aslo i installed MS-SQL SERVER 2005 Compact Edition Developer SDK[ENU].
In my Sql server 2005 Studio, there is no any sqlserver compact edition in the EngineType Combo.
what are the things i need to do.. to perfectly run my application with Data Base.
Thanks, Thanks for previous one also.
To manage your SQL Compact 3.1 database file from Management Studio Express, you must install Management Studio Express 2005 SP2.
Hi I have a Visual Studio solution and an ASP.NET MVC project that uses a SQL Server Express 2005 database file in the App_Data. I want to know how I can upgrade this file so it works for SQL Server Express 2008 ?
Thanks
You can issue the Attach command in SQL Management Studio 2008. It will name the database with the path to the .mdf, but it'll use it no problem.
The database will be in 2005 compatibility mode, but you can certainly change that yourself as you see fit.
All you have to do is create a backup (.bak) of your 2005 db and then restore it on your 2008 Express server. It's that simple.
If you want to deal with it on the file level, simply detach from 2005 and attach to 2008. If it's solution-created in your AppData all you should have to do is move it to the newer project.
alt text http://img714.imageshack.us/img714/4514/sqlserver.jpg
Looks like this database is actually 2008 from what that compatibility level says so I think I am ok. I figured out how to attach the file in SQL Server management studio but thanks for mentioning about the compatibility mode.
I tried out making a backup and then restoring it using the backup file as a database and it made a new mdf file in the same folder as the original which is what I wanted, wasnt very clear that it was going to do that. Thanks
i install visual-studio 2008, part ot the installation is the sql server 2005 express.
how i can manage this sql server ?
is there any visual tool for making tables ? run queries ?
thank's in advance
Download SQL Server 2008 Management Studio Express from Microsoft's homepage!
You need to download Sql Server Management Studio Express. You can download it from Microsoft.com.
I use Visual Web Developer Express Edition 2008 and SQL Server 2008 Express edition. I have finished a project recently. But many of hosting firms don't have SQL Server 2008. So i decided to uninstall SQL Server 2008 and install SQL Server 2005. Then I would reproduce my database. I uninstalled SQL Server 2008, installed SQL Server 2005. In project, When i clicked "App_Data - Add new item - SQL Server Database", an error accured "Connections to SQL server files (*.mdf) require SQL Server 2005 to function properly. Please verify the installation of the component or download from the URL: http://go.microsoft.com/fwlink/?linkId=49251". I couldn't add a new database to my project.
So how do i integrate SQL Server 2005 Express Edition to Visual Web Developer 2008 Express Edition?
Check the setting under Tools > Options > Database Tools > Data Connections for the SQL Server Instance Name refers to the name of your SQL Express 2005 instance.
Check SQL Server Express is running using the SQL Server Configuration Manager.