server-explorer

Visual Studio 2012 and MS Sql Server 2012 - connect with Server Explorer

拈花ヽ惹草 提交于 2019-12-11 16:22:21
问题 I have a problem establishing connection with Server Explorer in Visual Studio 2012 Ultimate with MS SQL server 2012 Express. Everything is on local machine. You can see screen shot here - http://s16.postimage.org/4gvo7r5id/se_prob_ss1.png With System.Data.SqlClient and SqlConnection.Open() everything work fine I'm able to connect and execute SQL scripts (with and without Windows Authentication). What I tried so far: I checked in MS SQL Management Studio in Conncetions "Allow remote

How can I determine what version SQL Server Compact a table is?

微笑、不失礼 提交于 2019-12-11 05:36:15
问题 I have some .SDF tables that are created in a Windows CE app (access table data is passed from a server app, and this is converted into SQL Server Compact records/tables). I want to look inside them from my desktop machine in Visual Studio 2010. But attempting to create a new Data Connection in the Server Explorer, selecting either of the two "Microsoft SQL Server Compact" Data sources (3.5 and 4.0) fails. When I choose 3.5 and then "Test Connection," it tells me: This is not a valid SQL

How to connect to SQL Server Express DB from Server Explorer VS 2010?

烂漫一生 提交于 2019-12-06 11:06:44
I'm trying to connect to SQL DB from Server Explorer to generate context classes for Linq to SQL. Doing it like described here: http://visualcsharptutorials.com/ado-net/querying-database-linq-to-sql/ I'm getting "This file is in use." error when I try to connect. Even if I stop SQL Server in Configuration Manager I get the same error. I can connect to DB using SSMS at the same time. What am I doing wrong? Is it possible to connect to a DB simultaneously from VS and SSMS? Thanks When you say I can connect to DB using SSMS at the same time this sounds to me as if you've attached the database to

How can a SQL Server CE database be simultaneously connectable and un-?

人盡茶涼 提交于 2019-12-02 16:09:34
问题 I have a SQL Server CE database in my Windows CE app. I can see it (HHS.sdf) in my project in Server Explorer: ...but the Columns folders for the tables won't expand; clicking them gives me: The path property for HHS.sdf reads: Data Source=Mobile Device\Program Files\hhs\HHS.sdf If the path is not valid, why is Server Explorer showing me the database at all? If I create a new connection in Server Explorer (by selecting "Add Connection..." from the Data Connections context menu), I can

How can a SQL Server CE database be simultaneously connectable and un-?

那年仲夏 提交于 2019-12-02 11:37:39
I have a SQL Server CE database in my Windows CE app. I can see it (HHS.sdf) in my project in Server Explorer: ...but the Columns folders for the tables won't expand; clicking them gives me: The path property for HHS.sdf reads: Data Source=Mobile Device\Program Files\hhs\HHS.sdf If the path is not valid, why is Server Explorer showing me the database at all? If I create a new connection in Server Explorer (by selecting "Add Connection..." from the Data Connections context menu), I can navigate to the .SDF file on the device (\Program Files\hhs), test the connection in the "Add Connection"

The specified module could not be found. Exception from HRESULT: 0x8007007E

依然范特西╮ 提交于 2019-11-30 06:38:19
Im getting the following message on a messagebox shown from visual studio when I try to do any modifications on an sql server database from visual studio's server explorer on my 64bit machine at home. The database was created and filled on a 32bit machine. Any thoughts? EDIT: Fixed it by replacing the corrupted dll located here: "C:\Program Files (x86)\Common Files\microsoft shared\Visual Database Tools\dsref80.dll" Just as a bit of a heads-up to anyone else coming here from Google... This happened (for me, and most people here ) as a result of installing VS11 Beta, and then un-installing VS11

How to connect to LocalDB in Visual Studio Server Explorer?

落花浮王杯 提交于 2019-11-26 13:52:48
I can't believe I couldn't find a working solution to this after an hour of searching. I'm following this article on Entity Framework 6.0 which gives a simple walk-through on Code First. I created the project and installed the latest EF Nuget package for the project to compile. I also verified that I have Microsoft SQL Server 2012 Express LocalDB installed which came with Visual Studio 2013. I don't have any other instances of SQL installed on my local computer. The program runs and entries are added to the database and outputted in the console. But when the article says "check your localdb"

How to connect to LocalDB in Visual Studio Server Explorer?

為{幸葍}努か 提交于 2019-11-26 05:54:48
问题 I can\'t believe I couldn\'t find a working solution to this after an hour of searching. I\'m following this article on Entity Framework 6.0 which gives a simple walk-through on Code First. I created the project and installed the latest EF Nuget package for the project to compile. I also verified that I have Microsoft SQL Server 2012 Express LocalDB installed which came with Visual Studio 2013. I don\'t have any other instances of SQL installed on my local computer. The program runs and