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



Similar documents
Managing MSDE with TOAD

QUANTIFY INSTALLATION GUIDE

Immotec Systems, Inc. SQL Server 2005 Installation Document

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

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

Print Audit 6 - SQL Server 2005 Express Edition

Avatier Identity Management Suite

How to open the ArchiveWeb Interface directly from MS Outlook

NetSupport DNA Configuration of Microsoft SQL Server Express

Setting up an MS SQL Server for IGSS

for Windows 2003 with SP1 DCOM configuration

Connecting to SQL server

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

Video Administration Backup and Restore Procedures

MS SQL Server Database Management

Migrating MSDE to Microsoft SQL 2008 R2 Express

How to schedule SQL Maintenance Plan

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

Password Reset Server Installation Guide Windows 8 / 8.1 Windows Server 2012 / R2

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

Database Configuration Guide

Install MS SQL Server 2012 Express Edition

Enterprise Server Setup Guide

Installing SQL Express. For CribMaster 9.2 and Later

Cloud Services ADM. Agent Deployment Guide

Setting up DCOM for Windows XP. Research

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

NetSupport DNA Configuration of Microsoft SQL Server Express

SQL EXPRESS INSTALLATION...

Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

WhatsUp Gold v16.3 Installation and Configuration Guide

Project management - integrated into Outlook

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

Issue Tracking Anywhere Installation Guide

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

Download and Installation of MS SQL Server

DCOM settings for computer-to-computer communication between OPC servers and OPC clients

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

Setup and configuration for Intelicode. SQL Server Express

Active Directory Management. Agent Deployment Guide

Microsoft SQL Server Security Best Practices

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

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Microsoft SQL Server Staging

Installation Guide v3.0

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Microsoft SQL Server 2008 R2 Express Edition with Advanced Services Installation Guide

Upgrade ProTracker Advantage Access database to a SQL database

Creating IBM Cognos Controller Databases using Microsoft SQL Server

The Project Management Software for Outlook, Web and Smartphone

Moving the TRITON Reporting Databases

4cast Server Specification and Installation

IIS, FTP Server and Windows

System Area Management Software Tool Tip: Integrating into NetIQ AppManager

TimePunch SQL Server Database Guide

Configuring Network Load Balancing with Cerberus FTP Server

Changing Your Cameleon Server IP

Migrating MSDE to Microsoft SQL 2005 Express SP4

SOFTWARE INSTALLATION INSTRUCTIONS CLIENT/SERVER EDITION AND WEB COMPONENT VERSION 10

Crystal Reports Installation Guide

Moving a Romexis Database to an Existing SQL Instance

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

Appendix L: Running Hazus-MH with SQL Server 2005

NovaBACKUP xsp Version 15.0 Upgrade Guide

Setup Guide for Exchange Server

NSi Mobile Installation Guide. Version 6.2

Querying Databases Using the DB Query and JDBC Query Nodes

Installation Instruction STATISTICA Enterprise Server

intertrax Suite resource MGR Web

WhatsUp Gold v16.1 Installation and Configuration Guide

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

GE Measurement & Control. Remote Comms System. Installation and User Reference Guide

To install the SMTP service:

Install SQL Server 2014 Express Edition

Assigning owner rights over MS Exchange Server folders

Microsoft SQL Server Installation Guide

Active Directory Management. Agent Deployment Guide

Reconfiguring VMware vsphere Update Manager

Introduction and Overview

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

ECA IIS Instructions. January 2005

BillQuick Installation Guide for Microsoft SQL Server 2005 Express Edition

Installation Instruction STATISTICA Enterprise Small Business

Training module 2 Installing VMware View

aims sql server installation guide

Secret Server Installation Windows Server 2012

Microsoft SQL Server Express 2005 Install Guide

SafeGuard Enterprise Installation guide. Product version: 6.1

Xactimate v.27 Network Installation

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

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

Defender EAP Agent Installation and Configuration Guide

Important Notes for WinConnect Server VS Software Installation:

Installing and Configuring Login PI

Integrating LANGuardian with Active Directory

ilaw Installation Procedure

IMF Tune Quarantine & Reporting Running SQL behind a Firewall. WinDeveloper Software Ltd.

XStream Remote Control: Configuring DCOM Connectivity

Aradial Installation Guide

Kepware Technologies Remote OPC DA Quick Start Guide (DCOM)

Transcription:

Creating a New Database and a Table Owner in SQL Server 2005 for exchange@pam We planning to install exchange@pam an empty database an appropriate database user must be created before running the setup. The database providers supported by exchange@pam are MS SQL Server 2000, MS SQL 2005 Server, MS SQL 2008 and Oracle 8x and 9x. For best performances the database provider should be a local one on the machine exchange@pam will be installed. If not so, a remote server could also be accessed once the machine exchange@pam will be installed on has also the latest version of MDAC installed (currently version 2.8). If you plan to install exchange@pam on a SQL Server 2005 machine you must make sure that.net Framework version 1.1 is also installed, as being one of exchange@pam requirements. The MS SQL Server 2005 requires.net Framework 2.0 to be installed. The.NET Framework 1.1 and.net Framework 2.0 can run in parallel, on the same machine and both of them have to be available if you plan to install exchange@pam on your SQL Server 2005. To configure your SQL Server 2005, open the SQL Server Configuration Manager and click the SQL Server 2005 Services node. Both the SQL Server (SERVERNAME) and the SQL Server Browser services have to run. If the SQL Server Browser service is not started and the Start option available in its context menu, it means that this service is disabled. To enable the service open its Properties window. Switch over to the Service tab and change the Start Mode from Disabled to Manual. Conclude by clicking Apply and OK and then try to start the service again. H&S Heilig und Schubert Software AG Seite 1/10

