Solved

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

Posted on 2011-03-22
6
900 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

22 Experts available now in Live!

Get 1:1 Help Now