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

PERL in IIS server 1

Status
Not open for further replies.

alan93

Programmer
Aug 28, 2001
14
US
I have posted this question everywhere and no one seems to know anything about it. I have a PERL script that cannot write to a file in a directory where the permissions are set to READ and WRITE. This same script worked fine on Windows98 PWS 4 but not in windows 2000 IIS server.

Know why?

It reads the file fine, just can't write to it
 
What user is IIS running as? Does this user have the appropriate permissions on that directory? Mike
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Administrator(myself), full rights
 
ok <grin> well that's *my* knowledge of web servers exhausted -- goBoating? Codiferous? Mike
&quot;Experience is the comb that Nature gives us after we are bald.&quot;

Is that a haiku?
I never could get the hang
of writing those things.
 
I'm using lots of perl on IIS, what kind of an error are you getting? And as for the user, are you sure?
I only say this because just as with Apache and other webservers most web processes are run as &quot;Anonymous&quot;, on IIS this user is the user name IUSR_<MACHINENAME> and that is the one that needs the rights to write to a given folder.
Hope this helps,


JEz
 
THAT WAS IT! thank you so much.
It was actually IWAM_username account that is created for IIS server. I didn't know it created a separate user account and assigned it only &quot;guest&quot; rights. I might have missed that but still, it should be much more visible where ever its at.

I usually don't get stumped on problems for more than a week and this one sure did.

If you live in the Cincinnati area, I'll buy you lunch.

[2thumbsup]
 
I'm glad that sorted it out, I know exactly what you mean about being stumped for more than a couple of days.

Cheers for the offer of lunch, but I'm afraid I live in the London (England) area, but the warm fuzzy glow of actually answering a problem on this forum rather than just posting the problem is thanks enough.


JEz

:);-):)
 
ok, in that case, the next time I'm in Trafalgar square we'll do it. I think there was a little sandwich shop around there, mama's or grandma's or something like that close to Big Ben if I recall. I was there in the 80's (as a U.S. serviceman), liked it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top