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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open (Dir...) 1

Status
Not open for further replies.

FALCONSEYE

Programmer
Jul 30, 2004
1,158
US
hi people,

thanks for your help in advance. i have saved the following code on a server and when i try to run, it gives this error

No such file or directory at D:\Montana\Fails\test.pl line 8.

(D:\ is the server)

and the script is
use strict;
use warnings;

open (FH, "C:\\\\Test\\61012049.ver") or die $!;
print while (<FH>);

where (C:\ is the hard drive on my pc). How can I show the server that the file is located on another machine? The "other machine" s hard drive C: is mapped on the server. the task i want to accomplish is much more complicated but i think if i resolve this problem, i will complete the other one. thanks for your help in advance!
 
IIS denies access to a file share?

Is the webuser for IIS set up as a network user, or a local user, if so the same user on the second machine set up with the same credentials should suffice - I'd get that checked in the NT, or W2K forum though

Per SQL Server, if the user you're specifying exists on that database, you should be home a hack

HTH
--Paul

It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top