FileNotFoundException for interop dll refrenced by COM+ vb.net component

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: sog1 (anonymous_at_discussions.microsoft.com)
Date: 06/04/04


Date: Fri, 4 Jun 2004 07:56:01 -0700

I have a vb.net component that references and successfully uses dts through interop.

Now for a serviced component version of the dll : I install my dll in com+ using regsvcs and in the COM+ MMC set SoapVRoot. This successfully creates a web service that references the com+ app. I can create a windows form app with a webreference to the webservice and successfully call a test function (HelloWorld which returns a string), but when I call a function that uses the dts functionality, I get the following error message:

An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll
Additional information: **** System.IO.FileNotFoundException - File or assembly name InteropDTSPkg, or one of its dependencies, was not found.

I have added the InteropDTSPkg, InteropDTSPump and InteropDTSCustomTasks dlls to the GAC and have even put them in the SoapVRoot bin folder, all to no avail.

What needs to be done to make the interop dlls accessible?
Thanks



Relevant Pages

  • FileNotFoundException for interop dll refrenced by COM+ vb.net component
    ... I have a vb.net component that references and successfully uses dts through interop. ... An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll ... I have added the InteropDTSPkg, InteropDTSPump and InteropDTSCustomTasks dlls to the GAC and have even put them in the SoapVRoot bin folder, all to no avail. ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Knowing when COM interop is possible
    ... > I've had good luck with COM interop in the past, ... > any of the object's methods, an unhandled exception is thrown. ... Please review the stack trace for more information about the ...
    (microsoft.public.dotnet.framework.interop)
  • Re: execute a dts package from vb.net
    ... Export the DTS as VB6 and convert it to VB.NET (you will have to use ... Interop). ... - Sahil Malik [MVP] ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Importing CSV Files Into MSDE Databases
    ... Since using DTS in .NET requires DTSpkg.dll interop, ... insterested in DTS. ... "This posting is provided "AS IS" with no warranties, and confers no ...
    (microsoft.public.dotnet.framework.adonet)