Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Spawning the Outlook application using Win32::OLE and IIS

by $code or die (Deacon)
on Jan 12, 2002 at 19:47 UTC ( #138275=note: print w/replies, xml ) Need Help??


in reply to Spawning the Outlook application using Win32::OLE and IIS

Your IUSR_* account needs permission to the instantiate the COM object. I can't remember where you do this, but I remember what the screen looks like. (I've been a windows free zone for a few weeks). Check through the Administrative Tools applets. Also download OLEVIEW from microsoft,

I wanted to do something similar once, but to instantiate an Internet.Explorer object, the IEXPLORE.exe permissions were irrelevent. You can can grant permissions to the COM objects to users.

Sorry I can't help any more than that, but I haven't got a windows machine to look this up on at the moment.

update: Does your script need to run under IUSR_...? Do you really want everyone to have access to your calendar or do you want to password protect it? If you want it password protected, you can untick Anonymous access in IIS, and use Basic/NTLM authentication. That might be a temporary workaround. But since this is more of a Windows/IIS problem, you'll find more help in a related news://microsoft.public.* newsgroup, for example: IUSR_... persmissions problem - Pls Help!

Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;
  • Comment on Re: Spawning the Outlook application using Win32::OLE and IIS

Replies are listed 'Best First'.
Re: Re: Spawning the Outlook application using Win32::OLE and IIS
by dws (Chancellor) on Jan 12, 2002 at 22:55 UTC
    Your IUSR_* account needs permission to the instantiate the COM object.

    Or you need access to someone who does have permission. I've seen a scheme based on having the web server queue files to another process. The second process ran under a different (more privileged) user account, and had full access to COM and DCOM. This split was some for real or perceived security reasons. (It's been a couple of years, and I've lost the details.)

    A benefit of staging things this way is that you get a complete, file-based history for debugging.

      Yes, that might be a better way of doing it. I've done something similar, setting up a SOAP server using Win32::Daemon and SOAP::Lite.

      Simon Flack ($code or die)
      $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
      =~y'_"' ';eval"die";print $_,lc substr$@,0,3;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://138275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2021-10-25 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?