Solved

Exchange Server to SQL Server/Access VBA Connection

Posted on 2004-08-03
3
282 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

815 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

8 Experts available now in Live!

Get 1:1 Help Now