Connecting to SQL server



Similar documents
Immotec Systems, Inc. SQL Server 2005 Installation Document

Installing SQL Express. For CribMaster 9.2 and Later

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

NetSupport DNA Configuration of Microsoft SQL Server Express

Print Audit 6 - SQL Server 2005 Express Edition

Setting up an MS SQL Server for IGSS

Using SQL-server as database engine

Creating a New Database and a Table Owner in SQL Server 2005 for exchange@pam

NetSupport DNA Configuration of Microsoft SQL Server Express

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

EventSentry Overview. Part I Introduction 1 Part II Setting up SQL 2008 R2 Express 2. Part III Setting up IIS 9. Part IV Installing EventSentry 11

General Tips: Page 1 of 20. By Khaled Elshaer.

Install MS SQL Server 2012 Express Edition

Cloud Services ADM. Agent Deployment Guide

QUANTIFY INSTALLATION GUIDE

How to set and log data to a remote SQL Server?

Customer Tips. Configuring Color Access on the WorkCentre 7328/7335/7345 using Windows Active Directory. for the user. Overview

Active Directory Management. Agent Deployment Guide

Configuring Network Load Balancing with Cerberus FTP Server

for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later

FieldIT Limited FieldIT CRM. Installation Manual v1.3.i3 (Enterprise Install)

Dokmee Enterprise Installation

Training module 2 Installing VMware View

Video Administration Backup and Restore Procedures

Installation Guide for Microsoft SQL Server 2008 R2 Express. October 2011 (GUIDE 1)

Active Directory Management. Agent Deployment Guide

Configuring Color Access on the WorkCentre 7120 Using Microsoft Active Directory Customer Tip

These notes are for upgrading the Linko Version 9.3 MS Access database to a SQL Express 2008 R2, 64 bit installations:

Querying Databases Using the DB Query and JDBC Query Nodes

SQL Server 2008 R2 Express Installation for Windows 7 Professional, Vista Business Edition and XP Professional.

Server Installation, Administration and Integration Guide

for Networks Installation Guide for the application on the server August 2014 (GUIDE 2) Lucid Exact Version 1.7-N and later

BillQuick Installation Guide for Microsoft SQL Server 2005 Express Edition

ManageEngine IT360. Professional Edition Installation Guide.

intertrax Suite resource MGR Web

Palomar College Dial-up Remote Access

Novar Database Mail Setup Guidelines

for Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later

SQL EXPRESS INSTALLATION...

SpectraPro. SLQ Server databases

Microsoft SQL Server Express 2005 Install Guide

pcanywhere Advanced Configuration Guide

NovaBACKUP xsp Version 15.0 Upgrade Guide

Migrating MSDE to Microsoft SQL 2008 R2 Express

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

CIMHT_006 How to Configure the Database Logger Proficy HMI/SCADA CIMPLICITY

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Database Configuration Guide

etoken Enterprise For: SSL SSL with etoken

Operating System Installation Guide

Basic instructions for configuring PPP MSSQL Express Firewall Settings for Server 2008 and Windows 7 Operating Systems

How to Connect to CDL SQL Server Database via Internet

Enterprise Manager. Version 6.2. Installation Guide

Setup Guide for Exchange Server

Installation Instruction STATISTICA Enterprise Small Business

SiteCount v2.0 Revised: 10/30/2009

SQL Tuning and Maintenance for the Altiris Deployment Server express database.

Connect to MySQL or Microsoft SQL Server using R

TROUBLESHOOTING GUIDE

TecLocal 4.0 MultiUser Database

Connecting to Manage Your MS SQL Database

Aradial Installation Guide

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

How To Install And Set Up The Database For Quicdoc And Office Therapy (The Applications)

Installation Instruction STATISTICA Enterprise Server

Defender EAP Agent Installation and Configuration Guide

Basic Exchange Setup Guide

TestElite - Troubleshooting

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Issue Tracking Anywhere Installation Guide

Microsoft SQL Server 2005 How to Create and Restore Database (GRANTH3) Manually

How to gain direct access to SQL Server at Garching via SSH

Safexpert Installation instructions MS SQL Server 2008 R2

Active Directory Reporter Quick start Guide

How to Install SQL Server 2008

Accessing a Microsoft SQL Server Database from SAS on Microsoft Windows

