i have to develop a windows phone 8 application with a local database, i would like to know if we can create a local database with SQLite or SQL Server Compact Edition in vs 2012 express edition, i ve installed this version but i can not find the server explorer !!!
try using SQL Server Compact Toolbox
Related
I am developing a C# application on Windows 10, under Visual Studio 2015.
I can see that I have installed on that PC Microsoft SQL Server 2005 Compact Edition, 2012 Native Client, 2014 Express LocalDB, 2016 Local DB and other stuff like this.
I did not voluntarily installed any of this, they must have been with MVS 2015 or with the Windows.
The app that I made throws an exception on a Windows 7 PC with Microsoft SQL Server Compact 4.0 SP1 and all the Microsoft SQL Server 2014 specific stuff (including Express LocalDB).
If I run sqllocaldb i command on Win10 PC I have only mssqllocaldb connection with 13.0.1601.5 version number.
On Win7 PC I have the same status except that the version is 12.0.2000.8.
When I run my application I get
This server supports version 782 and earlier, your version is 852.
What can I do so that I can run the app in both computers since I have SQL Server 2014 on both of them fully installed?
I have developed a C# desktop application. I need to deploy it in a client's machine. This app needs SQL Server 2008 R2. It is not feasible to set up SQL Server first and then my app. So, I thought of giving dependencies. Unfortunately the prerequisites option in VS has no option to include SQL Server 2008 R2.
It has only option for SQL Server 2005 Express and SQL Server 2008 Express.
How do I include SQL Server 2008 R2?
Sql Server 2005 express and Sql Server 2008 express come with below Limitation :
uses only 1 CPU
can use max of 1 GB of RAM
is limited to 10 GB of database size
you can use these software for individual system (desktop).
But Sql Server 2008 R2 is dedicated database server ,you can install it same system or separate system.
you need to write custom code for pre-detection Sql Server 2008 R2 Instance.
Below link would be helpful :
https://msdn.microsoft.com/en-us/library/a6t1z9x2.aspx
http://www.codeproject.com/Articles/16231/Deploy-your-Application-and-Database
I've created an application with visual studio c# and I've used an localDB.
When I start the application in computer with windows XP, 7 or 8 ( after installation of SQL Server 2014 LocalDB Express from this web site: http://www.microsoft.com/it-it/server-cloud/products/sql-server-editions/sql-server-express.aspx) works fine, but I the OS is win XP Embedded isn't impossible to instal localDB and I can't run my application.
can SomeOne help me?
I think the problem is that your embed win XP isn't ready to run the service AND / OR localDB. First I would update your Win XP asap than try it again.
If this hasn't fixed your issue you might want to use another pc or an embed win 7.
From Microsoft
Supported Operating System
Windows 7, Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows
Server 2008 R2, Windows Server 2008 R2 SP1, Windows Server 2012,
Windows Server 2012 R2
These are the operating systems for SQL Server 2014 Express. So how did you install it on an XP system?
I have a visual c# 2010 application that connects to the SQL server 2008 express.
How can I deploy my application including the database from sql server express without installing the SQl server 2008 express management studio?
Is it necessary to install sql server express in order to connect my application into the database?
I have installed the sp1 for visual studio 2010 and installed sql server ce 4 runtime. But still not able to create connection to the sql ce database using standart data provider.
This is how my Select DataProvider Dialog looks like now.
P.S.
Does not know if it matters, but I have tested this with console application and winforms application both targeted at .Net 4.0
You must install the SQL Server Compact 4 tools via Web PI, as described here: http://erikej.blogspot.com/2010/12/visual-studio-tools-for-sql-server.html
You can use this project/Tool to open/create sql ce databases:
SQL SERVER CE QUERY TOOL
And have a look at this:
Everything SQL Server Compact
Regards
Another option, just install the extension SQL Server Compact & SQLite Toolbox
from here http://sqlcetoolbox.codeplex.com or over VS Add Extension.