« Previous Next »

Thread: Impersonation with ADOX

Last post 10-09-2009 6:47 AM by Paul Lynch. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 10-08-2009, 4:22 PM

    Impersonation with ADOX

    We have an ASP 2.0 web application (Win2k3 IIS 6.0), with IUSR (using impersonation) we are able to write to a remote directory, using a synchronized IUSR account on the remote server.

    When using the same ASP 2.0 Web app, when we try to write to the same remote directory using ADOX to create an MDB file, we are not able to. It seems when ADOX is creating the MDB it does not use impersonation, but rather Network Serivce. Is there a way to force ADOX and JET4 to use impersonation when creating the database?

    This blog post speaks to the issue, although this doesn't clear it up for me

    http://blogs.msdn.com/david.wang/archive/2005/06/29/IIS_User_Identity_to_Run_Code_Part_2.aspx

    Specifically see this comment in the blog post:

    http://blogs.msdn.com/david.wang/archive/2005/06/29/IIS-User-Identity-to-Run-Code-Part-2.aspx#572784

    Thanks,
    Dan

  • 10-09-2009, 6:47 AM In reply to

    Re: Impersonation with ADOX

    Hi,

    Refer to this KB article :

    How to implement impersonation in an ASP.NET application

    Regards,

    Paul Lynch | www.iisadmin.co.uk
Page 1 of 1 (2 items)
Microsoft Communities