Re: File Access Via IIS - ASP - COM
From: Andrew MacNeill (andrewnews_at_aksel.com)
Date: 04/29/03
- Next message: Sally Simmons: "Electronic Goods"
- Previous message: abdi: "net passport cookies is disabled, and i can not see from the internet option sit"
- In reply to: ForMyNewsGroups: "File Access Via IIS - ASP - COM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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!
- Next message: Sally Simmons: "Electronic Goods"
- Previous message: abdi: "net passport cookies is disabled, and i can not see from the internet option sit"
- In reply to: ForMyNewsGroups: "File Access Via IIS - ASP - COM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|