Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to connect to lotus notes client

Posted on 2007-12-06
10
Medium Priority
?
2,379 Views
Last Modified: 2013-12-18
Hi All,

Our web server has NotesSQL and a lotus notes client that uses a username, password to get the data.

I know nothing about lotus notes.

I am using c#,SQL Server.  How can i connect to this lotus notes client via a dsn-less connection
I was given the following:Driver={Lotus NotesSQL 3.01 (32-bit) ODBC DRIVER (*.nsf)};Server=myServerAddress;Database=dbPath\myDb.nsf;Uid=myUsername;Pwd=myPassword;

 
Can someone assist me in connection to this lotus notes client and getting data from a view that was created?

0
Comment
Question by:joan2006
[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
  • 5
  • 4
10 Comments
 
LVL 21

Expert Comment

by:surajguptha
ID: 20421384
I guess u got it from connectionstrings.com ?
Well you just have to use the path to your Lotus NotesSQL database and give the proper server address and user name values

and then you can just use a normal SQLCOMMAND to query the view created in the Lotus NotesSQL database
0
 

Author Comment

by:joan2006
ID: 20422724
surajguptha,

i usually use the following :
 SqlConnection connection = new SqlConnection("Data Source=datasource;Initial Catalog=catalog;Persist Security Info=True;User ID=myid;Password=mypassword");
       
so are you saying all i need to do is the following for lotus notes:

SqlConnection cqlotus = new SqlConnection("Driver={Lotus NotesSQL 3.01 (32-bit) ODBC DRIVER (*.nsf)};Server=myserver;Database=mydatabase.nsf;Uid=myid.id;Pwd=mypassword");
   

0
 
LVL 21

Expert Comment

by:surajguptha
ID: 20422756
Yes thats right... are you having any problem with using this???
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:joan2006
ID: 20423180
Yes i am having problems.

I get an error stating that the Keyword "driver is not supported"

0
 

Author Comment

by:joan2006
ID: 20423211
I just changed "driver" to Datasource and i get the following error:

An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

0
 
LVL 21

Expert Comment

by:surajguptha
ID: 20423521
can you try using the ODBCconnection ?? I didnt notice the SQL connection in your previous post...
0
 

Author Comment

by:joan2006
ID: 20427755
Keep in mind that this is just Lotus NotesSQL and an ID File that i am trying to connect to.  This Lotus Notes App/and ID File are located on a Web Server.
Also I am trying to access views in the database

****Using NotesSQL ODBC Driver and C# to extract the .nsf file data****

I was told that NotesSQL was installed on a particular WebCluster.  Am i suppose to somehow connect to this web cluster by creating a new Registered Server through SQL Server?

OK, i tried the following:
                                                                                                                        //rchnotes101          
OdbcConnection myConnection = new OdbcConnection("DRIVER={Lotus NotesSQL 3.01 (32-bit) ODBC DRIVER (*.nsf)};Server=VSQL025;Database=casCapInq.nsf;Uid=CSIUser.id;Pwd=cuser101607");
       
myconnection.open();  //ERRORS HERE: "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"





0
 
LVL 21

Accepted Solution

by:
surajguptha earned 2000 total points
ID: 20428080
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 20446974
The Notes ODBC driver is really designed for client use, not console-less server use. You may be able to get it tow rok, but most likely you would have to remove the password from the ID file.

An alternative is to use the Notes API instead of using SQL, but that would require a deeper understanding of how to access Notes data.
0
 

Author Comment

by:joan2006
ID: 20573571
i used COM object reference
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

721 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