Solved

Exchange Server to SQL Server/Access VBA Connection

Posted on 2004-08-03
3
280 Views
Last Modified: 2006-11-17
We are currently trying to create a contact list from our Exchange Server.  I have been researching methods of connecting to an Exchange Server.  The only way that I have found that I can gather contacts from each "user mailbox" is create a loop that will open each box, and download contacts.  Much like you do an Access by creating a link to an Exchange Server, but Access will only allow me to connect to my personal mailbox.

We currently have an SQL Server, and Exchange server, both on different machines.  The SQL Server does not have Outlook, or any Exchange drivers loaded.  I have developed linked servers, but they cannot connect without the Exchange drivers, or so I have read.  

I would appreciate any thoughts on what I need to do to get the SQL Server talking to the Exchange Server.  Also if there is a more efficient method of extracting, and updating contacts.  

Thank you
0
Comment
Question by:nkjohnson
3 Comments
 
LVL 34

Accepted Solution

by:
arbert earned 500 total points
ID: 11710007
"I have developed linked servers, but they cannot connect without the Exchange drivers, or so I have read. "

What do you mean by this?  You create a linked server to use ADSI and then the query looks something like this (select * from openquery(adsi, 'select * from ''LDAP://<<ExchangeServerName>>"')).  If you're using a domain account that has rights to mailboxes, you don't have to worry about "Access will only allow me to connect to my personal mailbox".
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

747 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now