Linked Servers To Lotus Notes
Jul 23, 2005
Hello,
I have successfully linked a Lotus Notes server to our SQL Server
database using an ODBC connection.
This works fine when wanting to select records
eg openquery(LOTUSNOTES2, 'select * from Person' )
The problem I have is when I try to update the record I get an error
eg
update openquery(LOTUSNOTES, 'select * from Person where
MailAddress=''nick.bloor@sandh-ltd.com''' )
set JobTitle='Test'
Produces the following error
==========
OLE DB provider 'MSDASQL' reported an error. The provider did not give
any information about the error.
OLE DB error trace [OLE/DB Provider 'MSDASQL' IRowset::GetNextRows
returned 0x80004005: The provider did not give any information about
the error.].
===========
I have tested the ODBC connection using an Access database. The link
tables facilities enable me to select what I think should be the
primary key. If I select a primary key then I can use Access to update
the lotus notes database, however if I don'k select a primary key, the
table is not updateable.
I believe that if I can somehow create an index on the linked table
within SQL Server, I should be able to update the Lotus Notes database
from SQL Server, but I cannot find a way of doing so.
As the Lotus Notes software is third party, I cannot actually change
anything on that server.
Thanks for any help.
Regards
Nick Bloor
View 5 Replies
ADVERTISEMENT
Nov 24, 2014
I'm having a few issues trying to get a linked server setup from a new SQL2012 installation to a Lotus Notes database. This linked server has previously been working fine on our old SQL2005 environment. All setup using the same details (ODBC driver name matches, account details etc). If we test the connection from the Lotus ODBC driver the test connection is successful, If I then create the Linked server to access this ODBC driver I receive an error :
Cannot initialize the data source object OLE DB Provider "MSDASQL" for linked server "LotusTest"
OLE DB provider "MSDASQL" for linked server "LotusTest" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetAttr failed"
OLE DB provider "MSDASQL" for linked server "LotusTest" returned message "[Lotus][ODBC Lotus Notes]
Unable to find path to server. check your network connection is working.(Microsoft SQL Server, Error: 7303)We have just migrated to a SQL Server 2012 64 bit Enterprise from SQL Server 2005 32 bit Standard. We have a 64 bit Lotus client installed to provide the correct ODBC driver which has enabled the test connection direct from the ODBC driver to connect successfully. I'm just at a loss as to how to resolve this issue and get the linked server connecting.
View 0 Replies
View Related
May 27, 2008
I am using web developer 2008, while connecting to I wanted to fetch data from Lotus notes database file, for this i used notesql connector, while connectiong to notes database i am fetting error
ERROR [42000] [Lotus][ODBC Lotus Notes]Table reference has to be a table name or an outer join escape clause in a FROM clause
I have already checked that database & table name are correct, please help me out
How i can fetch the lotus notes data in my asp.net pages.
View 1 Replies
View Related
May 27, 2008
I am using web developer 2008, while connecting to I wanted to fetch data from Lotus notes database file, for this i used notesql connector, while connectiong to notes database i am fetting error
ERROR [42000] [Lotus][ODBC Lotus Notes]Table reference has to be a table name or an outer join escape clause in a FROM clause
I have already checked that database & table name are correct, please help me out
How i can fetch the lotus notes data in my asp.net pages.
View 1 Replies
View Related
May 25, 1999
I was under the impression that SQL 7 could utilize any MAPI compliant email application for
use with the Mail Agent. I have been unable to confirm this. I am using Lotus Notes for company
email and would like to set the Agent to email failure messages to my Lotus Notes mailbox.
Does anyone know anything about this??? And if so, how do I set this up???
View 1 Replies
View Related
Mar 2, 2004
DTS to Lotus notes
I must import/export some data from SQL Server to Lotus Notes.
I downloaded and installed NotesSQL ODBC drivers.
I met no problem importing from a Lotus Notes view to an SQL Server table: I used DTS and everything succeded.
But I can't do the reverse process (exporting from SQL Server to Lotus Notes): DTS keeps on giving an error without description and it fails.
Does anybody know how to export a table or a view from SQL Server to Lotus Notes using DTS?
Thanks in advance.
View 9 Replies
View Related
Jul 18, 2001
Can any one send me a link to step by step instructions on how to setup SQL mail for lotus notes.Thanks for the help!
Reddy.
View 1 Replies
View Related
Dec 28, 2000
I want to use stored procedures to email people on Lotus Notes. Any ideas? TIA George.
View 1 Replies
View Related
Jul 28, 2000
Hello,
I am using Lotus Notes 5.0 for email and would like to set the MS SQL Server Agent to email failure messages to my Lotus Notes
mailbox. I setup a profile in exchange (after installing Microsoft Messaging) called "Lotus Notes Mail". This profile actually works..
I can send and receive email from microsoft exchange.. But when I go in SQL server agent to setup the mail profile, first of all,
the mail profile drop down list is empty (my profile I created with Microsoft Exchange is not there) so I typed it (Lotus Notes Mail)..
When I click on the TEST button, I get the following error message:
Error 22030: A mapi error {error number 87} occured: MapiLogonEx failed due to mapi error 87: Invalid parameter.
Can someone help?? Does this means that there is something not setup properly in Notes??
Thanks in advance
View 4 Replies
View Related
Jan 12, 2000
I am having difficulty trying to get SQLMail to work via Notes4.6.1 as the mail system. Firstly the Notes client is working correctly on my machine but SQLMail will simply not start with the SQL-DMO error 17952, and on trying to configure it I type in my profile name(which has been successfully setup previously through the Ctrl Panel Mail and Fax icon with the Lotus Notes Mail information service selected ) and get the error 21002 RegCreateKeyEx - #5 access is denied - which seems to be something to do with permissions but the SQLServer service is logging in a member of Local Admins group.
Has anyone had this before - there seems to be a painful lack of information about this area generally.
Regards.
David Shaw
View 1 Replies
View Related
Nov 1, 1999
I have just started a position at a new company and
want to set up the SQLMail option on each of the
20+ servers. One problem I see is that the e-mail
package here is Lotus Notes. Does anyone have any
experience or information they can pass on to me
regarding SQLMail and Lotus Notes? I would appreciate
any advice.
Thanks!
Toni Eibner
View 1 Replies
View Related
Sep 23, 1998
I am currently working on the SQLMail in SQL Server ver. 6.5 and don`t know
how to start. SQL Server is already installed in the NT Server and some
applications are using this. The problem is how to send mail and receive mail from a Lotus Notes ver. 4.5, not a MS Exchange Mail. Can anybody provide me step-by-step approach to do this? The NT server dont MS exchange installed in it.
thnks.
View 1 Replies
View Related
Oct 15, 1998
Hi everyone,
I have read every article in the kb and read every message in the newsgroup but still I cannot make SQL mail to work with lotus notes. Can someone describe in details on how to do this?
Any suggestion is greatly appreciated...
View 2 Replies
View Related
Apr 15, 2004
Hi,
I am moving data from Lotus notes to SQL and I am getting the below error. [Lotus][ODBC Lotus Notes]Invalid Character.
Does anybody have any idea, if so please let me know asap.
View 7 Replies
View Related
May 25, 2007
Hey guyz,
I have to import .nsf file into the SQL Server. Can anyone suggest a tool or any method to do that. Thank you.
Regards,
Sri..
View 3 Replies
View Related
Apr 24, 2008
I have to create ssi pkg in sql server 2005, that gets data from lotus notes db, into sqlserver 2005. Do i use ODBC With notessql driver or is there an oledb for notes ?
View 6 Replies
View Related
May 6, 2008
This is from the previous notes err that i reported.
If Lotus Notes 6 or higher is installed on your machine, you already have everything you need. You can create and work with the Notes database as a set of OLE objects.
Try this code for a start, replacing the dummy strings with your own values as appropriate:
Sub Main()
Dim sess As Object
Dim db As Object
Dim vu As Object
Dim doc As Object
sess = CreateObject("Lotus.NotesSession")
Call sess.Initialize("myPassword")
db = sess.GetDatabase("NotesServerName", "path/DBFileName.nsf")
vu = db.Views(0)
doc = vu.GetFirstDocument
MsgBox(doc.UniversalID)
End Sub
To understand the properties and methods for these objects, and to explore others, check out the LotusScript classes documentation at http://publib-b.boulder.ibm.com/lotus/c2359850.nsf/b3266a3c17f9bb7085256b870069c0a9/16d78c3f9148e7eb8525731b0049e880?OpenDocument. You'll find the syntax is similar to VB, and the descriptions often contain hints about calls from COM and OLE...meaning Microsoft.
My question is from this code above-
What is the sess = CreateObject("Lotus.NotesSession")
what do I need to put here in the notessession?
View 5 Replies
View Related
Mar 8, 1999
Has anyone setup Lotus Notes as the email client for SQLMail? I currently have Lotus Notes client installed on dedicated MS SQL Servers but am
having trouble configuring the SQL Mail in order to get it working. Does anyone have any suggestions or instructions on how this is done? I've
researched all of the "Books on line" but they are all slanted to Exchange.
Jim
View 1 Replies
View Related
Dec 17, 2007
Hello All,
I have opened a new ssis package in which i am trying to connect to lotus notes driver using ODBC Connection. But I am not able to connect it and gives me the following Error below:
Test Connection Failed because of an error in initializing provider. ERROR [S1000] [Lotus] [ODBC Lotus Notes] You are not authorized to perform that operation
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behaviour that the application requested (see SQLSetEnvAttr)
Furthermore, I have created the DSN and configured in SQL 2000 DTS to use the same system dsn without any errors.
My Lotus Notes Driver is Lotus NotesSQLDriver (*.nsf) having the Version Number is 3.02
.
View 8 Replies
View Related
Jan 15, 2001
Hi,
I am new to lotus notes.
I have a requirement of transfering data stored in lotus notes to sql server7.0. Can somebody please give any info on how to do this....
All help is appreciated,
gp
View 1 Replies
View Related
Apr 17, 2007
Hello All,
I have an SQL 2000 sp4 default instance.
On windows server 2003 sp2 machine that is joined to a domain.
This windows is not the domain controller.
There is a domain account domainuser.
This domain account is a member of the Administrators group locally in the windows.
Also this domain account is a member of SysAdmin fixed server role of the SQL Server instance.
The MSSQLSERVER service is logged in by this domain account.
The SQLSERVERAGENT service is also logged in by this domain account.
Office 2007 (including outlook 2003) is installed on the same windows server machine that SQL resides in.
Lotus notes cloient 6.5 also installed on the same windows server machine that SQL resides in.
In Control Panel - Mail - Profiles: Outlook is the profile used.
In enterprise manager --> Support Services --> SQL Mail --> Properties --> I wrote Outlook in the profile name --> then click "Test" --> I encounter this error: "Error 18025: xp_test_mapi_profile: failed with mail error 0x80040111"
I looked at
http://support.microsoft.com/?id=263556
I could not figured it out
Any help please?
Thanks,
Ven
View 7 Replies
View Related
Apr 23, 2001
I have not yet set up SQL2K mail -> Notes, but I see in Q263556 a warning regarding extended MAPI and non-Exchange servers.
Just wondering if anyone is using a SQL2K - Notes MAPI profile -- and if any reliability issues have come up?
Thanks in advance
View 1 Replies
View Related
May 29, 2008
Here is the different problem which is irretating me alot from last 2 weeks. Could any body suggest on this problem?
I am using the ADO.net providerODBC provider connection for Data Reader source. I don't know why the total records are not populating from source(lotun notes db) to Destination (SQL server 2005). The package is populating only 2000 records out of 10000 records. Please suggest me how to fix this problem. There is no error message is coming for this problem
View 8 Replies
View Related
Mar 3, 2008
Any advice on how to achieve the above, if possible, would be greatly appreciated.
Cheers,
j.
View 1 Replies
View Related
Jul 10, 2007
Hi folks,
I have a question, which is that i currently have records of Chinese characters in (Free text) which i need to extract and export into Sql Server 2005 data. How can i automate this using Sql SSIS package. I have photos also need to export to.? If i manage to export out , how can i view it in the table?
View 6 Replies
View Related
Sep 7, 2006
To extract data from an ODBC source, try the following:
Add an ADO.Net Connection Manager.
Edit the Connection Manager editor and select the ODBC Data Provider
Configure the Connection Manager to use your DSN or connection string
Add a Data Flow Task to your package.
Add a Data Reader Source adapter to your data flow
Edit the Data Reader source adapter to use the ADO.Net connection manager that you added.
Edit the Data Reader source to query for the data you wish to extract.
hth
Donald
Using the steps outlined above as described by Donald Farmer in another post on this forum, I have created an SSIS package which retrieves data from Lotus Notes 6.55. The DSN referenced by the ADO.Net Connection Manager connects to Lotus Notes via the NotesSQL ODBC driver 3.02g.
When I execute the dataflow, data is transferred from Lotus Notes, but the data transfer rate is extremely slow compared to SQL 2000 DTS. In SQL 2000 DTS, we can retrieve just under half a million records from Lotus Notes in about 13 minutes. Utilizing the same DSN on the same machine, SQL 2005 SSIS completes the transfer in about 57 minutes.
Is there anything that can be done to improve the performance in SSIS to retrieve data from Lotus Notes via ADO.Net ODBC?
Thanks!
View 3 Replies
View Related
Apr 28, 2015
I created an ODBC to Lotus notes server and database. This ODBC connection works, however, when I put the ODBC into SSIS and test the connection my visual studio 2010 crashes and has to restart. Is there a fix I am missing on my VS2010? Or am I doing something wrong in my SSIS project?
View 2 Replies
View Related
Jul 20, 2005
Hello,I work for an attorney staff, so basically the whole day they aresending themselves a lot and a lot of papers (Word docs or Excellsheets).We are going to propose them the use of a Document Exchange andDatabase System (like Lotus Notes or Oracle Managment Content,formerly known as Internet File System IFS ) with .NET interfazes.Basically the idea is that instead of sending papers the whole day,they can use a software to check and manage more quickly theirdocuments.We are looking for a system that allows us to manage:- Security- Versioning- Folders- Check-in/Check-out- Workflow- Search and Retrieval- Extensible MetadataMy question is:1) Is there any Microsoft tool who can help us to achieve that(management of codes, dates, text, names of documents- I mean like aDocument Exchange and Database System) with .NET interface?2) Or do we have to built it from scratch?Thank you very much!Jorge
View 4 Replies
View Related
Jul 7, 2003
Hello Everyone,
I am trying to configure SQL MAIL and SQL SERVER AGENT MAIL feature of SQL SERVER 2000 with Lotus Domino server (Not Microsoft Exchange). Every thing goes fine and it works also. Problem starts when I try to restart SQL Agent Service. It hangs and the status of service remain 'starting'...
Also the size of the sqlagent service process goes upto 12MB. I don't understand why? Can any one help me in solving this problem.
I am using Windows 2000 Advanced Server and SQL Server 2000 with SP3. Domino client is R5.0.5 and Outlook 2000.
View 14 Replies
View Related
Apr 17, 2006
I am hoping this is a quick easy question for someone! :)I am trying (struggling) with moving data from Sql Server to a LotusNotes table.I am using SQL Server 2000, I have a Lotus Notes linked server (usingNotesSQL), and I wasnt to clear the table (delete all records) and thenreload it from my data on SQL Server.What is the syntax to delete the records?My select statement would be like this:select * from openquery([LinkedServer], 'select * from NotesTable')where lastName='Smith'My delete statement ??? -- cant quite figure out the syntax of thisone....select * from openquery([LinkedServer], 'delete from NotesTable') wherelastName='Smith'(this doesnt work)Thanks!
View 9 Replies
View Related
Aug 17, 2006
Is it possible to link to an SQL 2005 server db from a SQL 2000 server? Is there a driver for this?
View 1 Replies
View Related
Apr 5, 2008
can anybody tell me about Linked Servers and their uses and how to add a linked server to my Sql Server 2005.
any help on this would be highly appreciated.
View 3 Replies
View Related
Jun 10, 2004
Hello All,
I have been trying to Link two sql servers on two different machines over the Internet without any luck. Can someone point me to information about doing this with good examples?
Thanks
View 2 Replies
View Related