SQL Server 2008 R2 Express cant connect to my editors - sql-server

I'm using SQL Server 2008 R2 Express to edit my database. I can edit my database with query codes but there is a editor program which can help me to edit my database easily.
But when I'm trying to open this editor program, I get an error:
No SQL Server or there is no connection
In my opinion SQL Server 2008 R2 can't connect with this program basically. This editor program has an option.ini and I can write my database name and local.
Those editors were working for old SQL Server versions. But my database is suitable for SQL Server 2008 R2 express.

Related

SQL Server Database Migration Assistant: Cannot connect to server

I am trying to migrate a database in-place (same PC) from SQL Server 2008 R2 Express to SQL Server 2019 Express, by using DMA (Database Migration Assistant). But I cannot connect to the target server (2008) during the "Assessment" task.
I have installed SQL Server 2019 as coexisting installation assigning the following instance names:
MSSQLSERVER (default name assigned during SQL Server 2008 R2 installation)
MSSQLSERVER2019 (different instance name assigned during SQL Server 2019 installation)
The PC is named DESKTOP1 and this results into the following server names:
DESKTOP1 for SQL Server 2008 R2
DESKTOP1\MSSQLSERVER2019 for SQL Server 2019
Both the server names work fine and I can normally connect to the servers by means of Management Studio.
The weird behaviour is that during the database assessment task, I couldn't connect to the source database server (DESKTOP1). Then I tried to go directly to the "Migration" task and I was able to connect. After this I went back to the "Assessment" task and (kind of magic) I was able to connect to the server DESKTOP1.
Do you have any clue about this issue? It looks like during Migration task there is something that enable the server connection.
Thank you!

Export SQL Server 2014 database (2008 compatible) in a backup file compatible with 2012

I'm a bit stuck with this scenario. My dev VM has SQL Server 2014 on it, and I've been working on a SQL Server 2008 database. The 2008 database is listed as '2008 compatible'. I now need to put this on a demo server which has an older edition of SQL Server (2012), and I find that 2008 compatible DBs don't create 2008 compatible backups (which I would have thought would be a given).
I'm actually trying to backup from SQL 2014 and recover into SQL Server 2012. How do I get a SQL Server 2008 or SQL Server 2012 compatible backup file from my 2008 compatible database?
Thanks.
You have to script the SQL database creation, in SQL Server Management Studio :
right click on the DB -> Task -> Generate script
From there a series off dialog to choose what to generate with the SQL command creation and where, in clipboard or file (recommanded for big DB), with optionally the data as some Insert Into SQL command. To find the data option click on the "Advanced" button and search for "Type of data to script"

if i create my database with sql server 2008 r2 management studio

I Create my database with sql server 2008 R2 .
now when setup this software in other computers must install sql server 2008 R2 management studio ?
not exist other way ?
and how i set SqlConnection that run at other systems.
(i connect to database with data connection in visual studio)
thanks.
Exist other way. I mean, there are other ways. Nearly any software that can connect to a database created in SQL Server 7, 2000, 2005 or 2008 is capable of connecting to a database created in SQL Server 2008 R2.
SQL Server Management Studio is used when a human user wants to connect to the database, but not when software connects to it.

Inserting data from SQL CE database into SQL Server 2008 R2

I have a sample SQL CE database file (.sdf) got from another machine. But in my machine I do not have SQL CE. I want to read this data into a SQL Server 2008 R2 database. How can I do it?
Note: When I try to open (FileopenFile) the .sdf file using SSMS, it says “There is no editor available for ‘D\Samples\MyStore.mdf’. Make sure the application for the file type (.mdf) is installed”.
Thanks

VB.NET - Switch Network SQL Server 2008 R2 Database to a mobile SQL Server CE *.sdf File

I have developed a VB.NET program using a strongly typed dataset. This dataset has its connection to a SQL Server 2008 R2. The software should now be additionally used offline. The database should be exported to a *.sdf database. If no connection to the SQL server is produced, the software have to try to connect to the *.sdf database.
I would like to achieve:
1. Export the data in the SQL Server 2008 R2 database to a local *.sdf file.
2. This *.sdf file has to work as an alternate connection string in the strongly typed dataset.
How can I achieve this?
My SQL Server Compact Toolbox can help you with question 1. http://erikej.blogspot.com/2010/02/how-to-use-exportsqlce-to-migrate-from.html

Resources