Solved

Trying to create Lotus Notes calendar entries directly from a .NET Silverlight application

Posted on 2011-03-22
6
901 Views
Last Modified: 2013-12-18
Hello,

I'm trying to create Lotus Notes calendar entries directly from a .NET Silverlight application.  So far I'm successful when running the application from my local PC (which is a Windows 7 32bit machine) but when i push my build out to the web server (running Windows 2008 64bit) I see this error in my log file:

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 80040154.

In my .NET solution I've added the Lotus Domino Object reference (domobj.tlb).
I have Lotus Notes installed in the C:\Program Files\IBM\Lotus\Notes directory on my local PC and C:\Program Files (x86)\IBM\Lotus\Notes directory on the server.

Upon searching, I've stumbled across a few articles that say I need to change the projects Build/Platform Target setting from 'Any CPU' to 'X86'.

I haven't tried this option yet because I'm not sure what it will effect.  Is this safe to try or is this even the solution?

Please let me know if you have any suggestions.

Thanks.
0
Comment
Question by:maximjon
  • 3
  • 3
6 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 35236000
Is the Notes client installed on the Windows 2008 server?
0
 

Author Comment

by:maximjon
ID: 35236257
Yes.  I have the Notes client installed on the Windows 2008 server in the C:\Program Files (x86)\IBM\Lotus\Notes directory

By the way, here is a link to the code I've referenced to do this:  http://www.codeproject.com/Tips/130179/How-to-Add-a-Lotus-Notes-Calendar-Entry-with-Cshar.aspx
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 35238762
And Notes is running (see also warning #1 in the code)?

Can you find out on which statement the code stops? Using something like this: http://www.techtalkz.com/c-c-sharp/83467-programatically-get-error-line-numbers-debug.html ?

PS I know little about C#...
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Accepted Solution

by:
maximjon earned 0 total points
ID: 35825557
I just ended up creating a web service in Lotus Notes to generate the calendar entries and then just had my Silverlight application consume that web service
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 35825653
Good job! Didn't know that it was "permitted" in this question... ;-)
0
 

Author Closing Comment

by:maximjon
ID: 35868936
Using a web service ended up being a better solution.  This way it wasn't necessary to have an additional Lotus Notes client installed on the web server hosting the Silverlight application
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now