Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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;

In reply to Re: Spawning the Outlook application using Win32::OLE and IIS by $code or die
in thread Spawning the Outlook application using Win32::OLE and IIS by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found