Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / August 2006

Tip: Looking for answers? Try searching our database.

ADODB.Connection Exception

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ADODB.Connection Exception - 11 Jul 2006 09:58 GMT
C# Programm on Exchange Server 2000:
----------------------------------------------------------------------
ADODB.Connection cnn = new ADODB.ConnectionClass();
string bstrURLItem = "http://localhost/Exchange/administrator/calendar";
cnn.Open(bstrURLItem,"administrator","123", 0);
//here Catch Exception:System.Runtime.InteropServices.COMException
(0x80040E4D): Authentication failed.
----------------------------------------------------------------------

This programm is correct on Exchange Server 2003.However,on Exchange Server
2000 it has the exception.I can ensure that the username,password and URL are
correct.
topper - 10 Aug 2006 11:12 GMT
You need to use Exchange Data Access Provider to access Exchange store -
"ExOLEDB.DataSource".
Also try to accesss by server name link - not by localhost.

Alexander.

> C# Programm on Exchange Server 2000:
> ----------------------------------------------------------------------
[quoted text clipped - 10 lines]
> are
> correct.
topper - 10 Aug 2006 13:14 GMT
Also you need to see this link http://support.microsoft.com/kb/260771/en-us
about ExOleDb authentication.

> C# Programm on Exchange Server 2000:
> ----------------------------------------------------------------------
[quoted text clipped - 10 lines]
> are
> correct.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.