A
ansu
Hi All,
Iam getting the following error while reading MSProject file,
"Provider cannot be found,It may not be properly installed." when i try
to do
private bool IsProjcectOledDBSupported(string filename) {
ADODB.ConnectionClass conn = new ADODB.ConnectionClass();
try
{
conn.Disconnect += new
ADODB.ConnectionEvents_DisconnectEventHandler(conn_Disconnect);
conn.CommandTimeout = 30;
conn.Open("Provider=Microsoft.Project.OLEDB.11.0;PROJECT
NAME=" + filename, null, null, 0); ---Getting Error at this line
conn.Close();
conn.Cancel();
conn = null;
}
catch (Exception ex)
{
conn = null;
return false;
}
return true;
}
Note : I have MSProject 2003 Installed on my system.
Need Help,
Regards.
Iam getting the following error while reading MSProject file,
"Provider cannot be found,It may not be properly installed." when i try
to do
private bool IsProjcectOledDBSupported(string filename) {
ADODB.ConnectionClass conn = new ADODB.ConnectionClass();
try
{
conn.Disconnect += new
ADODB.ConnectionEvents_DisconnectEventHandler(conn_Disconnect);
conn.CommandTimeout = 30;
conn.Open("Provider=Microsoft.Project.OLEDB.11.0;PROJECT
NAME=" + filename, null, null, 0); ---Getting Error at this line
conn.Close();
conn.Cancel();
conn = null;
}
catch (Exception ex)
{
conn = null;
return false;
}
return true;
}
Note : I have MSProject 2003 Installed on my system.
Need Help,
Regards.