Solved

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

Posted on 2011-03-22
6
899 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

10 Experts available now in Live!

Get 1:1 Help Now