TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
michal adamkiewiczm
NA
15
20.8k
Application don't work on another machine
Apr 26 2012 6:23 AM
Hi,
I have a big problem with my application, yesterday I wrote a small app on my personal home computer. I use VS 2008, in the application I added a reference to COM object "Microsoft Outlook Object Library 12.0". This "application" is a silly few lines of code, which iterateru throw an mail items in Outlook 2007. On my home computer, everythinks works perfectlly, but today in the morning I was trying to run it on the target machine, and unfortunatelly I get a expception error, and I don't know what it is:(. On the target computer there isn't installed VS, but framework of course is (the same version as on my personal computer), I googled something and I installed something called: "Office 2007 Primary Interop Assemblies", becouse I thought that It could resolve the problem, but unfortunatelly, application still crush:(. Please help:(. Below I write an error message:
Unhandled Exception: System.InvalidCastException: Unable to cast COM object of type "Sytem.__ComObject" to interface type "Microsoft.Office.Interop.Outlook.MailItem". This operation failed becouse the QueryInterface call on the COM component for the interface with IID: "000634034-0000-0000-C000-000000000046", failed due to the following error: No such interface supported <Exception from HRESULT: 0x80004002 <E_NOINTERFACE>>.
Reply
Answers (
2
)
Problem In Consuming WebService in Android
Datagrid multiple columns into one row