DCOM Errors when creating COM Objects in IIS

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default DCOM Errors when creating COM Objects in IIS

    Hi all,

    I'm having a few problems creating COM objects in IIS. The issue only seems
    to affect a couple of our own custom COM objects. The COM objects are in use
    on thousands of servers but the problem only seems to appear on the one I am
    looking at. Basically I'm seeing errors come back from ASP saying Invalid
    ProgID. Event Viewer is showing the following:

    Event ID: 10010
    Source: DCOM
    The server {D83BA03B-B176-4C22-BE32-14B185EB1318} did not register with DCOM
    within the required timeout.

    It shows this for a number of our custom COM objects (but not any Windows
    ones!). The machine is running Windows 2000 Server SP4.

    I've looked up the event in google and on eventid.net but can't find
    anything that seems to help.

    I've also written a VBS file to create one of the affected COM components
    and that works (even when it still fails in ASP).

    I've tried reregistering the affected components, as well as checking the
    registration manually in regedit.

    I've used regmon and filemon to make sure the registry keys and files are
    being found, and they are. There don't appear to be any "Access Denied"
    errors...

    The issue affects all users (including administrative users).

    A little bit of relevant history about the network: COM+ was reinstalled two
    weeks ago to fix a possibly related problem. Component Services was giving
    the following message: "Server catalog version is not supported", research
    online showed that reinstalling COM+ was required.

    Any thoughts would be appreciated!

    Thanks,

    Andy


    Andy Guest

  2. Similar Questions and Discussions

    1. Remote Objects EOF Errors with Flex 3 application
      We have recently ran into an issue with an application which ran fine in Flex 2 but now in Flex 3 (or at least the coincidencal timing of using...
    2. DCOM Errors on 2003 Ent, Event ID:10016
      Everyone, Really pulling my hair out on this one and hope somone can help. Built a new 2003 Advanced Server, SP1 and copied our web site...
    3. Creating objects
      Hello, I am using Perl to access the Windows management interface to query information on some Windows boxes through the Win32::OLE module. I am...
    4. How to use DCOM Objects in WebService?
      It could be , that the ASPNET account doesnot have the necessary privledge to call the object, do some impersonation in the config file <identity...
    5. Problem creating objects not as dbo
      I have a problem with people logging on as one user, but sql server keeps changing the owner to dbo. Sometimes the owner name will be their loggin...
  3. #2

    Default RE: DCOM Errors when creating COM Objects in IIS

    Taking a wild guess, but it seems like aspnet_wp don't have the permissions
    needed to reach across the network -- assuming this is a DCOM object. That
    might explain why your VBS works, since it's running with your logged on
    rights.

    I have a similar problem -- I can't reach network shares from ASP.NET.

    "Andy" wrote:
    > Hi all,
    >
    > I'm having a few problems creating COM objects in IIS. The issue only seems
    > to affect a couple of our own custom COM objects. The COM objects are in use
    > on thousands of servers but the problem only seems to appear on the one I am
    > looking at. Basically I'm seeing errors come back from ASP saying Invalid
    > ProgID. Event Viewer is showing the following:
    >
    > Event ID: 10010
    > Source: DCOM
    > The server {D83BA03B-B176-4C22-BE32-14B185EB1318} did not register with DCOM
    > within the required timeout.
    >
    > It shows this for a number of our custom COM objects (but not any Windows
    > ones!). The machine is running Windows 2000 Server SP4.
    >
    > I've looked up the event in google and on eventid.net but can't find
    > anything that seems to help.
    >
    > I've also written a VBS file to create one of the affected COM components
    > and that works (even when it still fails in ASP).
    >
    > I've tried reregistering the affected components, as well as checking the
    > registration manually in regedit.
    >
    > I've used regmon and filemon to make sure the registry keys and files are
    > being found, and they are. There don't appear to be any "Access Denied"
    > errors...
    >
    > The issue affects all users (including administrative users).
    >
    > A little bit of relevant history about the network: COM+ was reinstalled two
    > weeks ago to fix a possibly related problem. Component Services was giving
    > the following message: "Server catalog version is not supported", research
    > online showed that reinstalling COM+ was required.
    >
    > Any thoughts would be appreciated!
    >
    > Thanks,
    >
    > Andy
    >
    >
    >
    ChrisA Guest

  4. #3

    Default RE: DCOM Errors when creating COM Objects in IIS

    Hello,

    Since the components can be created in VBS successfully, It is mostly like
    a security issue. And, you also mentioned the COM+ service was reinstalled
    recently, this may be the reason for security setting channges. So, in the
    Compnent Services manager, you may find the COM+ application of your ASP
    application, and set its identity with a local administrator, will this
    help on the issue?

    Luke Zhang
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Luke Zhang [MSFT] Guest

  5. #4

    Default Re: DCOM Errors when creating COM Objects in IIS

    Hi Luke,

    I've tried as you suggested, but without any success.

    I also tried adding the IWAM account to the Administrators group and this
    did not work either. I have also checked that the IWAM account password is
    synced with IIS.

    I'm also seeing this coming out of the logging for our ASP application that
    is trying to create the COM object:

    10-Mar 2006 12:03:18:789 d...(2800)* Err.Number = -2146959355
    10-Mar 2006 12:03:18:804 d...(2800)* Err.Description = 006~ASP
    0177~Server.CreateObject Failed~Server execution failed


    Any more thoughts?

    Thanks,

    Andy

    "Luke Zhang [MSFT]" <lukezhan@online.microsoft.com> wrote in message
    news:0QHDJu%23QGHA.5116@TK2MSFTNGXA03.phx.gbl...
    > Hello,
    >
    > Since the components can be created in VBS successfully, It is mostly like
    > a security issue. And, you also mentioned the COM+ service was reinstalled
    > recently, this may be the reason for security setting channges. So, in the
    > Compnent Services manager, you may find the COM+ application of your ASP
    > application, and set its identity with a local administrator, will this
    > help on the issue?
    >
    > Luke Zhang
    > (This posting is provided "AS IS", with no warranties, and confers no
    > rights.)
    >

    Andy Guest

  6. #5

    Default Re: DCOM Errors when creating COM Objects in IIS

    Hi all,

    Little bit more info...

    I've discovered that this only seems to affect COM components that run in
    their own EXE's. DLLs are not affected...

    Thanks,

    Andy


    "Andy" <AndyCRM@newsgroups.nospam> wrote in message
    news:uYc$ltDRGHA.5808@TK2MSFTNGP12.phx.gbl...
    > Hi Luke,
    >
    > I've tried as you suggested, but without any success.
    >
    > I also tried adding the IWAM account to the Administrators group and this
    > did not work either. I have also checked that the IWAM account password is
    > synced with IIS.
    >
    > I'm also seeing this coming out of the logging for our ASP application
    > that is trying to create the COM object:
    >
    > 10-Mar 2006 12:03:18:789 d...(2800)* Err.Number = -2146959355
    > 10-Mar 2006 12:03:18:804 d...(2800)* Err.Description = 006~ASP
    > 0177~Server.CreateObject Failed~Server execution failed
    >
    >
    > Any more thoughts?
    >
    > Thanks,
    >
    > Andy
    >
    > "Luke Zhang [MSFT]" <lukezhan@online.microsoft.com> wrote in message
    > news:0QHDJu%23QGHA.5116@TK2MSFTNGXA03.phx.gbl...
    >> Hello,
    >>
    >> Since the components can be created in VBS successfully, It is mostly
    >> like
    >> a security issue. And, you also mentioned the COM+ service was
    >> reinstalled
    >> recently, this may be the reason for security setting channges. So, in
    >> the
    >> Compnent Services manager, you may find the COM+ application of your ASP
    >> application, and set its identity with a local administrator, will this
    >> help on the issue?
    >>
    >> Luke Zhang
    >> (This posting is provided "AS IS", with no warranties, and confers no
    >> rights.)
    >>
    >
    >

    Andy Guest

  7. #6

    Default Re: DCOM Errors when creating COM Objects in IIS

    Hello Andy,

    DLL components will be run is same process of caller and EXE component will
    have its own process. It may lack of permission to launch a new process.
    Since you have try to add IWAM in loca admin group, how about add IUSER
    also? will this help?

    Luke Zhang
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Luke Zhang [MSFT] Guest

  8. #7

    Default Re: DCOM Errors when creating COM Objects in IIS

    Hmmm...I scheduled a reboot of the server for 6am...and the reboot seems to
    have cleared the problem.

    I kind of wish I had mroe closure than that though as I would be good to
    know what the problem was! I'm thinking it probably wasn't permissions
    though as a reboot wouldn't fix a permissions issue..would it?

    I know it's an old problem, but could this be anything to do with it?
    [url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;q312074[/url]

    The server is W2K SP4, so should already include this hotfix (and the
    modified dates on the file listing are more recent than those on the
    listing).

    Any thoughts?

    Thanks,

    Andy


    "Luke Zhang [MSFT]" <lukezhan@online.microsoft.com> wrote in message
    news:dLOkCxkRGHA.5536@TK2MSFTNGXA03.phx.gbl...
    > Hello Andy,
    >
    > DLL components will be run is same process of caller and EXE component
    > will
    > have its own process. It may lack of permission to launch a new process.
    > Since you have try to add IWAM in loca admin group, how about add IUSER
    > also? will this help?
    >
    > Luke Zhang
    > (This posting is provided "AS IS", with no warranties, and confers no
    > rights.)
    >

    Andy Guest

  9. #8

    Default Re: DCOM Errors when creating COM Objects in IIS

    It is possible that it is still a permission issue. When we made some
    changes on Win 2K, it may not affect immediately until a reboot. For
    example, a reboot will restart the IIS and other processes.

    Luke Zhang
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Luke Zhang [MSFT] Guest

  10. #9

    Default Re: DCOM Errors when creating COM Objects in IIS

    Before the reboot though I removed the IWAM and IUSR accounts from the local
    administrators group (we need to keep the server secure!)

    Thanks for your help though Luke, much appreciated!

    Andy

    "Luke Zhang [MSFT]" <lukezhan@online.microsoft.com> wrote in message
    news:vait7VxRGHA.5524@TK2MSFTNGXA03.phx.gbl...
    > It is possible that it is still a permission issue. When we made some
    > changes on Win 2K, it may not affect immediately until a reboot. For
    > example, a reboot will restart the IIS and other processes.
    >
    > Luke Zhang
    > (This posting is provided "AS IS", with no warranties, and confers no
    > rights.)
    >

    Andy Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139