FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
||||
|
||||
Problemas al crear un usuario en Firebird
Utilizo Delphi 2005 y Firebird 1.5 y al intentar dar de alta un usuario a la base de datos me aparece el siguiente mensaje de error
Project xxxxxxxxxxxxxxxx.exe raised exception class EibInterbaseError with message 'attempt to store duplicate value (visible to active transactions) in unique index "USER_NAME_INDEX"' (donde xxxxxxxxxxxxxxxx.exe es mi projecto). Utilizo los Servicios de Interbase (AddUser). El problema me surge en un proceso de mantenimiento de usuarios y permisos de acceso a ciertas partes del proyecto. Creo un usuario, lo elimino y lo vuelvo a crear y es cuando salta el error en cuestión. Espero que alguno de vosotros me pueda ayudar con el tema |
#2
|
||||
|
||||
¡Hola a todos!
Tal parece que el usuario que mencionas no está siendo eliminado. Por lo tanto, al intentar crearlo de nuevo, se genera el error indicado. ¿Podrías detallarnos el proceso de eliminación que utilizas? Un abrazo único. Al González. |
#3
|
||||
|
||||
Las Rutinas que utilizo son las siguientes
{------------------------ Creación-Modificación --------------------------------
Creación: 29/07/2005 Por: Jesús Pena Iglesias Modificada: ------------------------------- Parámetros ------------------------------------ Entrada: Salida: --------------------------------Propósito--------------------------------------- * Aceptamos los datos -------------------------------------------------------------------------------}
Última edición por vtdeleon fecha: 21-11-2005 a las 13:20:49. Razón: Etiqueta Delphi |
|
|
|