Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access denied running "DIR" on remote server

Status
Not open for further replies.

Rovent

Technical User
Nov 16, 2001
61
US
Hullo All -

I've got an odd question, and i've seen a couple other threads on this, but none of them seemed to help me out. . .

I have IIS 5.1 running on a Windows 2000 Server called "Openview". I'm trying to display the size of a file on remote server called "Exchange". at the command prompt on "Openview", I can run this command fine:

c:\>dir "\\exchange\shared folder\file.txt"

But, when i run this as a system call (using Perl), it dies with an access denied.

$strResults = `dir "\\exchange\shared folder\file.txt"`

Here's what i've tried so far. . .can anyone see if i'm missing something?

- I'm viewing the webpage. I'm a member of Domain Admins.
- The folder is shared so "Domain Admins" have full access, and the folder permissions itself has "Domain Admins" having read access.
- IIS directory authentication is set to "Integrated Windows Permissions"
- I tried modifying the COM object "IIS Out-Of-Process", and changing it from Openview\IWAM to my account (saw that in a Microsoft article), but that didn't seem to help. . .

I'm not sure were else to go. I'm pretty strong in terms of Perl/CGI, but really, i havn't played with IIS a whole lot, so i'm kind of lost at sea on this one. Can anyone suggest anything?

Much thanks in advance!

- Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top