in reply to Re^2: Perl and windows 2000
in thread Perl and windows 2000

pdl_babu,

'Also as I said earlier, the script does all the required things when I run it in the command prompt.'

When you run it from the command prompt you are not logged into the server as the IUSR account. The account you are logged on as will (Im sure) have more permissions than the IUSR account. Did you check the IIS settings? Have you read any of the documentation for IIS 5.0?

Martin

Replies are listed 'Best First'.
Re^4: Perl and windows 2000
by pdl_babu (Initiate) on Feb 09, 2006 at 15:13 UTC

    Hi Marto,

    Thanks for your response.

    I have not gone through the complete documentation of IIS 5.0.

    I gave administrator permission to the IUSR account and checked if it works. I again fails with the same message.

    Any guess on what could be wrong.

    Thanks-pdlbabu

      pdl_babu,

      I previously asked you to check the IIS settings, look at the IIS settings for the site in question under "Access Permissions" located in the "Home Directory" tab (this is from memory, it may be named something different) "Read" is checked as default, "Write" is not. Click the check box next to "Write" and try this again. I don't have access to a server to try this on, which is why I pointed you towards the documentation, which you really should look at.

      By the way, I also don't think that giving Administrator Privilages to an IUSR account is a smart thing to do from a security standpoint. Read up on IIS security, if you are not sure what to do, don't do random things in the hope they will fix your problem at hand. Even if setting IUSR to Administrator privilages did solve your current problem (which it didn't) you may have just caused other problems that affect the whole server. You are aware that making privilage changes to the IUSR account is global, across the server?

      Martin

        Hi Marto,

        I forgot to mention iis setting. I did change the access permission to write for that web site.

        You r right, I will remove administrator permission when i sort out all the issues.

        Thanks-pdlbabu