View Single Post
 
Old February 25th, 2004, 03:44 PM
lionking lionking is offline
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default reading mails from exchange 2003

whats wrong with the connection string to connect to exchange 2003 server::::

<%@ Page Language="C#" Debug="true" %>
<%@ import Namespace="System.Data" %>
<%@ import Namespace="System.Data.OleDb" %>
<script runat="server">

    void Page_Load()

string myConnString="Provider=EXOLEDB;DATA SOURCE= file://.backofficestorage/server/MBX/Administrator;Connect Timeout=30;";

OleDbConnection myConnection=new OleDbConnection(myConnString);
 myConnection.Open();
myConnection.Close();
 }

</script>