473,624 Members | 2,305 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 4478
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
1939
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
12170
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
1121
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
2307
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
5047
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
995
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
2830
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
1219
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
8238
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8680
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...
0
8624
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8336
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
8478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6111
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
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4082
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...
2
1485
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.