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.