Re: I am stucked: Working on a network mapped drive via Web Service

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

Either run the corresponding ASP .NET application in a dedicated application pool running under a user account with sufficient permissions to access the mapped network drive,

Or

Log in as such a user and impersonate for the time necessary to access the mapped network drive. In this case, you'll need to grant elevated priveleges to the ASPNET account ("Act as part of the operating system" if I'm not mistaken).

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]


"Nirosh" <test@xxxxxxx> wrote in message news:uKA6e1gzFHA.1032@xxxxxxxxxxxxxxxxxxxxxxx
Hi All,

Can any one suggest me a best way to do this ..

I have a thrid party tool "EXE" that we need to use with our web service to
manipulate some complex XML files, which reside in a seperate files server.
we have mapped the fodler to a different folder and need to allow the EXE to
process on the mapped drive. When I trigger the EXE via web service the EXE
get the permission of the launching user (mean ASP.NET user) resulting a
permission issue. Mapped drive cannot access by the IIS (web application)
user.


I am keeping this open .. please advice me the best approach I can take here
to do this assuming that I cannot change the EXE or the mapped drive
requirements.


Thanks,
Regards,
Nirosh.




.



Relevant Pages

  • Re: System.Security.SecurityException Error
    ... Using .NET configuration tool you may set network zone as trusted. ... web service dynamic discovery or static discovery is used.... ... When I copy the EXE to the remove web ... > ERROR: System.Security.SecurityException: Request for the permission of ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • I am stucked: Working on a network mapped drive via Web Service
    ... I have a thrid party tool "EXE" that we need to use with our web service to ... manipulate some complex XML files, which reside in a seperate files server. ... When I trigger the EXE via web service the EXE ... permission issue. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: cant modify a users profile path
    ... You have two specific user account in the SBS domain that you cannot ... please try to verify the permission on those two specific ... Search that administrator account to list its effective ... (by default the administrator has the full control ...
    (microsoft.public.windows.server.sbs)
  • Re: cant modify a users profile path
    ... You have two specific user account in the SBS domain that you cannot ... please try to verify the permission on those two specific ... Check whether the administrator account have the full control ...
    (microsoft.public.windows.server.sbs)
  • Re: Auto-update of an application, permission problem in "Program Files"
    ... is a filted normal user account token by default. ... normal user write permission to the "Program Files" directory. ... Microsoft Online Community Support ...
    (microsoft.public.win32.programmer.kernel)