Solved

Exchange Server to SQL Server/Access VBA Connection

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

820 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