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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

569 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