...
This chapter is intended to explain common error messages and pitfalls. Find a complete reference from System Error Codes.
...
Errors when using credentials
Error Code: WINDOWS-1168
Code Block | ||||
---|---|---|---|---|
| ||||
Windows Credential Manager does not return an entry named 'MyCredentialsKey': WINDOWS-1168 (CredRead) Element not found. |
...
This error message tells you that the credentials key that you added to the job configuration does not match to a respective entry with the Crendential Manager. Possible reasons include wrong spelling or the fact that the credentials have not been added by the Agent account but some different account.
...
Errors when setting file permissions
Error Code: COM-80020009
Code Block | ||||
---|---|---|---|---|
| ||||
COM-80020009 java.lang.RuntimeException: Windows command failed: C:\Windows\System32\icacls.exe => JOBUSER: No mapping between account names and security IDs was done. |
...
A wrong username has been specfied for the target user with the Credential Manager. You can use the runas
command line utility to check valid usernames.
...
Errors when performing a logon for a target user
Error Code: WINDOWS-1326
Code Block | ||||
---|---|---|---|---|
| ||||
WINDOWS-1326 (LogonUser) Logon failure: The user name or password is incorrect. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
WINDOWS-1326 (LogonUser) Anmeldung fehlgeschlagen: unbekannter Benutzername oder falsches Kennwort. |
Job-User
Credentials im Creadentials Store sind falsch.
Eigentlich es kann nur das Kennwort
falsch sein, weil im Schritt davor (icacls
) der Benutzername
bereits akzeptiert wurde (icacls
wirft eine Exception, wenn der Benutzername
nicht bekannt ist).
Oder man verwendet bei einem Domain Benutzer die falsche Syntax DOMAIN\username
statt username@DOMAIN
- icacls
kann mit DOMAIN\username
umgehen, JobScheduler LogonUser
nicht (nur username@DOMAIN
).
Wrong credentials have been used for the target user. The problem is related to the credentials that have peviously been stored with the Credential Manager.
Frequently a wrong password has been used. This is suggested from the fact that in the preceding step the call to Icalcs
to set permissions for log files did work for that target user, otherwise an exception would have been raised.
One more common source of error is use of the wrong syntax DOMAIN\username
instead of username@DOMAIN
. Icacls
works for both syntaxes, the LogonUser functions works for the latter syntax exclusively.
You could use the runas
command line utility to check valid user namesPrüfen z.B. mit runas
oder CMD als dieser Benutzer ausführen.
Error Code: WINDOWS-1385
Code Block | ||||
---|---|---|---|---|
| ||||
WINDOWS-1385 (LogonUser) Logon failure: the user has not been granted the requested logon type at this computer. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
WINDOWS-1385 (LogonUser) Anmeldung fehlgeschlagen: Der Benutzer besitzt nicht den benötigten Anmeldetyp auf diesem Computer. |
The target user for the job is not assigned the following permissions:
- Permission:
SE_BATCH_LOGON_NAME
- English:
Log on as a batch job
- German:
Anmelden als Stapelverarbeitungsauftrag
- English:
...
The Agent account are not assigned the following permissions:
Permission:
SE_BACKUP_NAME
- English:
Back up files and directories
- German:
Sichern von Dateien und Verzeichnissen
- English:
Permission:
SE_RESTORE_NAME
- English:
Restore files and directories
- German:
Wiederherstellen von Dateien und Verzeichnissen
- English:
Error Code: WINDOWS-5
Info | ||||
---|---|---|---|---|
| ||||
WINDOWS-5 (LoadUserProfile) Access is denied |
Info | ||||
---|---|---|---|---|
| ||||
WINDOWS-5 (LoadUserProfile) Zugriff verweigert |
The job is configured to load the target user profile but the Agent account is not assigned the
Administrator
role.This role is required for the Agent acount if the target user profile should be loaded.
...
Errors related
...
to logs
Error Message: Access is denied
...