Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problems with application running on Windows 2003

Reply
Thread Tools

Problems with application running on Windows 2003

 
 
Manuel Krummenacher
Guest
Posts: n/a
 
      10-20-2003
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.Reflection.TargetInvocationException: Ein Aufrufziel hat einen
Ausnahmefehler verursacht. --->
System.Runtime.InteropServices.COMException (0x80072035): Der Server kann
die Anforderung nicht ausfhren. --- Ende der internen
Ausnahmestapelberwachung --- at System.RuntimeType.InvokeDispMethod
(String name, BindingFlags invokeAttr, Object target, Object[] args,
Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at
System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[]
modifiers, CultureInfo culture, String[] namedParameters) at
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder
binder, Object target, Object[] args) at
System.DirectoryServices.DirectoryEntry.Invoke(Str ing methodName, Object
[] args) at user.erstellen.benutzer_erstellen() in e:\internetsites\user-
admin.ch\erstellen.aspx.cs:line 341

I try to set the password with the following code:

deNewUser.Invoke("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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
running 64 bit web application on 32 bit windows server 2003 =?Utf-8?B?U3JpZGhhcg==?= ASP .Net 0 11-16-2006 04:26 PM
Performance issues on production server running VS 2003 application delfincek28@gmail.com ASP .Net 0 09-20-2006 06:29 AM
Acessing 64 bit registry view from 32 bit application running on Windows 2003 SP1 Rupesh_Khetawat Windows 64bit 0 08-21-2006 04:29 PM
Need help for COM running from Web application, but not form .EXE application JeffQ888@gmail.com ASP .Net 1 05-23-2006 03:20 PM
How to get the name of a running asp.net application from the application itself??? Bob Rock ASP .Net 2 06-14-2004 06:44 PM



Advertisments