Developers community number 1 connection string reference

Connection strings for MS Project

Community Forums
Find solutions and post questions regarding connection string related issues.
Project 2007, unlike Project 2003, does not include an OLE DB Provider. To query Project data programmatically, use the Microsoft Office Project Server reporting store or the reporting cubes. The Reporting database is used for read-only, server-side data access. Data access to local .mdb files from Project Standard or Project Professional is accomplished through the VBA object model.

You can also save projects as XML files for access to project data. It is also possible to save your mpp project file in a 2003 format and use the Microsoft.Project.OLEDB.11.0 provider.

Another option is to use the 2003 Microsoft.Project.OLEDB.11.0 provider to connect to the 2007 mpp file. Please note that for this to work service pack 3 for Project 2003 must be installed.

Microsoft Project 2003 OLE DB

Type:    OLE DB Provider
Usage:  Provider=Microsoft.Project.OLEDB.11.0
Manufacturer:  Microsoft
Customize string example values »
Provider=Microsoft.Project.OLEDB.11.0;Project Name=myProjectDatabaseFile.mpp;
 

Microsoft Project 2002 OLE DB

Type:    OLE DB Provider
Usage:  Provider=Microsoft.Project.OLEDB.10.0
Manufacturer:  Microsoft
Customize string example values »
Provider=Microsoft.Project.OLEDB.10.0;Project Name=myProjectDatabaseFile.mpp;
 

Microsoft Project 2000 OLE DB

Type:    OLE DB Provider
Usage:  Provider=Microsoft.Project.OLEDB.9.0
Manufacturer:  Microsoft
Customize string example values »
Provider=Microsoft.Project.OLEDB.9.0;Project Name=myProjectDatabaseFile.mpp;
 

.NET Framework Data Provider for OLE DB

Type:    .NET Framework Wrapper Class Library
Usage:  System.Data.OleDb.OleDbConnection
Customize string example values »
Bridging to Project 2003 OLE DB
This is just one connection string sample for the wrapping OleDbConnection class that calls the underlying OLEDB provider. See respective OLE DB provider for more connection strings to use with this class.
Provider=Microsoft.Project.OLEDB.11.0;Project Name=myProjectDatabaseFile.mpp;
 
Selected Articles
Copyright © 2010 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.