473,705 Members | 2,421 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 2831
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
1942
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
4482
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
12175
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
2311
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
5054
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
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.
3
11642
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
8689
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
9273
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
7893
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
6605
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
5933
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
4439
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
4703
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2486
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2081
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.