SQL Server <--> Microsoft Exchange Interface

  • Hi All,

    I've been a silent visitor of the forum for quite some time. I have this requirement now. My boss needs to get the contact details available in our Exchange server to our SQL DB. Exchange server is 2003 version and SQL is SQL Server 2008 R2. I would like to know what all are the options available to me. I've found after some googling that ExOLEDB is one option. But the only issue is that the same can be accessed from the exchange server only which will force me to have an SQL Server running on the exchange server. Is there any other option available to me, in fact time and cost is a constraint 😉

    Thanks in advance Gurus.

    --Sankar--
    Live in the present

  • contact details available in our Exchange server to our SQL DB

    what do you mean by contact details?

    If you looking for all the sql server in a domain then from cmd prompt you can use :- sqlcmd -L to see the list of all server.

    ----------
    Ashish

  • Thanks for the answer friend. I think I confused you. 🙂 What I want is, I have an MS Exchange from which I need to pick all the saved contacts. I mean Outlook contacts and then save it in a remote SQL Server table.

    --Sankar--
    Live in the present

  • Lookup Linked Servers for your version of Exchange. There is a provider for 2003.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • Sorry for the hasty reply initially...

    Some options are to run SQL Server Express Edition on your Exchange server so you can use ExOLEDB locally. This could let you bridge to/from your dedicated SQL Server instance by having stored procs on SQL Express instance that do your querying locally to the Exchange server and then have a Linked Server from your dedicated SQL instance to your SQL Express instance to execute the procs and retrieve the results you want. SQL Express is free (you mentioned cost as a factor). Express supports Linked Servers and remote connections.

    Or as the article below states (which I can tell you have already seen) you can use alternative client access methods like CDO, MAPI or WebDAV.

    See Caveats: http://msdn.microsoft.com/en-us/library/aa142634(v=exchg.65).aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • opc.three (2/25/2011)


    Sorry for the hasty reply initially...

    Some options are to run SQL Server Express Edition on your Exchange server so you can use ExOLEDB locally. This could let you bridge to/from your dedicated SQL Server instance by having stored procs on SQL Express instance that do your querying locally to the Exchange server and then have a Linked Server from your dedicated SQL instance to your SQL Express instance to execute the procs and retrieve the results you want. SQL Express is free (you mentioned cost as a factor). Express supports Linked Servers and remote connections.

    Or as the article below states (which I can tell you have already seen) you can use alternative client access methods like CDO, MAPI or WebDAV.

    See Caveats: http://msdn.microsoft.com/en-us/library/aa142634(v=exchg.65).aspx

    It's OK friend.

    Actually I was also going in that path, to install SQL Express on Exchange server and use it as a bridge between the production SQL and the Exchange server. But we have another issue there. The messaging team guys are not allowing for an installation of SQL Express on Exchange server. :crazy: So I've to think of alternatives. I've gone through the link provided by you. Thanks for that. I will have a detailed look. Also, when I went through the various linked server providers available in SQL Server, I found one called "Microsoft OLEDB provider for Outlook search", but for my surprise no details available anywhere regarding the same.

    --Sankar--
    Live in the present

  • Here is an interesting post regarding the use of ExDAV from ASP.NET:

    http://blogs.technet.com/b/kclemson/archive/2004/01/23/62247.aspx?PageIndex=2

    There is no code sample for reading contacts but it might be worth a look.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply