In my application, I need to create a file in remote file system
which 
is present in Intranet.
For this I am calling Win32 API 'advapi32.dll'  function LoginUser
and 
sending the admin user details(UserName, domainame, password).

But I am getting the error LogonUser() is failed with the following 
errorcode: 1314

I am running ASP.Net application with VB.Net in win-2000 and IIS 5.0
I have given the <identity impersonate="true"/> in web.config file

If I give username and password in the Identity tag itself, It is 
working fine. But I cannot get back the user account  who is logged
in.

Is there any best way to do this.

Thanks in advance.
  








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to