Getting 800a0046 error on IIS? on Windows 8.1 RRS feed

  • Question

  • User1254222884 posted

    We have an in-house built COM object (not really needed any longer, but I don't want to re-write the code that uses it: classic ASP pages) that is hosted in Component Services running as a particular network user. Still works fine on our production and staging servers.

    However, I can't seem to get it to work on my local dev machine (Windows 8.1). I keep getting a permission denied error when I try to create the object.

    Microsoft VBScript runtime error '800a0046'

    Permission denied: 'CreateObject'

    /photogallery/editgallery.asp, line 513

    Like I said, the code works on our production server. So, I must have something configured wrong on my local machine.

    Any thoughts on what might be different about the configuration between Windows Server 2012 R2 and Windows 8.1 for Component Services configuration? Or what else it could be?


    Thursday, December 3, 2015 6:37 PM


  • User1254222884 posted


    Worked on this for two days, posted here, then found the ONE SETTING in Component Services that made the error go away:

    In the Security tab of the object properties in Component Services manager, I unchecked the "Enforce access checks for this application" and the problem went away (not terribly concerned about any security implications of that checkbox since it's only running on my local dev box that can't be accessed from the outside world)...


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 3, 2015 6:41 PM