We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Permission denied: 'CreateObject'

Last post 05-01-2008 6:55 PM by dilmatlagana. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 03-05-2008 8:29 AM

    • girlkulit
    • Top 500 Contributor
    • Joined on 01-17-2008
    • Philippines
    • Member
    • Points 480

    Permission denied: 'CreateObject'

    <--- Sending email using vbscript, asp classic and outlook. --->

    Microsoft VBScript runtime (0x800A0046)
    Permission denied: 'CreateObject'

    I'm getting this error in my code --> Set Outlook = CreateObject("Outlook.Application")

    Please help...

    Thanks in advance! ü

     [this is actually posted already in vbscript forum, but i'm a little confused on where to post this so I posted it here too..Smiley Face ]

    i couldn't sleep, and wouldn't sleep, [love] asp.net and c# came and told me i shouldn't sleep, bewitched bothered and bewildered, am i
    • Post Points: 10
  • 03-13-2008 10:44 AM In reply to

    • johntau
    • Not Ranked
    • Joined on 11-10-2005
    • New Member
    • Points 70

    Re: Permission denied: 'CreateObject'

    you statement must be like this 

    Set Outlook = server.CreateObject("Outlook.Application") 

    • Post Points: 10
  • 03-31-2008 2:00 AM In reply to

    • girlkulit
    • Top 500 Contributor
    • Joined on 01-17-2008
    • Philippines
    • Member
    • Points 480

    Re: Permission denied: 'CreateObject'

    Thank you, johntau, and sorry for the late response, I tried your suggestion but it lead me to another error, =(

    Error Type:
    Server object, ASP 0178 (0x80070005)
    The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

    Thanks again.. ü

     

    i couldn't sleep, and wouldn't sleep, [love] asp.net and c# came and told me i shouldn't sleep, bewitched bothered and bewildered, am i
    • Post Points: 10
  • 04-02-2008 3:24 PM In reply to

    • Serval
    • Top 500 Contributor
    • Joined on 08-21-2006
    • Member
    • Points 295

    Re: Permission denied: 'CreateObject'

    hello

    you must set the parameters in the dcomcnfg ( start, execute then dcomcnfg )
    search for the outlook object and set the correct user in the identity tab

    Serval

    • Post Points: 10
  • 04-03-2008 5:52 AM In reply to

    • girlkulit
    • Top 500 Contributor
    • Joined on 01-17-2008
    • Philippines
    • Member
    • Points 480

    Re: Permission denied: 'CreateObject'

    Ok, thanks, I'll  try it next time, because for now, my 'sending email' have a new approach and it is functioning well.. Thanks for the time.. ü

    i couldn't sleep, and wouldn't sleep, [love] asp.net and c# came and told me i shouldn't sleep, bewitched bothered and bewildered, am i
    • Post Points: 10
  • 05-01-2008 6:55 PM In reply to

    Re: Permission denied: 'CreateObject'

    I am also facing the same problem and i tried to find outlook in DCOM but could not find it. I tried this on 2-3 computers but with same result. Outlook is working perfactly on all the computers. Pl. help...

    • Post Points: 5
Page 1 of 1 (6 items)