Re: Accessing remote files through IIS and web applications

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 11/17/05


Date: Wed, 16 Nov 2005 21:00:02 -0800

De facto URL on how to access remote files/resources from IIS:
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/webapp/iis/remstorg.mspx

Out of the box, using anonymous and basic authentication just works with
minimal reconfiguration.

You need to clarify exactly WHAT identity is executing the ASP page.
http://blogs.msdn.com/david.wang/archive/2005/06/29/IIS_User_Identity_to_Run_Code_Part_2.aspx

-- 
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"itmanager" <itmanager@discussions.microsoft.com> wrote in message
news:39180482-62B0-4082-AD93-40E28CF0AABD@microsoft.com...
Thanks for the reply.
Although the application is ASP.NET, we are actually calling and accessing
the remote file using a classic .asp page. We tried running it outside of
the
ASP.NET app and got the same results.
Any other suggestions?
"Tom Kaminski [MVP]" wrote:
> "itmanager" <itmanager@discussions.microsoft.com> wrote in message
> news:FE5135B4-DE1C-47A8-84F3-4B3713B9FE9F@microsoft.com...
> > We have an ASP.NET application that attempts to access an Excel file
> > located
> > on a remote file server. This always results in a logon error, but if we
> > move
> > the Excel file locally to the IIS server, we are able to access it
without
> > a
> > problem.
> >
> > We are running on an IIS 6/Windows 2003 server and the remote file
server
> > is
> > also a Windows 2003 box on the same domain.
> >
> > We went through all the steps indicated in the KB article 253580 "How to
> > connect to a remote Access database from Active Server Pages" without
> > success:
> >
> > 1) Modified the Anonymous account to a local/domain administrator
account
> > that also exists on the remote server (passwords match)
> >
> > 2) Used Basic authentication
> >
> > 3) Used Windows Integrated authentication
> >
> > 4) Gave full rights to the file on the remote server
> >
> > This is obviously an access issue because once we move the file locally,
> > everything is fine and dandy but we have been unable to determine what
> > account should be given rights.
> >
> > At this point we are stumped by what else to do. Any suggestions or
ideas
> > would be very helpful.
>
> Since you're using ASP.NET this will be a better guide then the ASP
article:
> http://support.microsoft.com/default.aspx?scid=kb;en-us;317012
>
> -- 
> Tom Kaminski IIS MVP
> http://www.microsoft.com/windowsserver2003/community/centers/iis/
> http://mvp.support.microsoft.com/
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running
IIS
>
>
>


Relevant Pages

  • SecurityFocus Microsoft Newsletter #152
    ... MICROSOFT VULNERABILITY SUMMARY ... Real Networks Helix Universal Server Remote Buffer Overflow ... ... NEW PRODUCTS FOR MICROSOFT PLATFORMS ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter #140
    ... Cafelog b2 Remote File Include Vulnerability ... Webfroot Shoutbox Remote Command Execution Vulnerability ... Pablo Software Solutions Baby POP3 Server Multiple Connection... ... Microsoft Windows XP Nested Directory Denial of Service... ...
    (Focus-Microsoft)
  • Re: How configure an IIS folder from remote to run web service or asp
    ... from remote... ... On configuring the port number, try to acces the website from another machine. ... Server Error in '/' Application. ... an application in IIS. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: SBS 2003 sudden services problem over router based vpn
    ... I understand that your remote cannot receive POP3 emails through VPN ... SBS Server through routers. ...
    (microsoft.public.windows.server.sbs)
  • RE: Download connection Manager through RWW
    ... the issue may occur due to the Remote VD is ... Then please rerun the CEICW wizard and Configure Remote access wizard ... Start Internet Explorer. ... Since the Symantec anti-virus application installed on the server, ...
    (microsoft.public.windows.server.sbs)