Re: Copy file from another server to local server



I should be clearer: I'm running Win2K. I tried changing the Anonymous User
Account (under Directory Security) for the virtual directory the web service
is located in to the Domain Admin account, and it still doesn't work. Am I
looking in the wrong place?

"bruce barker (sqlwork.com)" <b_r_u_c_e_removeunderscores@xxxxxxxxxxx> wrote
in message news:ul2mDHChGHA.4368@xxxxxxxxxxxxxxxxxxxxxxx
the web service account (app pool on 2003) should be a domain account with
network permissions. the local system account does not have network
access.

-- bruce (sqlwork.com)

"LiveCycle" <livecycle@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:udhn1%23BhGHA.3496@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I'm writing a web service, and, as part of its function, I want it to
copy a file from a remote server and place that file on the local web
server under another name. However, I always get Access Denied, whatever
I try. I even tried making the Anonymous user for the web service the
system administrator (with the correct password), to no avail. I also
tried sharing out the folder I'm pulling files from to allow access from
Everyone. Can I use UNC paths at all? When I try mapping a drive to
that folder, it tells me Could not find a part of the path
"N:\test.txt" - presumably it doesn't find that drive mapping.

Any tips or guidance would be much appreciated.

Thanks, Jim







.



Relevant Pages

  • RE: SharePoint
    ... Dim strSPSite As String = "http://xxxxxxxxx"; ... Subject: SharePoint ... Do you have access to the web service code to see how it is done there? ... a Windows 2003 server with an admin account running it, ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Asp.Net and Webservice using Impersonation/App Pools
    ... the EXE to the user account that the web service will run as? ... > webservice everything goes smoothly. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Using kerberosSecurity Throws Security Exception
    ... Account with a Custom Principal Name using SetSPN.exe utility. ... I tried turning on identity impersonation for my web app. ... >> turned on for the web app (the client of my web service). ... >> Non nobis Domine non nobis sed nomini Tuo da gloriam. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Windows Auth to SQL Server from ATL Web Service not working...
    ...  When I hit the web service with a simple test application, ... account I'm logged on as. ... could even be the one the application pool in iis is running under) to ... this impersonation token is not passed on to the SQL Server. ...
    (microsoft.public.vc.atl)
  • Re: Not your usual bonehead ASP.NET permissions issue...
    ... on win2000 its the asp.net account. ... tokens permission at request start. ... My IIS runs as Local System, and I understand I cannot start a process ... I put this Web Service into an IIS Application Pool with the ...
    (microsoft.public.dotnet.framework.aspnet)