[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 339
  • Last Modified:

Error -2147417842 in VB COM dll

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
Akanksha
Asked:
Akanksha
1 Solution
 
EDDYKTCommented:

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
 
AkankshaAuthor Commented:
Thanks for your response EDDYKT. I'll try your suggestions.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now