• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 914
  • Last Modified:

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

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
maximjon
Asked:
maximjon
  • 3
  • 3
1 Solution
 
Sjef BosmanGroupware ConsultantCommented:
Is the Notes client installed on the Windows 2008 server?
0
 
maximjonAuthor Commented:
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
 
Sjef BosmanGroupware ConsultantCommented:
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
maximjonAuthor Commented:
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
 
Sjef BosmanGroupware ConsultantCommented:
Good job! Didn't know that it was "permitted" in this question... ;-)
0
 
maximjonAuthor Commented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now