473,624 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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.Outloo k 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 message in "Sent Items" Folder
of Microsoft.Outlo ok. Is there an other way to do it???

Thanks
--------------------------------
From: John Bolanis

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>rmSSMUABuk2 WAYH6evTTxw==</Id>
Nov 21 '05 #1
4 2829
Add this import:

Imports Outlook = Microsoft.Offic e.Interop.Outlo ok
Nov 21 '05 #2
Add this import:

Imports Outlook = Microsoft.Offic e.Interop.Outlo ok
Nov 21 '05 #3
Hi John,

are you donwload and installed the latest PIA ??? if not donwload it
from the microsoft and installed it and try again.

Nov 21 '05 #4
I knocked up a quick application to test my theory and it works with the
outlook 11 objext library

The other user is right too it is a good idea to download the PIA, but I
never mentioned it before because the other way worked fine

Here's the link to the PIAs:

http://www.microsoft.com/downloads/d...displaylang=en
Nov 21 '05 #5

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)
2
4478
by: Ollie Riches | last post by:
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#...
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
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.
3
11626
OuTCasT
by: OuTCasT | last post by:
Hi I have created an asp.net project that exports items from datagridview to and outlook calendar This is the code that i have used.. Dim body As String Dim ends As String Dim location As String Dim start As String Dim subject As String
0
8675
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
8619
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...
0
8474
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...
0
7158
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
6108
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
4078
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
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2604
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
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.