Solved

Error -2147417842 in VB COM dll

Posted on 2004-09-30
4
317 Views
Last Modified: 2007-11-27
I have a web app with GUI in ASP. Backend processing takes place in a VB COM dll. I have MTS COM+ components for this dll.

Sometimes this VB dll gives me the error '-2147417842' which translates to 'The application called an interface that was
marshalled for a different thread'. Specifically this happens while copying a file from one folder to another. The threading model is 'Apartment threaded'

Just fyi, For some functions this VB dll calls another COM+ Dll in C++ but not at the point when this error occurs. Not sure if that could cause this.

Need a solution urgently. Please help..
0
Comment
Question by:Akanksha
4 Comments
 
LVL 26

Accepted Solution

by:
EDDYKT earned 300 total points
Comment Utility

check two things

1. http://www.foxite.com/archives/0000029464.htm

I seem to have fixed this on our server by adding asp.dll to IIS's list of ISAPI filters to be applied


2. From your component services, bring up the property of your com+ application. On activation tab, try use library application instead
0
 

Author Comment

by:Akanksha
Comment Utility
Thanks for your response EDDYKT. I'll try your suggestions.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Opening Remote & Local Data Connection 2 40
Copy a row 12 52
VB6 - Compare and highlight cell not the same 3 32
Spell Check in VB6 13 41
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now