Access directory on remote server from IIS 6.0 ASP.NET Webservice

Last post 01-31-2007 8:45 PM by Leijun Jie - MSFT. 1 replies.

Sort Posts:

  • Access directory on remote server from IIS 6.0 ASP.NET Webservice

    01-25-2007, 4:21 AM
    • Member
      point Member
    • Tr@c3r
    • Member since 01-25-2007, 8:41 AM
    • Posts 1

    Hi,

    This is my first post to this forum, so Hi.

    I hope that someone will be able assist me or point me in a direction of where I could start looking.

    I have an ASP.NET 2.0 Webservice that receives a request from a third party. The Webservice does some validation etc. One of the validations is to determine whether a specific file is present in a directory on a fileserver (seperate from the Webserver). I use the DirectoryInfo component for this. I also use Impersonation with a specific Domain account. 

    Since Monday this action has been failing. The only error that I get is in the eventlog "EventType clr20r3, P1 w3wp.exe". I know that this means there is a unhandled exception in the code, and the IIS process falls over.

    The investigation started and I soon determined that all works well if I point the Webservice to my test or uat box. Once I point it to my Prod box it fails.

    Nothing has changed in the application or on the WebServer. No changes where made to the access rights or anything else on the FileServer. If I use the domain user, used for impersonation, to log onto the Webserver, I am able to copy files to the fileserver.

    Any ideas please.

    Tr@c3r

  • Re: Access directory on remote server from IIS 6.0 ASP.NET Webservice

    01-31-2007, 8:45 PM
    Is there any record for the error in the event log? Have you tried using another account has the same permission for a test?
    The future is now...
    Sincerely,
    LeiJun Jie
    Microsoft Online Community Support
Page 1 of 1 (2 items)