How do I registry the OLE provider for a Exchange 2003 database



I receive the following error when I try to query an Exchange database using
a SQL query.

Server: Msg 7403, Level 16, State 1, Line 1
Could not locate registry entry for OLE DB provider 'exoledb.DataSource.1'.
OLE DB error trace [Non-interface error: Provider not registered.].

How do I registry the OLE provider for a Exchange 2003database.

thanks

Dave

Below is the code:

Add a link server

EXEC sp_addlinkedserver '1exch',
'Exchange OLE DB provider',
'exoledb.DataSource.1',
'file:\\.\backofficestorage\localhost\public folders'

Query database -

Select Convert(nvarchar(200),"urn:schemas:contacts:sn") LastName
FROM OpenQuery([1exch],'SELECT "urn:schemas:contacts:sn"
FROM SCOPE(".\contacts")')



.



Relevant Pages

  • RE: exchange qn
    ... I have a load of contact data in SQL Server. ... OLE DB Provider for Exchange ...
    (microsoft.public.sqlserver.programming)
  • Re: .NET data provider or OLEDB provider?
    ... >I don't see where you see a built-in query engine. ... >service provider, ... >OLE DB providers don't have to support SQL however, ... > SQL Server linked server, SQL Server can handle the queries. ...
    (microsoft.public.data.oledb)
  • Re: MS Exchange to SQL Server
    ... OLE DB Provider for Exchange ... Microsoft Exchange 2000 Web Store in tabular form. ...
    (microsoft.public.sqlserver.dts)
  • SQL server wont connect to Exchange server
    ... When I make a connection between my SQL and Exchange ... enterprise Manager And try to open the Linked server I get ... Could not create a new session on OLE DB ... provider 'exoledb.DataSource.1'. ...
    (microsoft.public.exchange.connectivity)
  • Re: Linked server to Oracle
    ... One scenario where you can get the error is with data types ... Can you query the tables using just an Openquery in Query ... make sure you are using the latest provider, ... I'm using MS OLE DB for Oracle. ...
    (microsoft.public.sqlserver.connect)