Cannot Create New Instance of COM+ Object After You Repeatedly Restart the COM+ Object

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

  1. #1

    Default Cannot Create New Instance of COM+ Object After You Repeatedly Restart the COM+ Object

    I've checked that the server I'm working on has win2k sp4 which had a
    fix from microsoft for this problem. However, it seems that I still
    have this problem. I'm calling a ocx component from asp and after a
    reboot everything works fine for a while and then all of a sudden the
    graph component stops responding. Using vbscript i can still call the
    component but via asp it doesn't work. Can anyone suggest another
    solution. I did look in the event viewer and had a message

    The server did not register with dcomm for the iusr account. I checked
    and the iusr account was linked to active server 2.0. Please let me
    know any ideas on how to solve this. Thank you!


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Align1912 Guest

  2. Similar Questions and Discussions

    1. Dynamically loading user control into Placeholder gives Object reference not set to an instance of an object
      I've created user controls that contain listboxes that are dynamically populated from the database. In the html view of the user control...
    2. Custom Control Problem :: Object reference not set to an instance of an object
      Hi All! I have the following Custom Control file... '########### WebUserControl1.ascx ############# <%@ Control Language="vb"...
    3. [WebMethod] System.NullReferenceException: Object reference not set to an instance of an object.
      Um, this isn't going to work, generally. Web services, as any web app (especially on Windows server 2003) are heavily sandboxed. The method you...
    4. Mysterious Error: Object reference not set to an instance of an object
      Hi There! I'm having a mysterious error right after I login using Forms Authentication in my ASP.NET app. Below is the error... Exception...
    5. HELP! Error Loading ASPX : Object Reference not set to an instance object
      Hello, When i run my aspx i get this weird error: System.NullReferenceException: Object reference not set to an instance of an object. at...
  3. #2

    Default Re: Cannot Create New Instance of COM+ Object After You Repeatedly Restart the COM+ Object


    "Align1912" <align1912@gmail.com> wrote in message
    news:erE96ehMHHA.1248@TK2MSFTNGP03.phx.gbl...
    > I've checked that the server I'm working on has win2k sp4 which had a
    > fix from microsoft for this problem. However, it seems that I still
    > have this problem. I'm calling a ocx component from asp and after a
    > reboot everything works fine for a while and then all of a sudden the
    > graph component stops responding. Using vbscript i can still call the
    > component but via asp it doesn't work. Can anyone suggest another
    > solution. I did look in the event viewer and had a message
    >
    > The server did not register with dcomm for the iusr account. I checked
    > and the iusr account was linked to active server 2.0. Please let me
    > know any ideas on how to solve this. Thank you!
    >
    This post is a little ambigous, are you saying you've added an OCX component
    to a COM+ server application and are calling it from ASP?

    Are you sure the OCX is safe to call in the way? Most OCX are designed to
    provide UI elements. Components installed in COM+ application whould be
    marked for unattended execution and retained in memory.


    Anthony Jones Guest

  4. #3

    Default Re: Cannot Create New Instance of COM+ Object After You RepeatedlyRestart the COM+ Object

    Align1912 wrote:
    > I've checked that the server I'm working on has win2k sp4 which had a
    > fix from microsoft for this problem. However, it seems that I still
    > have this problem. I'm calling a ocx component from asp and after a
    > reboot everything works fine for a while and then all of a sudden the
    > graph component stops responding. Using vbscript i can still call the
    > component but via asp it doesn't work. Can anyone suggest another
    > solution. I did look in the event viewer and had a message
    >
    > The server did not register with dcomm for the iusr account. I checked
    > and the iusr account was linked to active server 2.0. Please let me
    > know any ideas on how to solve this. Thank you!
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    My bet is if you restart IIS (iisreset /restart) it will work again

    The component must be crashing somewhere - at least it's not being
    unloaded correctly; Your event viewer message will be for the problem
    caused, not the problem causing.


    --
    David Bray
    [url]http://www[/url] - dot - brayworth - dot - com - dot - au
    david - at - brayworth - dot - com - dot - au

    /*
    This email is but an indication and in no
    way a complete and/or faithful statement.
    */
    Dave 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