473,714 Members | 2,240 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File or assembly name Interop.DTS, or one of its dependencies, was not found.

I am trying to execute a DTS via COM according to the KB article

http://support.microsoft.com/?kbid=321525

but I am getting the exception "File or assembly name Interop.DTS, or one of
its dependencies, was not found." which is obviously a file not found
exception. I have sql server 2000 installed locally and I can run the
package from enterprise manager. Anyone got any ideas why I am getting when
I have the correct reference in the c# .net project?

--
Cheers

Ollie Riches
http://www.phoneanalyser.net

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a programmer
helping programmers.
Nov 16 '05 #1
2 4482
Is the Interop.DTS.dll in your application bin folder? This should get
generated when you build your project.

You might also check out the examples at
http://sqldev.net/dts/ExecutePackage.htm

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Ollie Riches" <ol**********@p honeanalser.net > wrote in message
news:OL******** *****@TK2MSFTNG P15.phx.gbl...
I am trying to execute a DTS via COM according to the KB article

http://support.microsoft.com/?kbid=321525

but I am getting the exception "File or assembly name Interop.DTS, or one
of
its dependencies, was not found." which is obviously a file not found
exception. I have sql server 2000 installed locally and I can run the
package from enterprise manager. Anyone got any ideas why I am getting
when
I have the correct reference in the c# .net project?

--
Cheers

Ollie Riches
http://www.phoneanalyser.net

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a programmer
helping programmers.

Nov 16 '05 #2
yeap it was noob error, no dll in the bin directory :)

Ollie

"Dan Guzman" <gu******@nospa m-online.sbcgloba l.net> wrote in message
news:#$******** ******@TK2MSFTN GP14.phx.gbl...
Is the Interop.DTS.dll in your application bin folder? This should get
generated when you build your project.

You might also check out the examples at
http://sqldev.net/dts/ExecutePackage.htm

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Ollie Riches" <ol**********@p honeanalser.net > wrote in message
news:OL******** *****@TK2MSFTNG P15.phx.gbl...
I am trying to execute a DTS via COM according to the KB article

http://support.microsoft.com/?kbid=321525

but I am getting the exception "File or assembly name Interop.DTS, or one of
its dependencies, was not found." which is obviously a file not found
exception. I have sql server 2000 installed locally and I can run the
package from enterprise manager. Anyone got any ideas why I am getting
when
I have the correct reference in the c# .net project?

--
Cheers

Ollie Riches
http://www.phoneanalyser.net

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a programmer helping programmers.


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1943
by: karunakar | last post by:
Hi All I am not able to read the class name I want read the particular class name string path = System.Configuration.ConfigurationSettings.AppSettings; string className = path + ".User"; return (SCS.SR.IDAL.IUser) Assembly.Load(path).CreateInstance(className); ( This line iam getting Error)
3
12176
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a lot of information, but if you need more (e.g. the code) please write michael@mblarsen.dk. The problem is this error messages (the code is build just fine; no errors):
0
1124
by: Mark Basham | last post by:
Overview... I want to use a web service provided by a third party from vbscript in a ..asp page. I have created a proxy wrapper for the service and regitered it for Com interop. The new wrapper can successfully be called from .Net and a VB Com object.
2
2313
by: aallee83 | last post by:
i'm new in asp.net after develop my solution i copied it on the server where I want it to run but something cares... WHAT?!?! thank you in advance File or assembly name System, or one of its dependencies, was not found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
1
5056
by: Olav Tollefsen | last post by:
I get the included error message when trying to run my ASP.NET application under Windows Server 2003 (with all updates installed). How can I troubleshoot this? Olav File or assembly name System.Xml, or one of its dependencies, was not found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information
0
996
by: batista | last post by:
Hi there I created a web service, and it is using a dll named interopp written in .net. When i run the webservice i get an error that File or assembly name Interop, or one of its dependencies, was not found
4
2832
by: John Bolanis via .NET 247 | last post by:
Hi to everyone I have a .NET application and i am trying to send emails using Outlook Object Model. When i do so, i get the following error : "File or assembly name Interop.Outlook, or one of its dependencies, was not found" I have add "Interop.Outlook 11" reference in my project but i still get the error. Any help?? The reason i use Outlook Object Model and not System.Web.Mail.MailMessage or CDO.Message is that i want to keep my...
0
1223
by: Jon S via DotNetMonster.com | last post by:
Hi all I have an application that works fine when run from the VS 2003 IDE but when the exe version runs it pulls up with the following error: file or assembly name Interop.JRO, or one of its dependencies, was not found I have read that you need to include the JRO.dll inside the bin folder. I have this JRO.dll inside the bin folder in both the debug and release folders but still it pulls up with this error.
1
301
by: Tim Zych | last post by:
I posted a question last week about this, but would like to ask again due to a fresh perspective. I only get this error in 2005, not 2003. In 2003 everything works as expected. If I create a Class Library project, with only a Windows Form and a ComClass module with fresh GUIDs in VS 2005, checking "Register for COM interop", and create a Setup project (msi) for the installation, and install it on another machine than mine, there is an...
0
8712
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9316
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9077
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7954
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6637
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4465
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4727
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3159
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2113
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.