For Programmers: Free Programming Magazines  


Home > Archive > ASP > July 2004 > Filesystem Object and IIS6









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 Filesystem Object and IIS6
stuart

2004-07-29, 3:55 pm

Hi,

I am trying to access remote directories using the filesystemobject
and ASP. This only seems to work when the security is set to
anonymous. However, I want to connect to the remote server and pass
through the users credentials rather than the "connect as" anonymous
credentials. The web server is 2003 and running IIS6.

Thanks for your help

Stuart
Jeff Cochran

2004-07-29, 3:55 pm

On 29 Jul 2004 07:40:13 -0700, stuart.cochrane@kellogg.com (stuart)
wrote:

>I am trying to access remote directories using the filesystemobject
>and ASP. This only seems to work when the security is set to
>anonymous. However, I want to connect to the remote server and pass
>through the users credentials rather than the "connect as" anonymous
>credentials. The web server is 2003 and running IIS6.


Got an error that makes you think it isn't working? If so, share it
with us...

Jeff
Stuart Cochrane

2004-07-30, 8:55 am

Hi Jeff,

When i set the security on the ASP page as an anonymous user (without
permissions on the directory folder) I get:

Microsoft VBScript runtime error '800a0046'
Permission denied

If I keep the settings as anonymous but give the anonymous user
permissions on the remote server then the page is displayed.

However, When i set the security on the ASP page as an 'authenticated
windows security' (and my user has permisions on the directory folder) I
get:

Microsoft VBScript runtime error '800a004c'
Path not found

My problem is I want to pass the users credentials to the remote server
so I can differentiate between users permissions on the remote server.
Consequently, I don not want everyone to connect as the same user.

The ASP page uses the filesystemobject and uses a virtual path to view
the remote directory.

This is the same problem as quoted in MKB 197964 but I have no
information of how to resolve the problem using IIS6.

Thanks for your help.

Stuart




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com