Re: Accessing remote network resources from ASP.NET applications
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 04/13/04
- Next message: [MSFT]: "Re: cdoobject.send causes UnauthorizedAccessException"
- Previous message: WJ: "Re: web.config vs machine.config ?"
- In reply to: Dilip: "Accessing remote network resources from ASP.NET applications"
- Next in thread: Dilip: "Re: Accessing remote network resources from ASP.NET applications"
- Reply: Dilip: "Re: Accessing remote network resources from ASP.NET applications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 13 Apr 2004 17:32:13 +1000
Hi,
I don't think this is an impersonation or authentication problem. I think
the problem is your use of mapped drive letters. A drive letter is mapped
for the logged on user only. So whatever user account you used to map the
drive letter to a share on ServerA is the only account that can see that
mapping. Any other user does not see it.
Instead of using mapped drive letters, use UNC paths (\\server\share)
instead, since all users can see that. If you are correct about how you've
setup your Domain account, and the permissions, everything should work then.
Cheers
Ken
"Dilip" <rdilipk@lycos.com> wrote in message
news:8bc3089c.0404121437.1e9cb35a@posting.google.com...
: Hi All
:
: Sorry to bring up a beaten-down-to-death topic. But I seem to be
: running into a wall whatever I try here. To cut a long story short, I
: have an ASP.NET application that tries to move a file from box A to
: box B. Box A and B are in the same domain. My security settings are
: like this:
:
: * The site's virt directory is configured for anonymous access with a
: specified domain user and password (not IUSR_machinename) -- IOW, IIS
: does not control the password.
: * My web.config has authentication mode as "none" and impersonate as
: "true" (non-user-specific).
: <authentication mode="None" />
: <identity impersonate="true" />
:
: The domain\user specified in the anonymous access settings in IIS has
: the rights to access the remote machine's folder location (full
: access). FWIW, This particular folder on Box B is mapped as a shared
: drive in Box A.
:
: My call to FileInfo.MoveTo(destination_in_box_b) repeatedly fails with
: DirectoryNotFoundException.
:
: Can someone _please_ help me out here?
:
: thanks
: --Dilip
- Next message: [MSFT]: "Re: cdoobject.send causes UnauthorizedAccessException"
- Previous message: WJ: "Re: web.config vs machine.config ?"
- In reply to: Dilip: "Accessing remote network resources from ASP.NET applications"
- Next in thread: Dilip: "Re: Accessing remote network resources from ASP.NET applications"
- Reply: Dilip: "Re: Accessing remote network resources from ASP.NET applications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|