Related Topics

HOWTO: Backing Up the ILLiad Database
HOWTO: Breaking the User Link in the ILLiad Database
PROBLEM: Cancellations or OCLC Reasons for No are all updating as Other
HOWTO: Changing the Port for Microsoft SQL Server 2000
HOWTO: Changing the size of a field in the ILLData database
See more

Other Support Options

Contact Atlas Systems
Phone Numbers, Support Options, Online Help, and more.
Listserv
Pose a question to other users.

Page Tools

Print this page Print this page
E-mail this page E-mail this page

Feedback

How helpful was this article?
Suggestions:

Revised:January 5, 2006 (mc)
Version:Client Version 7 and higher
Revision:1
HOWTO: Increasing the Username field in the ILLiad database
January 5, 2006

SUMMARY

By default, the username field for ILLiad customers is 20 characters. In some cases this field may need to be expanded to a larger size to accomodate usernames longer than 20 characters. An example would be a site using the customer's full name or full email address as their username (i.e. johnqpublic@university.edu). Also if you are importing Loansome Doc requests in version 2.5 of Docline, the Loansome Doc UserID has been replaced with the Patron EMail as a matching point against the ILLiad username, which may also require expanding the username field.

HOWTO

There are several tables in the ILLData database that need to be edited. Be sure to backup the SQL Server database before making any of these changes. The tables and field names that need to be edited are:

Table NameField Name
HistoryUsername
ImportValidationUsername
InvoiceSessionsCustomerSymbol
TestModeInvoiceSessionsCustomerSymbol
TrackingChangedBy
TransactionsUsername
UserAccountsLinkUsername
UserNotesUsername
Users or UsersALLUsername
WebSessionUsername

SHARED SERVER DATABASES

If you are a shared server installation and expand the username field in the UsersALL table, you will need to drop and recreate the User views for each site. This can be done with one SQL query. Open the SQL Query Analyzer and login to the SQL Server as a system administrator (sa account or Windows authentication). In the blank white query window paste the following query:


----------------
DECLARE nvtgc_cursor CURSOR
FOR
SELECT TABLE_SCHEMA
FROM INFORMATION_SCHEMA.VIEWS where TABLE_NAME = 'Users' ORDER BY TABLE_SCHEMA
OPEN nvtgc_cursor
DECLARE @ViewNVTGC varchar(10)
SET @ViewNVTGC = '00000000'
FETCH NEXT FROM nvtgc_cursor INTO @ViewNVTGC
WHILE (@@FETCH_STATUS <> -1)
BEGIN
IF (@@FETCH_STATUS <> -2)
BEGIN
SELECT @ViewNVTGC = RTRIM(@ViewNVTGC)
DECLARE @VIEWDEF varchar(255)
SET @VIEWDEF = (SELECT VIEW_DEFINITION from INFORMATION_SCHEMA.VIEWS where TABLE_NAME = 'Users' and table_schema = @ViewNVTGC)
EXEC ('drop view ['+ @ViewNVTGC +'].Users')
EXEC (@VIEWDEF)
EXEC ('grant select on ['+ @ViewNVTGC +'].Users to [illiad]')
END
FETCH NEXT FROM nvtgc_cursor INTO @ViewNVTGC
END
CLOSE nvtgc_cursor
DEALLOCATE nvtgc_cursor
----------------

Run the above script by clicking the green arrow at the top of the form or hitting F5. After the query has been run, close the SQL Query Analyzer. You do not need to save changes to the query.

More Related Topics

PROBLEM: Class Not Registered error when trying to initiate Z39.50 Searching
PROBLEM: Incorrect Queues and E-mail Routing Entries in the ILLiad Client for a Shared Server Site
HOWTO: Enabling Logging on the ILLiad Gateway
HOWTO: Enabling Logging on the ILLiad Web DLL
INFO: ILLiad and McAfee VirusScan 8
OCLC ILLiad and Windows Server 2003
INFO: ILLiad and the NVTGC Field
HOWTO: Implementing SSL with ILLiad
HOWTO: Importing a Customized List of Addresses to ILLiad
HOWTO: Importing Pre-ILLiad Copyright Information into your ILLiad Database
PROBLEM: Z39.50 Searching Form gives File Not Found error for Yaz.dll
INFO: Z39.50 Profiles in ILLiad
INFO: Z39.50 Compatibility in ILLiad
INFO: What Ports are Required to be Open for General ILLiad Use?
INFO: User Request Limits
HOWTO: Updating Across a Multiple Server ILLiad Installation
PROBLEM: I/O Error 32 or Path not Found when opening the Borrowing Request Form
HOWTO: Migrating an ILLiad Database to a New ILLiad Server
PROBLEM: Error Message "Login failed. Reason: Not associated with a Trusted SQL Server connection"
PROBLEM: SQL Server Agent fails when executing job to run ILLiad Connector
ERROR: SQL ERROR: Unmatched '' near TransactionNumber
PROBLEM: EDBEngine Error: Vendor Initialization Failed
Microsoft SQL Server 2005 Compatibility
HOWTO: Changing the Default Request Type for Manually Entered Transactions
INFO: Required ILLiad Server Permissions
HOWTO: Routing Rules Across Modules
BUG: Routing Rules for Borrowing and Doc Del do not work using the ILLiad Connector