Re: Update IIS remotely in Asp.net app
From: Roger Abell (mvpNOSpam_at_asu.edu)
Date: 10/02/03
- Next message: rob: "IP question"
- Previous message: dlbrum: "Re: CGI apps break after DCPROMO an IIS6 server"
- In reply to: Jason: "Update IIS remotely in Asp.net app"
- Next in thread: Jason: "Re: Update IIS remotely in Asp.net app"
- Reply: Jason: "Re: Update IIS remotely in Asp.net app"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 2 Oct 2003 07:16:17 -0700
You did notice that on machine CLT-DEV1 the
failed login is for account DVDANSB2K\ASPNET
(not the machine local CLT-DEV1\ASPNET)
How is your Asp.Net application with this code
being triggered to execute ?
--
Roger Abell
Microsoft MVP (Windows Server System: Security)
MCSE (W2k3,W2k,Nt4) MCDBA
"Jason" <jdansby@nospam.newportgroup.com> wrote in message
news:0c0101c38851$8d043ea0$a101280a@phx.gbl...
> I am trying to change the path of a virtual directory on a
> remote server in an asp.net application. Code is:
>
> Dim de As New DirectoryEntry("IIS://clt-
> dev1/w3svc/1/root/participantweb")
> de.Properties("Path").Value = "c:\newdir"
> de.Invoke("SetInfo")
>
> The above code works fine in a Windows app. The asp.net
> app is running under an administrator account by
> impersonation. The Event Log entries on the server i'm
> trying to update are below. It appears that
> DirectoryServices is still trying to use the ASPNET
> account even though the app is running under another
> impersonated account. Please help.
>
> Event Type: Failure Audit
> Event Source: Security
> Event Category: Account Logon
> Event ID: 681
> Date: 10/1/2003
> Time: 10:28:38 AM
> User: NT AUTHORITY\SYSTEM
> Computer: CLT-DEV1
> Description:
> The logon to account: ASPNET
> by: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
> from workstation: DVDANSB2K
> failed. The error code was: 3221225578
>
>
> Event Type: Failure Audit
> Event Source: Security
> Event Category: Logon/Logoff
> Event ID: 529
> Date: 10/1/2003
> Time: 10:28:38 AM
> User: NT AUTHORITY\SYSTEM
> Computer: CLT-DEV1
> Description:
> Logon Failure:
> Reason: Unknown user name or bad password
> User Name: ASPNET
> Domain: DVDANSB2K
> Logon Type: 3
> Logon Process: NtLmSsp
> Authentication Package: NTLM
> Workstation Name: DVDANSB2K
>
>
- Next message: rob: "IP question"
- Previous message: dlbrum: "Re: CGI apps break after DCPROMO an IIS6 server"
- In reply to: Jason: "Update IIS remotely in Asp.net app"
- Next in thread: Jason: "Re: Update IIS remotely in Asp.net app"
- Reply: Jason: "Re: Update IIS remotely in Asp.net app"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|