Re: Impersonating doesn't work on Win2003



i've also tried "Network Service" for the same result





"Winista" <naveenkohli@xxxxxxxxxxx> a écrit dans le message de news:
e7lx9DDeGHA.5092@xxxxxxxxxxxxxxxxxxxxxxx
On Windows user account is "Network Service" and not ASPNET.


"fab" <aaa@xxxxxxxx> wrote in message
news:e4a4sv$e50$1@xxxxxxxxxxxxxxxxxxxxx
Hello,

i'm trying to browse a UNC share through an ASP.NET application and i've
got a problem :
i've tried some examples from MSDN or other web sites (using LogonUser
from Win32 API) and it works perfectly from my computer (windows XP) but
it doesn't work from a windows2003 server : i've got the famous error
1326 :
Logon failure: unknown user name or bad password. ERROR_LOGON_FAILUREis
there a special configuration for Win2003 ? i've tried to set ASPNET
user account "as part of the operating sysem" in local security policy
but it makes nothing...

thanks in advance.








.



Relevant Pages

  • Fail to access to networked folders
    ... I am trying to manipulate remote shared folders and files through UNC ... format. ... When I ran my c# code, I got an error: Unknown user name or bad password ... public static bool NetworkImpersonate(string user, string machine, string ...
    (microsoft.public.dotnet.security)
  • Failed to Access to Networked Resources
    ... I am trying to manipulate remote shared folders and files through UNC ... format. ... When I ran my c# code, I got an error: Unknown user name or bad password ... public static bool NetworkImpersonate(string user, string machine, string ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: access denied in an asp.net 2.0 application when accessing a d
    ... as for the "Network Service" account you mentioned when configure the ... UNC share's permission, are you sure you are refering to the ASP.NET ... server's Network Service account(rather than the UNC share machine's ... you can turn on the File access Audit for that UNC folder on ...
    (microsoft.public.dotnet.framework.aspnet)