SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server <--> Microsoft Exchange Interface


SQL Server <--> Microsoft Exchange Interface

Author
Message
arunsankar555
arunsankar555
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 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
crazy4sql
crazy4sql
SSCarpal Tunnel
SSCarpal Tunnel (4.3K reputation)SSCarpal Tunnel (4.3K reputation)SSCarpal Tunnel (4.3K reputation)SSCarpal Tunnel (4.3K reputation)SSCarpal Tunnel (4.3K reputation)SSCarpal Tunnel (4.3K reputation)SSCarpal Tunnel (4.3K reputation)SSCarpal Tunnel (4.3K reputation)

Group: General Forum Members
Points: 4259 Visits: 4514

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
arunsankar555
arunsankar555
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 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
Orlando Colamatteo
Orlando Colamatteo
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: General Forum Members
Points: 40210 Visits: 14413
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
Orlando Colamatteo
Orlando Colamatteo
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: General Forum Members
Points: 40210 Visits: 14413
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
arunsankar555
arunsankar555
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 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. 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
Orlando Colamatteo
Orlando Colamatteo
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: General Forum Members
Points: 40210 Visits: 14413
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search