Solved

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

Posted on 2011-03-22
6
905 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

623 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