File Access Via IIS - ASP - COM

From: ForMyNewsGroups (ForMyNewsGroups_at_hotmail.com)
Date: 04/28/03


Date: 27 Apr 2003 19:23:22 -0700


(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: HTTP Error 403.6 - Forbidden: IP Address Rejected
    ... it was the proxy settings on the ... > You can also try to change the security settings for the Remote Web ... Open the IIS console ...
    (microsoft.public.windows.server.sbs)
  • Re: ASP.NET webs not working
    ... application settings were simple and easily reversible in an effort to ... The Default Web Site in IIS has "Anonymous access" checked. ... The default security and applications should be correctly configured by ...
    (microsoft.public.frontpage.client)
  • Re: IIS security settings are reset after I reboot the server
    ... Stopping and restarting the IIS services should let you see if the ... security settings are going to disappear or not after a reboot [in other ... I believe the IIS settings may be disappearing when the services are ... Then, restart W3SVC service. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Customerrors in web.config question
    ... description on the different levels of error handling in IIS 6 and ASP.NET ... > error settings defined within the IIS metabase and not by the ... >>web.config file with a customerrors element that points the error handling ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: replicate IIS Setting between 2 IIS Server
    ... You can also export IIS settings to an XML file & import them to another ... Load Balancing: ... And if there's a server failure, ...
    (microsoft.public.inetserver.iis)