« Previous Next »

Thread: Word Automation: Permission Denied CreateObject

Last post 06-21-2009 7:16 PM by lextm. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 06-19-2009, 9:04 AM

    • majorjg
    • Not Ranked
    • Joined on 06-19-2009, 12:42 PM
    • Posts 1

    Word Automation: Permission Denied CreateObject

    I'm running II7 on Vista 64 Bit and trying to run Word Automation through Classic ASP.  When I run the page I get Permission denied: 'CreateObject'

    In the past, my remedy for this error when working on a Windows XP running IIS6 or Vista 32 Bit running II7 I would run dcomcnfg and navigate to the folder called DCOM Config and find the object and set its permissions to run as Interactive User and set Access Permissions to allow IIS_IUSRS full control to the Word object.

    For some reason applying those same steps to Vista 64 Bit does not work.  I even went as far as setting up additional permissions to Launch and Activiate Permissions and Configuration Permissions in addition to the one already set to Access Permissions and still it gives me the error.  I also made sure to set in IIS7 applications pools for both DefaultAppPool and Clasic.NETAppPool to Enable 32-Bit to True and still I get the error.

    The only thing that is different aside from Vista 64 bit was the WINWORD.EXE object, instead of being called Microsoft Office Word 97 - 2003 in Windows XP and Vista 32 bit its now called 00020906-000-000-C000-000000000046 even though I used the exact same install CD's that came from MS Office 2007 Professional on all the machines.

    I'm out of ideas, if anyone can help I would appreciate it.

  • 06-21-2009, 7:16 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,386

    Re: Word Automation: Permission Denied CreateObject

    Server side office automation is not supported by Microsoft. The policy and the suggestions are available here,

    http://support.microsoft.com/kb/257757

    Please give up your current approach and try out the suggestions.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (2 items)
Microsoft Communities