Moving MS SQL Express Database to MS SQL Server. Install Application
Software & SQL Server 2005. Express Bungle first to server.
Moving MS SQL Express Database to MS SQL Server. Install Application Software & SQL Server 2005 Express Bungle first to server.
Check SQL Server Settings Verify TCP/IP Enabled on the SQL Server a. Open the Microsoft SQL Server Configuration Manager b. Expand the SQL Server Network Configuration and Select Protocols for MSSQLSERVER c. Verify that TCP/IP status is Enabled
Enable Windows and SQL Authentication Mode on the SQL Server a. Open the Microsoft SQL Server Manager b. Highlight your SQL Server and right-click on Properties c. Select Security, under the Server Authentication Heading d. Select SQL Server and Windows Authentication Mode (Mixed Mode) e. Click the OK Button to apply the changes.
Open SQL Server Management Studio
Connect to MS SQL Server Database
Click to connect button to SQL Express Edition
Connect to SQL Server Express Database
“Document” DB appears on (local)/SQLEXPRESS
Once connected, Right click, Tasks on the “Document" folder and select “Detach".
Detach “Document” from SQL Server Express Database
Attach “Document” to MS SQL Server Database
Right click on the "Databases" folder and select "Attach".
The “Attach Database” dialog will appear. Click the "Add" button to attach the database file, browse to the Data folder of application software.
“Document” should now appear in the list of databases.
Stop & disable Express Edition of SQL Server from Control Panel, Services. Locate the SQL Server Express Service, which normally has the name “SQL Server (SQLEXPRESS)” right click, and select "Stop".
We need to create a Server Login and DB User named “Mipsis”
USE [master] GO DROP LOGIN [Mipsis] GO
USE [Document] GO DROP USER [Mipsis] GO
CREATE LOGIN [Mipsis] WITH PASSWORD=N'', DEFAULT_DATABASE=[Document], DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF GO CREATE USER [Mipsis] FOR LOGIN [Mipsis] GO EXEC sp_addrolemember N'db_owner', N'Mipsis' GO
Testing SQL Server Installation
Control Panel\System and Security\Administrative Tools\Data Sources (ODBC)
Server name or IP number
Left blank the password
Run the below script on 64 Bit systems only. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\DocumentSQL] "Driver"="c:\\Windows\\SysWOW64\\sqlncli.dll" "Server"="IP or Server Name " "Regional"="Yes" "Database"="Document" "LastUser"="SYSTEM" "Trusted_Connection"="NO"