Lotus Notes in .NET Application

Posted on 2003-02-19
Medium Priority
Last Modified: 2008-03-04
Information for the ExpertXchange:


I get the error "Cannot create ActiveX component" while executing the statement
     obj = CreateObject("Notes.NotesSession")
from within a Web Application developed in VS .NET

However, I am able to execute the same statement from Windows Forms .NET application.

The Questions are:
why does this happens?
Can I  integrate this code with in  a  WebApplication?
Can "aspnet" user create an ActiveX component running as a separate desktop windows application?


Question by:Peter_Brighton
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

Accepted Solution

Gunsen earned 300 total points
ID: 7986130
Log in to the computer with aspnet user.
Ensure that it can start Notes application.
If this goes well, u should be able to use Domino COM object from a web application.
Else u have to modify your PATH so that the notes.ini file is detected by the COM client (and a valid id-file)...

Author Comment

ID: 7990216
Thanks for your comments. I'm going to give it a try over the weekend and i'll get back to you.


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

752 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