COM Surrogate Errors

Discussion in 'ASP .Net' started by =?Utf-8?B?bmVpbHQxMDA=?=, Jul 21, 2005.

  1. Am running Win XP SP2 with Classic ASP+VB6 dll's alongside ASP.NET+C# dll's.

    I keep getting the following error … ‘COM Surrogate encountered a problem
    and needs to shut down’. This requires me to do an IISReset and re-start
    whatever I was doing, which is extremely frustrating. Google reveals that
    this is a pretty common type of error but does not point me to any kind of
    solution to it. MS's knowledge base appears pretty silent on this issue.

    I have just rebuilt my PC from scratch and installed mostly MS products
    (save the Oracle 9.2.04 ODP) so I cannot understand what could be the cause
    of this problem. So if anybody has any advice (aside from installing W2K or
    W2003) that may be of help I greatly appreciate it?

    Neil

    Further info
    =======
    I have saved the conents of both the following ...
    C:\DOCUME~1\b9995730\LOCALS~1\Temp\WER05bb.dir00\dllhost.exe.mdmp
    C:\DOCUME~1\b9995730\LOCALS~1\Temp\WER05bb.dir00\appcompat.txt
    .... and can send on.

    A restricted width extract from appcompat.txt is as follows ...

    <?xml version="1.0" encoding="UTF-16"?>
    <DATABASE>
    <EXE NAME="SYSTEM INFO" FILTER="GRABMI_FILTER_SYSTEM"
    <MATCHING_FILE NAME="advapi32.dll" SIZE="616960"
    <MATCHING_FILE NAME="gdi32.dll" SIZE="278016" CHE
    <MATCHING_FILE NAME="kernel32.dll" SIZE="983552"
    <MATCHING_FILE NAME="ntdll.dll" SIZE="708096" CHE
    <MATCHING_FILE NAME="ole32.dll" SIZE="1281536" CH
    <MATCHING_FILE NAME="oleaut32.dll" SIZE="553472"
    <MATCHING_FILE NAME="shell32.dll" SIZE="8384000"
    <MATCHING_FILE NAME="user32.dll" SIZE="577024" CH
    <MATCHING_FILE NAME="wininet.dll" SIZE="656384" C
    <MATCHING_FILE NAME="winsock.dll" SIZE="2864" CHE
    </EXE>
    </DATABASE>
    =?Utf-8?B?bmVpbHQxMDA=?=, Jul 21, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?bmVpbHQxMDA=?=

    Bruce Barker Guest

    vb6 com objects are apartment model com objects. this mean all access to the
    com object must be from the same thread that created it. asp.net is thread
    agile (switches threads during processing), vb6 components are not supported
    by default. you can set the aspcompat attribute (if a web page) or create
    you own thread for calling the vb6 object.

    note: .net web services do not support vb6 com objects, you must create a
    controlling thread.

    -- bruce (sqlwork.com)

    "neilt100" <> wrote in message
    news:...
    > Am running Win XP SP2 with Classic ASP+VB6 dll's alongside ASP.NET+C#
    > dll's.
    >
    > I keep getting the following error . 'COM Surrogate encountered a problem
    > and needs to shut down'. This requires me to do an IISReset and re-start
    > whatever I was doing, which is extremely frustrating. Google reveals that
    > this is a pretty common type of error but does not point me to any kind of
    > solution to it. MS's knowledge base appears pretty silent on this issue.
    >
    > I have just rebuilt my PC from scratch and installed mostly MS products
    > (save the Oracle 9.2.04 ODP) so I cannot understand what could be the
    > cause
    > of this problem. So if anybody has any advice (aside from installing W2K
    > or
    > W2003) that may be of help I greatly appreciate it?
    >
    > Neil
    >
    > Further info
    > =======
    > I have saved the conents of both the following ...
    > C:\DOCUME~1\b9995730\LOCALS~1\Temp\WER05bb.dir00\dllhost.exe.mdmp
    > C:\DOCUME~1\b9995730\LOCALS~1\Temp\WER05bb.dir00\appcompat.txt
    > ... and can send on.
    >
    > A restricted width extract from appcompat.txt is as follows ...
    >
    > <?xml version="1.0" encoding="UTF-16"?>
    > <DATABASE>
    > <EXE NAME="SYSTEM INFO" FILTER="GRABMI_FILTER_SYSTEM"
    > <MATCHING_FILE NAME="advapi32.dll" SIZE="616960"
    > <MATCHING_FILE NAME="gdi32.dll" SIZE="278016" CHE
    > <MATCHING_FILE NAME="kernel32.dll" SIZE="983552"
    > <MATCHING_FILE NAME="ntdll.dll" SIZE="708096" CHE
    > <MATCHING_FILE NAME="ole32.dll" SIZE="1281536" CH
    > <MATCHING_FILE NAME="oleaut32.dll" SIZE="553472"
    > <MATCHING_FILE NAME="shell32.dll" SIZE="8384000"
    > <MATCHING_FILE NAME="user32.dll" SIZE="577024" CH
    > <MATCHING_FILE NAME="wininet.dll" SIZE="656384" C
    > <MATCHING_FILE NAME="winsock.dll" SIZE="2864" CHE
    > </EXE>
    > </DATABASE>
    >
    >
    Bruce Barker, Jul 21, 2005
    #2
    1. Advertising

  3. =?Utf-8?B?bmVpbHQxMDA=?=

    lhardwick69 Guest

    [






    i was having this problem and formatted my pc 3 times since vista has
    been released--on the forth time i was getting kind of mad and thought
    about going back to vista-as i never had this problem--but my dad fixed
    it for me---go to program that causes the com surrogate error to pop up
    -
    start--programs--find program--right click-go to
    properties on the window that pops up--instead of running it as
    compatable for windows xp--look toward lower part of box and run it as
    administrator--click ok/apply and boom..problem fixed..if it isnt that
    program its a program that deals with video..so go through and do that
    with all programs that deal with video..it fixed my probleem
    it never did this to me on xp but vista it did and where
    vista is trying to be the most secure version ever--it requires a lot
    more treaking to work right--any other questions--email me at
    lhardwick69 @ frontiernet.netand if i can help i will

















    QUOTE]-Originally posted by Bruce Barker -
    *vb6 com objects are apartment model com objects. this mean all access
    to the
    com object must be from the same thread that created it. asp.net is
    thread
    agile (switches threads during processing), vb6 components are not
    supported
    by default. you can set the aspcompat attribute (if a web page) or
    create
    you own thread for calling the vb6 object.

    note: .net web services do not support vb6 com objects, you must create
    a
    controlling thread.

    -- bruce (sqlwork.com)

    "neilt100" <> wrote in message
    news:...
    > Am running Win XP SP2 with Classic ASP+VB6 dll's alongside

    ASP.NET+C#
    > dll's.
    >
    > I keep getting the following error . 'COM Surrogate encountered a

    problem
    > and needs to shut down'. This requires me to do an IISReset and

    re-start
    > whatever I was doing, which is extremely frustrating. Google reveals

    that
    > this is a pretty common type of error but does not point me to any

    kind of
    > solution to it. MS's knowledge base appears pretty silent on this

    issue.
    >
    > I have just rebuilt my PC from scratch and installed mostly MS

    products
    > (save the Oracle 9.2.04 ODP) so I cannot understand what could be

    the
    > cause
    > of this problem. So if anybody has any advice (aside from installing

    W2K
    > or
    > W2003) that may be of help I greatly appreciate it?
    >
    > Neil
    >
    > Further info
    > =======
    > I have saved the conents of both the following ...
    > C:\DOCUME~1\b9995730\LOCALS~1\Temp\WER05bb.dir00\dllhost.exe.mdmp
    > C:\DOCUME~1\b9995730\LOCALS~1\Temp\WER05bb.dir00\appcompat.txt
    > ... and can send on.
    >
    > A restricted width extract from appcompat.txt is as follows ...
    >
    > <?xml version="1.0" encoding="UTF-16"?>
    > <DATABASE>
    > <EXE NAME="SYSTEM INFO" FILTER="GRABMI_FILTER_SYSTEM"
    > <MATCHING_FILE NAME="advapi32.dll" SIZE="616960"
    > <MATCHING_FILE NAME="gdi32.dll" SIZE="278016" CHE
    > <MATCHING_FILE NAME="kernel32.dll" SIZE="983552"
    > <MATCHING_FILE NAME="ntdll.dll" SIZE="708096" CHE
    > <MATCHING_FILE NAME="ole32.dll" SIZE="1281536" CH
    > <MATCHING_FILE NAME="oleaut32.dll" SIZE="553472"
    > <MATCHING_FILE NAME="shell32.dll" SIZE="8384000"
    > <MATCHING_FILE NAME="user32.dll" SIZE="577024" CH
    > <MATCHING_FILE NAME="wininet.dll" SIZE="656384" C
    > <MATCHING_FILE NAME="winsock.dll" SIZE="2864" CHE
    > </EXE>
    > </DATABASE>
    >
    > *




    --
    lhardwick69
    ------------------------------------------------------------------------
    Posted via http://www.codecomments.com
    ------------------------------------------------------------------------
    lhardwick69, Mar 24, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sakcee
    Replies:
    3
    Views:
    362
    Diez B. Roggisch
    Jan 5, 2006
  2. rao.kamran
    Replies:
    0
    Views:
    1,896
    rao.kamran
    May 21, 2008
  3. neilt100

    COM Surrogate Errors

    neilt100, Jul 21, 2005, in forum: ASP General
    Replies:
    0
    Views:
    149
    neilt100
    Jul 21, 2005
  4. J Krugman

    "Surrogate infinity" in Perl?

    J Krugman, Sep 8, 2003, in forum: Perl Misc
    Replies:
    7
    Views:
    134
    Eric Wilhelm
    Nov 3, 2003
  5. Steven D'Aprano

    Encoding of surrogate code points to UTF-8

    Steven D'Aprano, Oct 8, 2013, in forum: Python
    Replies:
    14
    Views:
    283
    Neil Cerutti
    Oct 9, 2013
Loading...

Share This Page