In the SQL Server Configuration Manager expand the SQL Server 2005 Network Configuration node from the tree. On the Protocols for SQL node you need to enable the Named Pipes, the Shared Memory and the TCP/IP protocols. Instead of enabling the TCP/IP using the context menu, we recommend opening its Properties window. This window has two tabs, Protocol and IP Addresses. On the Protocol tab set the Enabled to Yes. H&S Heilig und Schubert Software AG Seite 2/10

On the IP Addresses tab you will see several sections - one for each network connection. In the example below there is only one network card (listed in the first section) and a local loopback connection indicated by the standard address of 127.0.0.1 For remote access to the SQL Server Express 2005 instance the loopback connection is of no interest. The first section is where the configuration has to be correct. Active option should say Yes as should the Enabled option. The IP address will probably be filled in for you (by Windows) and will be different on your machine. H&S Heilig und Schubert Software AG Seite 3/10

If you wish to enable dynamic ports for your SQL Server Express 2005 instance then the TCP Dynamic Ports option should be 0. To disable this option and use a fixed port change this field to a blank value and fill in the port on the TCP Port option. Disabling dynamic ports is non standard for named instances and should really only be done if you know exactly what you are doing and why you want to do it. Conclude by clicking Apply and then OK. For the changes to take effect you need to restart both the SQL Server (SERVERNAME) and SQL Server Browser services have to be restarted switching over to the SQL Server 2005 Services node. Check the Shared Memory, the TCP/IP and the Named Pipes client protocols on the SQL Native Client Configuration node in the SQL Server Configuration Manager too. They should all be enabled. Furthermore you need to enable the TCP/IP protocol using the Surface Area Configuration Utility tool. As the Surface Area Configuration Utility opens, click the Surface Area Configuration for Services and Connections link. H&S Heilig und Schubert Software AG Seite 4/10

Expand the Database Engine tree and on the Remote Connections node set the local and remote connections to use TCP/IP only. H&S Heilig und Schubert Software AG Seite 5/10

Conclude by clicking Apply and then OK. Furthermore you will need to create the empty database and a database user (a SQL Authentication) for your exchange@pam. To do so, connect to your SQL Server 2005 with the Microsoft SQL Server Management Studio, then expand its tree and right-click on the Databases node and choose to create a new database. On the New Database dialog, give the new database a name (for instance exchangedb) and you can leave the owner to be the <default>. This owner will be changed later on, when you will create a new login with table owner rights over the database you are creating. You can also choose to change the default location for the Data file and Log file, if needed. Conclude by clicking OK. To create the Table Owner for the exchangedb database you will need to create a new login, a new scheme and a new user as well. We will name each one of them exchange. To create a new login, expand the tree of the Microsoft SQL Server Management Studio tool and rightclick on the Security tab and choose New/Login. H&S Heilig und Schubert Software AG Seite 6/10

The dialog opens with the General tab. Here just give the new login a name (for instance you can name it exchange) select the SQL Server authentication radio button and set the password for the new login you want to create. As for the Default database, select the exchangedb database and set the Default language to be British English. Note: As default the Enforce password policy, the Enforce password expiration and user must change password at next login checkboxes are all selected. You need to make sure that none of them is selected. Once this is done, you can switch over to the User Mapping tab. Here map to the exchangedb database a user (it will be automatically created and named with the same name as the login) and select also the db_owner and public membership role for the exchangedb database. H&S Heilig und Schubert Software AG Seite 7/10

Switching over to the Status tab make sure the Permission to connect to database engine is granted and also that the Login is enabled. Conclude by clicking OK. H&S Heilig und Schubert Software AG Seite 8/10

Next you will need to create a schema for your new database login. To do so, expand the tree on the new created database (exchangedb) in the Microsoft SQL Server Management Studio tool down to Security/Schemas. Right-click on Schemas and choose New Schema from the context menu. On the new schema dialog just give a name to the schema you want to create (name it for instance exchange) and click the browse button to select the schema owner. Select the schema owner to be the previous user you have created (exchange). Conclude by clicking OK. Furthermore you will need to assign the new created schema to your new database user. The new database user (exchange) was automatically created when creating the new login and mapping a user to the exchangedb database. To locate this new user, expand the tree of the exchangedb database in the Microsoft SQL Server Management Studio tool down to Security/Users. By clicking on the Users node you will see the user called exchange on the right pane of the tool. Double-click on it to open its properties window. The dialog opens on the General tab. Here the default schema assigned to your new user is the dbo and you will have to replace it to the one previously created (exchange) by clicking the browse button. H&S Heilig und Schubert Software AG Seite 9/10

On the Owned Schemas list you will see the one called exchange (grayed out). Make sure that the db_owner is selected too, both here and in the list under, i.e. among the Role Members. Save the changes you have made by clicking OK. H&S Heilig und Schubert Software AG Seite 10/10