Re: Accessing mapped drivers from a web service

Tech-Archive recommends: Speed Up your PC by fixing your registry



You need delegation
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconaspnetdelegation.asp

HTH,
~ Remus

"Greg" <Greg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:424AD86B-50D5-4251-B3DF-F91AA41CA65B@xxxxxxxxxxxxxxxx
> We are running a web service that uses a VFP exe through automation. The
> web.config specifies to impersonate Administrator ( <identity
> impersonate="true" userName="Administrator" password="chilly"/>). This
> works
> fine and the exe when viewed in the task manager is running as
> administrator.
>
> The problem comes when we need to retreive an image file from a different
> computor via a mapped driver. The FILE() returns .F.
>
> This only occurs when running through the web service, when we run from a
> thick client connecting to the same automation exe it works fine
>
> Can anybody help!!


.



Relevant Pages

  • 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: Automating Internet Explorer
    ... > Not all objects expose an Automation interface. ... but has not exposed a programmability interface. ... > You changed a project from .dll to .exe, ...
    (microsoft.public.vb.general.discussion)
  • Re: Automating Internet Explorer
    ... Not all objects expose an Automation interface. ... You changed a project from .dll to .exe, ...
    (microsoft.public.vb.general.discussion)
  • Re: How to convert a .NET application to webservice?
    ... released as .exe file plus .dll files. ... Using your favorite analysis technique, try to find a set of operations that web service clients would want to use, are course-grained, stateless, and which do not expose details of your implementation. ...
    (microsoft.public.dotnet.framework.webservices)
  • Two WS clients, one fast one slow!!!!
    ... One takes 1 second to call the Web service, ... The fast exe is always fast, and the slow exe is always slow. ... Checking the server time, I ... Dim proxy As StarWebService.starTransportWse = GetWebServiceProxy ...
    (microsoft.public.dotnet.framework.webservices)