in reply to Win32::OLE(0.1701) error 0x80070005

Nalina,

I can confirm this is not related to Perl. I ran your scirpt on a test XL file (as stand alone) and it created the PNG file just fine. I guess the issue is with the IIS Conf... I am not familiar with IIS but guessing - is IIS running with adequate perms to create the file?

Can you write your file to some public directory. Will Inetpub work out better?

cheers

SK

  • Comment on Re: Win32::OLE(0.1701) error 0x80070005

Replies are listed 'Best First'.
Re^2: Win32::OLE(0.1701) error 0x80070005
by Nalina (Monk) on Aug 10, 2005 at 06:52 UTC
    How will I check that?
      A bit off topic for a Perl forum, however, IIS generally runs (anonymously anyway) with the IUSR_machinename local user.

      You will need to check two places for permissions: firstly open the web site in the IIS admin tool and make sure the permissions are set to allow write access. Then open the directory in the file system where you're trying to write to and ensure that the IUSR_machinename account has write access to the directory. It may also need read/write access higher up the directory tree as well depending on your configuration.

      You could also turn auditing on those directories and check the security event log to see exactly where it's being denied if this doesn't work.

      HTH,
      Loki

      I am sorry I am afraid I am not the right person to give you info on IIS (never used it before). You might want to try an IIS forum or maybe someone in PM who knows IIS very well can help. Since this is not actually related to Perl, i am not sure whether you will get too many responses!

      Good luck!