How To Install A New Database On A 2008 R2 System With A New Version Of Aql Server 2008 R 2 On A Windows Xp Server 2008 (Windows) R2 (Windows Xp) (Windows 8) (Powerpoint) (Mysql

SELF SERVICE RESET PASSWORD MANAGEMENT DATABASE REPLICATION GUIDE

Installing LearningBay Enterprise Part 2

Deploying Windows Streaming Media Servers NLB Cluster and metasan

To install the SMTP service:

Purple Sturgeon Standard VPN Installation Manual for Windows XP

Installing T-HUB on multiple computers

Falcon Install Guide

SQL Server 2008 Express - Installation Guide

Host Installation on a Terminal Server

Basic Exchange Setup Guide

USERS GUIDE. How to acquire an Associate Digital Identity Certificates from the ica Identity Authority and Configure MAS

Installing Lumension Endpoint Management and Security Suite (L.E.M.S.S.) Using a Remote SQL Server

SQL Server 2008 R2 Express Edition Installation Guide

ilaw Installation Procedure

Creating IBM Cognos Controller Databases using Microsoft SQL Server

Upgrade ProTracker Advantage Access database to a SQL database

Omgeo OASYS Workstation Installation Guide. Version 6.4 December 13, 2011

Version 3. Installation Guide for SQL Server 2005 Express Edition. Copyright 2011 Teclink Development Ltd. All rights reserved.

Microsoft SQL Server 2008 R2 (64-bit) Standard Edition Installation Guide

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

NEPTUNE LITE / ENTERPRISE DEMO INSTALLTION INSTRUCTIONS V1.3

Transcription:

Micromedia International Technical study Author: Pierre Chevrier Number of pages: 17 Company: Micromedia International Date: 24/08/2011 Réf. : ETT_20110624_000001.docx Connecting to SQL server This document specifies how to connect ALERT to SQL server via ODBC or OLEBD Distribution TO CC Company Attachments: 24/08/2011 Connecting to SQL server 1/17

24/08/2011 Connecting to SQL server 2/17

Summary Introduction... 4 Configuration SQL Server... 4 Windows Authentification... 6 SQL Authentification... 7 Alert side configuration... 11 OLEDB connection, export database... 12 ODBC connection, message processor... 12 24/08/2011 Connecting to SQL server 3/17

Introduction Connecting Alert to an SQL database is used to export databases or from a message processor. It is therefore necessary to perform configurations on the machine where Alert is installed and on SQL server. To simplify the configuration, it is advisable to use a UDL file to test the connection. Once the connection is made via the UDL, the link from Alert is carefree. Configuration SQL Server Access to SQL Server is done either with Windows authentication, or SQL authentication. For a local connection, connection protocols are configured by default. However, for a remote connection, you must enable IP connections. To do this, you will use the tool SQL Server Configuration Manager. We will enable the protocols of the IP connections. First, enable the TCP/IP connection of SQL Server Network as follows. Then, one must specify properties for ports. Double click on TCP/IP. Ensure that the configuration is similar to the following captures: 24/08/2011 Connecting to SQL server 4/17

We are only interested in the properties of IP All". One must then change the properties of "Clients Protocols". The following screenshots show the system requirements: "TCP / IP" must be enabled and must be the first in the order of the protocols. To do this, it may be necessary to disable the "Shared Memory". 24/08/2011 Connecting to SQL server 5/17

Following these changes, it is necessary to restart the SQL Server service: A reboot can also be useful if the connections are always rejected after these changes. Now that remote connections are set up, the authentications need to de defined. Windows Authentification Connecting via Windows authentication is preferred if Alert and SQL server are on the same machine. For a remote installation, make sure that the access right of the operator who is owner of the Alert task allows a connection to SQL Server. 24/08/2011 Connecting to SQL server 6/17

SQL Authentification SQL Server options should allow connection via SQL Server Authentication. To access the connection properties, check the SQL server options with the tool "SQL Server Management Studio". For general properties: Right click the root of SQL Server. The options of interest are in "security." 24/08/2011 Connecting to SQL server 7/17

Check that the authentication mode accepts the SQL Server Authentication. Furthermore, if the connection is made from a remote station, it must be allowed. To do this, validate the permission to remote connection in the "connections" page. Once the global parameters are defined, we need to define the connection login. The login used for connection must be added to the list of logins. 24/08/2011 Connecting to SQL server 8/17

In the following screenshot, we have a login "Alert" that has access to a database "Alert" by default. In this example, the password policy has not been strengthened. The operator must have read/write access to the database (here Alert), as shown in the following screenshot. 24/08/2011 Connecting to SQL server 9/17

Finally, the login must be enabled and have access to the database engine. SQL Server is thus properly configured. Now for the client configuration. 24/08/2011 Connecting to SQL server 10/17

Alert side configuration To perform this configuration, we will use a UDL file. This way, the connection can be tested independently of Alert. We will create a UDL file with two types of connections: - Connection for the export database of Alert (OLEDB) - Connection for the message processor (ODBC) To create a UDL, right-click, new text file and rename it ".udl". For our example we will use a file named AlertSql.udl. Once the file is created, double-click on it. Select the "Supplier" tab. The following window opens: We will now choose the data provider that will depend on the use of data from Alert. 24/08/2011 Connecting to SQL server 11/17

OLEDB connection, export database The preferred connector is "SQL Native Client." Once this choice is made, validated with "Next>>". A new configuration box is displayed. We then need to fill in the connection settings, that is to say the login previously defined: either the SQL login or Windows login. For our example, the server used is SQLEXPRESS installed on the machine called PORTPC. Note the syntax of the location of the data source: Name_Machine\sqlexpess for our example. We use the login information that we have created on the server, ie the login "Alert". To check whether the connection is valid, click "Test Connection". The result must be positive! This UDL file will need to be referenced in Alert. ODBC connection, message processor The connector to be chosen for an ODBC connection is "Microsoft OLE DB Provider for ODBC Drivers". We will then use a connection string that will be the information to inform for the message processor connections. Here we describe the configuration of the connection string from scratch. If an ODBC data source for the desired server is already configured, create the connection string will be simpler. 24/08/2011 Connecting to SQL server 12/17

After validating the supplier, the following screen appears: Select "Use connection string" and click on "Create...". Then select the tab "Machine Data Source". No source corresponds to our server; we will create a new data source machine. To do this, click on "New...". 24/08/2011 Connecting to SQL server 13/17

The following wizard appears: Select "System data source" and Next >. Then select "SQL Server": Validate with Next >, then Finish. 24/08/2011 Connecting to SQL server 14/17

Finally, we must give a name to the data source (here AlertSQLServer) and enter the SQL server name, in our example portpc\ sqlexpress. Validate with Finish. The new data source has been added to the list of data sources machines. Just select it. 24/08/2011 Connecting to SQL server 15/17

And press OK. To complete the connection string, enter the login and password to connect to SQL server. For our example, the login defined on the SQL Server is "Alert". 24/08/2011 Connecting to SQL server 16/17

The window appears as follows: The connection can be checked by pressing the button "Test Connection". The valid connection string can then be used for a processor message. 24/08/2011 Connecting to SQL server 17/17