Hi
The server it`s a Windows 2003 Std, pls review this trace ----------------
[FileNotFoundException: The filename, directory name, or volume label
syntax
is incorrect.]
[TargetInvocationException: Exception has been thrown by the target of an
invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags
invokeAttr,
Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture,
String[] namedParameters) +0
System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[]
modifiers,
CultureInfo culture, String[] namedParameters) +473
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder
binder, Object target, Object[] args) +29
System.DirectoryServices.DirectoryEntry.Invoke(String methodName,
Object[] args) +106
Intelecto.Utilidades.DirectorioActivo.EstablecerContraseña(DirectoryEntry&
objeto, String contraseña) in
C:\jsalcedo\Intelecto\Utilidades\DirectorioActivo\DirectorioActivo.cs:932
[DirectorioActivoException: Ocurrio un error estableciendo la contraseña
para el objeto.]
Intelecto.Utilidades.DirectorioActivo.EstablecerContraseña(DirectoryEntry&
objeto, String contraseña) in
C:\jsalcedo\Intelecto\Utilidades\DirectorioActivo\DirectorioActivo.cs:939
Intelecto.Utilidades.DirectorioActivo.CrearObjeto(String nombre,
Hashtable propiedades, enm_TipoObjeto tipoobjeto) in
C:\jsalcedo\Intelecto\Utilidades\DirectorioActivo\DirectorioActivo.cs:273
[DirectorioActivoException: Se presento un error al crear el objeto en el
Directorio Activo.]
CFV.CFVWeb.Reglas.SolicitudServicio.clsSolicitudServicio.CrearPersonaNatural(clsPersonaNatural
obPersonaNatural, String stContraseñaPersonaNatural) in
C:\Inetpub\wwwroot\SolicitudServicio\SolicitudServicioObject\clsSolicitudServicio.cs:376
CFV.CFVWeb.Web.Sitio.SolicitudServicio.PersonaNatural.VisorHojaVidaPersonaNatural.btnAceptar_Click(Object
sender, EventArgs e) in
c:\inetpub\wwwroot\solicitudservicio\solicitudservicio\personanatural\visorhojavidapersonanatural.aspx.cs:148
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()
--
Diego Valencia
Willy Denoyette said:
Not possible to get such error when executing Invoke("SetPassword".....
The error must come from another (File IO) statement.
Willy.
message
The attach error was generate when I tried to use invoke method
"setpassword"
this is mi code
objeto.Invoke("SetPassword", new object[] {contraseña});
The error is
"The filename, directory name, or volume label syntax is incorrect"
Exception Detail : System.IO.FileNotFoundException:The filename,
directory
name, or volume label syntax is incorrect