in reply to Re: eval "use Module::Name" silently dies under MS IIS/PerlIs.dll
in thread eval "use Module::Name" silently dies under MS IIS/PerlIs.dll

Ah, I did not notice the application pools have their own identities, I only checked the account set for the anonymous access to the website (website properties / Directory Security / Authentication and access control.

In either case both websites and application pools use the same identities in both places. IUSR_... for the website and "Network Service" for the app pool :-(

  • Comment on Re^2: eval "use Module::Name" silently dies under MS IIS/PerlIs.dll

Replies are listed 'Best First'.
Re^3: eval "use Module::Name" silently dies under MS IIS/PerlIs.dll
by ig (Vicar) on Nov 17, 2008 at 22:37 UTC

    You might write a script that does not use any modules but displays @INC, to make sure it is looking for modules where you think it is, and read a .pm file (open it directly, don't use it) to make sure there is no access problem on the file.

    In addition to the obvious settings in the IIS admin GUI, there may be differences in the metabase. You can review this as an XML file (assuming a reasonably recent version of IIS). It might be worth having a look there to see if anything differs between the sites.

      I already looked at the @INC, it looks the same one both sites. I will try to read the .pm and look at the metabase tomorrow and post an update here. Thanks everyone!