Automation Error: 0x8001010E - Iface Marshalled for a Different Thread - Inetserver
This is a discussion on Automation Error: 0x8001010E - Iface Marshalled for a Different Thread - Inetserver ; The common approach I use for this application is an asp
page makes call to the dll. The asp page gets a recordset
back and builds the display. This works for all of my
pages but one page called "summary.asp". ...
-
Automation Error: 0x8001010E - Iface Marshalled for a Different Thread
The common approach I use for this application is an asp
page makes call to the dll. The asp page gets a recordset
back and builds the display. This works for all of my
pages but one page called "summary.asp". When summary.asp
is invoked I get the following error:
Error Type:
EBA (0x8001010E)
Automation error The application called an interface that
was marshalled for a different thread.
/eba/asp/summary.asp, line 1334
All pages use the following code to invoke the DLL:
Set rstSummary = oIOData.Start ( , ,strParms)
The app and server specs are:
Application: VB6 DLL in COM+.
Server: Windows 2000 with all current patches and SP3.
Thanks,
Phillip Houston, MCSD
The Standard Insurance Company
-
RE: Automation Error: 0x8001010E - Iface Marshalled for a Different Thread
Luke,
Yes 1334 is that line and the string is fully
concatenated with all variables filled.
I did a bit more testing yesterday and found that if I
pass in a different string, thus calling a different
method in a different class I do not get the error. I
will do further testing today to see if I can isolate
this issue further.
I didn't think it (and I'm still not convinced) that it's
getting to the COM object because I have very good error
handling that writes to the Windows Event Log and I'm not
seeing any error messages there.
Let me also say that this app is working on an NT4 Server
(MTS) and on my XP Workstation (COM+) with no problems.
Thanks,
Phillip
>-----Original Message-----
>Hi Phillip,
>
>Is the line 1334 in summary.asp "Set rstSummary =
oIOData.Start ( ,
>,strParms)"?Additonally, is the problem related to the
the string
>"strParms"? Did summary.asp use different query string
or parameters from
>other pages?
>
>Luke
>Microsoft Online Partner Support
>
>Get Secure! www.microsoft.com/security
>(This posting is provided "AS IS", with no warranties,
and confers no
>rights.)
>
>.
>
-
RE: Automation Error: 0x8001010E - Iface Marshalled for a Different Thread
Hi Phillip,
You may create a simple ASP page to call Set rstSummary = oIOData.Start ( ,
,strParms)", and set strParms with same value as summary.asp. With this, we
can find if there problem is really related to the strParms. This also may
be related to the computer. A class may work on one computer, but not on
another computer for some reason.
Luke
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Similar Threads
-
By Application Development in forum DOTNET
Replies: 1
Last Post: 09-18-2006, 06:15 AM
-
By Application Development in forum basic.visual
Replies: 0
Last Post: 09-15-2004, 01:53 PM
-
By Application Development in forum Commerce server
Replies: 4
Last Post: 08-19-2004, 02:45 PM
-
By Application Development in forum Inetserver
Replies: 1
Last Post: 02-09-2004, 03:47 PM
-
By Application Development in forum DOTNET
Replies: 0
Last Post: 01-08-2004, 04:46 PM