How To Upgrade A Microsoft SQL Server EDOCS DM Database To SQL Server 2005
How To Upgrade A Microsoft SQL Server EDOCS DM Database To SQL Server 2005
Version: All
Task/Topic: Upgrade
Audience: Administrator
Platform: Microsoft SQL
Document ID: 134115
Updated: May 23, 2008
Application Note
How to Upgrade a Microsoft SQL Server
eDOCS DM Database to SQL Server
2005
Document Title
Application Note How to Upgrade a Microsoft SQL Server eDOCS DM Database to SQL Server 2005
Contents
Summary ...................................................................................................................... 1
Upgrade Tools ............................................................................................................. 2
In-place Upgrade - Automated Through the Microsoft SQL Server 2005
Upgrade Analysis Wizard. ................................................................................ 2
Side-by-Side Upgrade - Automated Through the Microsoft SQL Server
2005 Upgrade Analysis Wizard. ....................................................................... 2
Microsoft Copy Database Wizard .................................................................... 2
SQL Server Integration Services (SSIS) .......................................................... 2
Bulk Copy Procedure (BCP) ............................................................................ 3
Before the Upgrade ..................................................................................................... 4
Verify Database Owner........................................................................................... 4
Create DOCSADM Logon Account ........................................................................ 5
Create the DOCSUSER Logon .............................................................................. 8
Create the DOCSUSER Database Role ................................................................ 9
Grant the DOCSUSER Role Appropriate Rights .................................................. 11
After the Upgrade ...................................................................................................... 12
Create Indexes and Stored Procedures ............................................................... 12
Change Compatibility of Attached Databases ............................................... 13
Summary
This document details the eDOCS DM requirements for upgrading a Microsoft SQL
Server database. This document is intended to cover eDOCS DM-specific issues; it
does not include step-by-step instructions for performing a SQL upgrade. You should
consult with Microsoft for detailed instructions on upgrading Microsoft SQL Server.
Microsoft offers several upgrade utilities, and is better able to assist you with an
upgrade of their product. NOTE: The information in this document is applicable for an
upgrade to Microsoft SQL Server 2005 from SQL Server 2000.
Upgrade Tools
Listed below are the tools available for upgrading a Microsoft SQL Server database.
Under each tool is a list of benefits for each tool and limitations, if applicable. In
planning your upgrade, you will need to decide which tool best meets your needs. For
more detailed information, you should consult the Microsoft SQL Server 2005 Upgrade
Advisor.
Limitations:
• Cannot transfer all schema objects if source database is not Microsoft SQL 7.0
or 2000.
NOTE: If your SQL Server is not listed, you need to register your
SQL Server and then complete step 4 above.
Figure 1
5. From the Registered SQL Server Properties dialog box, under Connection,
click Use SQL Server authentication and type sa for the Login Name. NOTE: If
you did not assign a password to sa during installation, the default value is NULL
or blank.
6. Click OK to save your changes.
Figure 2
5. Click the General tab and type DOCSADM for the Login Name.
6. Under Authentication, click SQL Server authenticationand enter a password
to be used with the DOCSADM account. By default, we recommend DOCSADM;
however, you may want to change this if you have security concerns. NOTE: For
details regarding the use of the DOCSADM or DOCSUSER logon accounts,
please see DM Suite Installation Guide, Hummingbird 2004, Chapter 5 - Generating
a Library.
7. Under Defaults, select your eDOCS DM database and leave the language set to
<Default>.
8. Click the Database Access tab; the following dialog box appears:
Figure 3
9. Under Specify which databases can be accessed by this login, select your
eDOCS DM database from the Permit column. (See above example.)
10. Under Database roles for [your database name], the following database roles
should be selected:
• public
• db_accessadmin
• dB_securityadmin
• dB_ddladmin
• dB_backupoperator
• dB_datareader
• dB_datawriter
Figure 4
Figure 5
9. Under Specify which databases can be accessed by this login, select your
DOCS database under Permit.
10. Under Database roles for [your database name], select the checkbox for
“public” only. The DOCSUSER account only needs a public database-level role.
11. Click Apply and then OK to save the configuration. Focus is returned to the
Enterprise Manager console.
2. Under Microsoft SQL Servers, expand the SQL Server Group; a list of
registered SQL Servers appears. From the list of SQL Servers, expand your
SQL Server.
3. A list of folders appears; expand the Databases folder.
4. Expand your DOCS database.
5. Right-click Roles, and then click New Database Role; the following Database
Role Properties dialog box appears:
Figure 6
NOTE: SQL Server 2005 does not include a SQL Server 2005
client; therefore if you do not have another SQL client installed, or
are not running SQL Server on the machine you are running
Library Generator from, you will receive an "Unrecognized SQL
client DLL" error message. Please see Open Text Knowledge
Base Article 12938315 for more information on this issue
Microsoft SQL Server 2005, by default, requires complex passwords when creating
new groups and users. When generating a new DM library, use complex passwords
for your DOCSADM and DOCSUSER accounts.
To enable support for Microsoft SQL Server 2005, you need to use a complex
password the first time you run Library Generator. A complex password is a password
that:
• Does not contain the user's account name, either in full or in part.
• Is at least six characters in length.
• Contains characters from three of the following categories :
English uppercase characters (A through Z).
English lowercase characters (a through z).
Numbers (0 through 9).
Nonalphanumeric characters (for example: !, $, #, %).
After running Library Generator, you can disable Password Policy Enforcement.
Please see Open Text Knowledge Base Article 12968515 for information regarding the
English version of Library Generator provided with DM 5.1.0.5 SR6 featuring support
for Microsoft SQL Server 2005. Refer to your SQL documentation for additional
information.
[Compatibility]
DbLib=8
Change the compatibilty of the attached databases to 80. You can log on to the
Query Analyzer (ISQLW.EXE) as sa and run the following script on your DM
database to accomplish this:
Your upgrade of Microsoft SQL Server is complete. You should now ensure that each
end user has the Microsoft SQL client installed in order to connect to the new eDOCS
DM database. You should also ensure that all PCDOCS.INI files have been
redirected to the new eDOCS DM database. A good way to ensure that all users are
using the new database is to take the old database offline. It is very difficult to correct
problems that occur when a user has accidentally been using the old database.
If you are an Open Text partner or customer, visit online.opentext.com for more information about this and other Open Text
solutions.
Open Text is a publicly traded company on the NASDAQ (OTEX) and the TSX (OTC).
© Copyright 2008 by Open Text Corporation. Open Text, Livelink, Livelink ECM, and Great Minds Working Together are trademarks or registered trademarks of Open Text Corporation. All other trademarks or
registered trademarks are the property of their respective owners. All rights reserved.
www.opentext.com 14