473,405 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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

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

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

<Id>rmSSMUABuk2WAYH6evTTxw==</Id>
Nov 21 '05 #1
4 2821
Add this import:

Imports Outlook = Microsoft.Office.Interop.Outlook
Nov 21 '05 #2
Add this import:

Imports Outlook = Microsoft.Office.Interop.Outlook
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
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";...
2
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...
3
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...
0
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...
2
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...
1
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...
0
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...
0
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...
3
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 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
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...
0
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...

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.