Re: File Access Via IIS - ASP - COM

From: Andrew MacNeill (andrewnews_at_aksel.com)
Date: 04/29/03


Date: Tue, 29 Apr 2003 05:55:46 -0400


As with as the issue with the UNC, I found that newer versions of IIS
automatically do NOT allow IUSER_xxxxx to have access to other folders.

You have to give this privilege explicitly.

"ForMyNewsGroups" <ForMyNewsGroups@hotmail.com> wrote in message
news:2b11e73.0304271823.2ac6c056@posting.google.com...
> (using iis 5.0 on win2k/sp3)
>
> i am seeing a problem that i have tracked down to a possible IIS
> setting (either with the anonymous user account or something inside
> the iis settings itself).
>
> my asp page initializes an ATL COM object. the first thing the COM
> method does is a WINEXEC( "c:\MyTest.exe \\my_share\file.txt" ),
> which just opens the file and prints the contents to a debug window.
>
> for some reason, i cannot get access to \\my_share\file.txt (which
> exists on another machine). if i get a local file, it works fine, i
> get the file contents and write it out.
> but when i try it from ANYWHERE outside this box my webserver is
> running on, i get an access violation or file not found (depending on
> if i use the UNC or if i a mapped drive, respectively).
>
> basically: i don't have access to files for read/write that aren't on
> the webserver. i have compared my settings in the other environments
> where this app works and made sure they are equal.
> i have also built a test app which calls the COM method and it works
> just fine (when i don't go through IIS).
>
> is there something else that i could check? anything at all??
>
> thx!



Relevant Pages

  • RE: Error while running a virtual site by using a mapped drive
    ... IIS6/win2003 std server. ... ** the virtual directory is not existing or accessible, for example, you ... ** the IIS process doesn't have sufficient permission to access the ... is not correctly configured for the virtual directory's UNC share. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Running an asp.net application on a remote share (UNC) - parse
    ... Thanks for the response mike, but unfortunately, I got errors from ... over a UNC? ... > but the JIT Compiler underneath IIS bombed. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: UNC names in iisftp.vbs (IIS 6)
    ... I think iisftp.vbs is for ftp site management, ... > In IIS Manager, right click on site. ... Supply a UNC and click ... > Script Docs: ...
    (microsoft.public.inetserver.iis.ftp)
  • File Access Via IIS - ASP - COM
    ... i am seeing a problem that i have tracked down to a possible IIS ... the iis settings itself). ... but when i try it from ANYWHERE outside this box my webserver is ... i have also built a test app which calls the COM method and it works ...
    (microsoft.public.inetserver.iis.security)
  • RE: Error while running a virtual site by using a mapped drive
    ... directory is a well accessible UNC share, it is likely that the permission ... is not correctly configured for the virtual directory's UNC share. ... ASP.NET 2.0 web application in IIS which point to a UNC share ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.security)