Troubleshooting
Problem
Users cannot login to a particular project using DataStage clients (Designer, Director, or Manager) and encounter the error:[
]
"Run-time error '457': [
]
This key is already associated with an element of this collection".
Symptom
Users cannot login to a particular project using DataStage clients and encounter the error
"Run-time error '457':
This key is already associated with an element of this collection".
Cause
This can be caused by:
- The permissions on the DSParams file for the project. This file is in the Projects directory under $DSHOME/Projects/<project name>
the protections should allow rwx for the dstage group
- DSParams file has duplicate entries or DSParams file has EnvVarValues without EnvVarDefs.
- An incorrect index in the project
Environment
Diagnosing The Problem
Check the following:
- The permissions on the DSParams file for the project are rwx for the dstage group
- DSParams file for duplicate entries or missing EnvVarDefs
Resolving The Problem
Correct the permissions, remove the Duplicate entries or add the missing EnvVarDefs for the EnvVarValues. You can also copy the correct DSParams file from the working project.
If the above does not resolve the problem, reindex the project:
For Unix/Linux platforms:
- Make sure there are no jobs running and no client connections opened.
- Backup the project to reindex
- Open a shell on the DataStage Server and go in the DSEngine folder
- Source the dsenv file (command ". ./dsenv", # dot space dot slash dsenv)
- bin/uvsh
- LOGTO project_name
- DS.TOOLS
- choose menu 2
- QUIT
For all platforms:
- Make sure there are no jobs running and no client connections opened.
- Open DataStage Administrator
- Select the project and go to command line (press button command)
- type: DS.REINDEX ALL then press "execute"
- Unselect "pause output at end of page" and then press "next"
- Click "Respond" or "Next" button when enabled
- Click "Close" when it is enabled
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21446213