Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL Server <--> Microsoft Exchange Interface Expand / Collapse
Author
Message
Posted Thursday, February 24, 2011 9:37 PM


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 18, 2013 3:54 AM
Points: 4, Visits: 77
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
Post #1069388
Posted Thursday, February 24, 2011 11:18 PM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Tuesday, October 28, 2014 11:51 PM
Points: 882, Visits: 4,114

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
Post #1069405
Posted Thursday, February 24, 2011 11:29 PM


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 18, 2013 3:54 AM
Points: 4, Visits: 77
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
Post #1069409
Posted Friday, February 25, 2011 11:46 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Tuesday, October 28, 2014 10:01 AM
Points: 7,127, Visits: 12,731
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
Post #1069781
Posted Friday, February 25, 2011 12:10 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Tuesday, October 28, 2014 10:01 AM
Points: 7,127, Visits: 12,731
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
Post #1069806
Posted Friday, February 25, 2011 6:40 PM


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 18, 2013 3:54 AM
Points: 4, Visits: 77
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. 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
Post #1069959
Posted Saturday, February 26, 2011 4:42 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Tuesday, October 28, 2014 10:01 AM
Points: 7,127, Visits: 12,731
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
Post #1070090
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse