|
Home > Archive > IIS Server Security > November 2005 > Accessing remote files through IIS and web applications
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Accessing remote files through IIS and web applications
|
|
| itmanager 2005-11-15, 5:59 pm |
| 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.
| |
| Tom Kaminski [MVP] 2005-11-16, 6:03 pm |
| "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/defaul...kb;en-us;317012
--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsser...ty/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
| |
|
|
|
|
|
|
|