sqlsce connection from visual studio 2013 server explorer - visual-studio-2013

I am trying to add connection to a sqlsce 4.0 sdf file from visual studio ServerExplorer.
I right click dataconnections, and click "add connection"
The dialog "Choose Data Source" comes up. But in the list of available data sources a SQLS CE is not available.
I tried downloading and installing SSCERuntime (from here: http://www.microsoft.com/en-us/download/details.aspx?id=17876) But the installation fails with message that I already have a later version of sqlsce installed.
So my questions are:
Why is not the sqlsce datasource available, and how do I get it available?
Since the installation tells me I already have a version of sqlsce installed, shouldn't this mean that a sqlsce datasource should be available in the add connection wizard in visual studio?

The runtime and Visual Studio tooling are not the same thing, but you can install my free SQL Server Compact Toolbox to get basic Server Explorer support (enough to be able to use the EDM Wizard)

Related

Impossible to load file or assembly TemplateWizardInterface when creating a Data Connector projet in VS CE 2019

Using Visual Studio Community Edition 2019, I am trying to create a Power BI Data connector with the Power Query SQK.
My VS install is fresh, nothing installed except strict minimum (I did not chose anything when Visual Studio Installer proposed).
After installing, I juste downloaded the SDK (https://marketplace.visualstudio.com/items?itemName=Dakahn.PowerQuerySDK&ssr=false#overview), double clicked on the file and it installed itself.
Back in VS, I want to create a project. I select Data Connector Project:
Then, I give it a name, click "Create" and I have this error message:
It says:
Impossible to load the file or the assembly "Microsoft.VisualStudio.TemplateWizardInterface ... or one of its dependances. The file cannot be found
How to solve this problem ?
To fix the problem, open up Visual studio Installer, modify the current VS version you have, go in the "individual components" tab, filter the search with "sdk visual studio". The SDK is (for me) at the end of the list. Install it and problem is solved.

SQL Server Compact 4.0 does not work in VS 2010 SP1

I've installed SQL Server compact 4.0 local database and I've added a database. However, if I try to open my database, an unknown errors occurs.
I tried to restart my VS 2010 after install the SQL Server, but it does not help and I cannot open my database.
How to resolve it?
Have a look at the following blog
In this blog you will see that you need to download an additional tool to make it work with visual studio 2010. The link to this tool is present in the same blog (search for the text below) or you may download it using the Web Platform Installer.
Visual Studio 2010 SP1 Tools for SQL Server Compact 4.0
I did not pay attention on a error message: "event log file full".
I just cleaned eventviewer in Windows and all became okay:).
I spied this topic:
I just emptied the event log and tried again:
Windows-R ("Run")
eventvwr
For each event log (in the left hand pane) right-click and select "Clear all events" (backing up the existing log if you care)

how to use sqllite db in visual basic 2010?

i found this tut in the web:
and i folowed the steps but when i try to add the db in visual basic but i get this :
and when i clic in ok i get this:
can any one tell me what i did wrong? and how can i fix it?
If you are using VS express edition:
http://system.data.sqlite.org/index.html/doc/trunk/www/faq.wiki
The design-time components are no longer supported for the Express
editions due to licensing restrictions.
check this forum thread :Using SQLite with Visual Basic 2010 Express
otherwise:
You need to install ADO.NET 2.0 Provider for SQLite and check "install designer component option" when you install System.Data.SQLite
Ones you install above, when you add data source select "System.Data.SQLite Database File (.NET Framework Data Provider for SQLite)"
click on new button and ones you done. check connection using "test connection" button.

How to make data access related features work on my Visual Studio 2010 installation?

(I'm sorry if this ought to be asked somewhere else)
I get the following error message each time I want to access some data-related feature from my VS installation:
That is either rewire my ORM of choice, or test a database connection visually through the Server Explorer, etc.
What exactly should I reinstall here?
I do have Compact Framework installed, just in case here is a list of the related programs and features installed on this environment.
You need the "Visual Studio 2010 SP1 Tool for SQL Server Compact 4.0" and same for 3.5 (assume they are already installed) - see http://erikej.blogspot.com/2011/01/sql-server-compact-40-released.html

visual studio 2010 team explorer

I have a project on vs 2010. I have tried to add project on windows server 2003 which has tfs 2010 installed. Later on I have switched to windows server 2008 and then installed tfs 2010 again. But I have changed server name.
Now, when I try to add project to tfs, I receive and error says that;
Team Foundation services are not available from server http://old server name:8080/tfs/. Technical information (for administrator): The remote name could not be resolved: 'old server name'
I have tried to add different projects but I havent received any errors. I am thinking problem is like, visual studio installed on my client computer has registered project with old server name and still tries the same server but team explorer can not find the server.
what shall I do?
PS: I am not tring to get my codes on old server. I did not use tfs, just wanted to learn it.
If you get the message when you open Visual Studio then you need to go to Team Explorer and click the "Connect to Team Project" button, then click on the "servers" button and remove the old server. If you need to you can also add the new server here.
If it's when you're opening the solution then you need to remove the Source Control bindings
open the solution and then go to "File", "Source Control", "Change Source Control" this will open up a screen where you can Unbind the Projects and Solutions from the old server.

Resources