Hi!
I tried to run an ASP.NET-Application (C#) under Windows 2003. The
application should create an user in Active Directory and give it a
password.
The creation of the user works fine, but in the line setting the password,
this error occurs:
Ein Aufrufziel hat einen Ausnahmefehler verursacht.
System.Reflecti on.TargetInvoca tionException: Ein Aufrufziel hat einen
Ausnahmefehler verursacht. --->
System.Runtime. InteropServices .COMException (0x80072035): Der Server kann
die Anforderung nicht ausfhren. --- Ende der internen
Ausnahmestapel berwachung --- at System.RuntimeT ype.InvokeDispM ethod
(String name, BindingFlags invokeAttr, Object target, Object[] args,
Boolean[] byrefModifiers, Int32 culture, String[] namedParameters ) at
System.RuntimeT ype.InvokeMembe r(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifi er[]
modifiers, CultureInfo culture, String[] namedParameters ) at
System.Type.Inv okeMember(Strin g name, BindingFlags invokeAttr, Binder
binder, Object target, Object[] args) at
System.Director yServices.Direc toryEntry.Invok e(String methodName, Object
[] args) at user.erstellen. benutzer_erstel len() in e:\internetsite s\user-
admin.ch\erstel len.aspx.cs:lin e 341
I try to set the password with the following code:
deNewUser.Invok e("SetPassword" , new object[] {"Passwort"} );
(deNewUser is the DirectoryEntry-Object of the user)
The same application works fine under Windows 2000. Both Servers have
Framework 1.1 installed.
Any ideas?
Thanks in advance.
Greetings Manuel