Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
other
informationbridge
office.intranets
office.misc
office.setup
office.xml
officeupdate
onenote
photodraw.discussion
powerpoint
producer
proj.standard&server
project
project.developer
project.pro_and_serve
project.server
project.vba
project2000
publisher
publisher.prepress
publisher.programming
publisher.webdesign
visio
visio.createshapes
visio.database.modeling
visio.dev.diagrams
visio.dev.shapesheet
visio.dev.vba
visio.dev.vc
visio.developer
visio.general
visio.installation
visio.printing
visio.software.modeling
visio.troubleshoot
  
 
date: Thu, 4 Sep 2008 09:51:00 +0200,    group: microsoft.public.project.developer        back       


Provider cannot be found. It may not be properly installed.   
Hi

I have an application that extracts data from a .mpp file using C# and the 
OLEDB provider shipped with MSP 2003. On my pre-production server it works 
fine, but on the production server I get a COMException : Provider cannot be 
found. It may not be properly installed.

Both servers have installed:
- .NET Framework 2.0 SP1
- Microsoft Project Office 2003 SP3 (default installation)
- MDAC 2.8 SP2

The only noticeable difference between the two servers is that the 
production server runs 64-bit Windows Server 2003 and the pre-prod runs 
32-bit.

The connectionstring I'm using is "Provider=Microsoft.Project.OLEDB;Project 
Name=somefile.mpp".

I would really appreciate it if someone can help me with a possible 
solution.

Regards
Jan
date: Thu, 4 Sep 2008 09:51:00 +0200   author:   Jan

Re: Provider cannot be found. It may not be properly installed.   
HI,

The pjoledb.htm file that comes with project suggests a connection string 
of:

"Provider=Microsoft.Project.OLEDB.11.0;PROJECT NAME=" & FILE_NAME

Try adding the .11.0

Do be aware as well for the future that oledb is not supported by Project 
2007

-- 

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com



"Jan"  wrote in message 
news:uW9P$LmDJHA.4724@TK2MSFTNGP05.phx.gbl...
> Hi
>
> I have an application that extracts data from a .mpp file using C# and the 
> OLEDB provider shipped with MSP 2003. On my pre-production server it works 
> fine, but on the production server I get a COMException : Provider cannot 
> be found. It may not be properly installed.
>
> Both servers have installed:
> - .NET Framework 2.0 SP1
> - Microsoft Project Office 2003 SP3 (default installation)
> - MDAC 2.8 SP2
>
> The only noticeable difference between the two servers is that the 
> production server runs 64-bit Windows Server 2003 and the pre-prod runs 
> 32-bit.
>
> The connectionstring I'm using is 
> "Provider=Microsoft.Project.OLEDB;Project Name=somefile.mpp".
>
> I would really appreciate it if someone can help me with a possible 
> solution.
>
> Regards
> Jan
date: Thu, 4 Sep 2008 21:22:49 +1200   author:   Rod Gill rodATproject-systemsDOTcoDOTnz

Re: Provider cannot be found. It may not be properly installed.   
Hi Rod

Thanks for the reply. I will try what you suggested.

The reason for me using this connection sting is that it works for MSP 2000, 
2002 and 2003. Also, for the moment we are happy to use MSP 2003 SP3 as it 
can access 2007 files as well. I guess we'll have to find some solution in 
future.

Thanks
Jan

"Rod Gill" <rodATproject-systemsDOTcoDOTnz> wrote in message 
news:%23TIJS$mDJHA.4104@TK2MSFTNGP05.phx.gbl...
> HI,
>
> The pjoledb.htm file that comes with project suggests a connection string 
> of:
>
> "Provider=Microsoft.Project.OLEDB.11.0;PROJECT NAME=" & FILE_NAME
>
> Try adding the .11.0
>
> Do be aware as well for the future that oledb is not supported by Project 
> 2007
>
> -- 
>
> Rod Gill
> Microsoft MVP for Project
>
> Author of the only book on Project VBA, see:
> http://www.projectvbabook.com
>
>
>
> "Jan"  wrote in message 
> news:uW9P$LmDJHA.4724@TK2MSFTNGP05.phx.gbl...
>> Hi
>>
>> I have an application that extracts data from a .mpp file using C# and 
>> the OLEDB provider shipped with MSP 2003. On my pre-production server it 
>> works fine, but on the production server I get a COMException : Provider 
>> cannot be found. It may not be properly installed.
>>
>> Both servers have installed:
>> - .NET Framework 2.0 SP1
>> - Microsoft Project Office 2003 SP3 (default installation)
>> - MDAC 2.8 SP2
>>
>> The only noticeable difference between the two servers is that the 
>> production server runs 64-bit Windows Server 2003 and the pre-prod runs 
>> 32-bit.
>>
>> The connectionstring I'm using is 
>> "Provider=Microsoft.Project.OLEDB;Project Name=somefile.mpp".
>>
>> I would really appreciate it if someone can help me with a possible 
>> solution.
>>
>> Regards
>> Jan
>
date: Thu, 4 Sep 2008 11:45:45 +0200   author:   Jan

Re: Provider cannot be found. It may not be properly installed.   
Hi Rod

I tried the change to the connection string but no luck. Still get the same 
"Provider cannot be found" exception.

I browsed the web for hours, and found more people battling with other OLEDB 
providers on 64-bit platforms. Could this be it? Do you have any experience 
on this?

Thanks
Jan

"Rod Gill" <rodATproject-systemsDOTcoDOTnz> wrote in message 
news:%23TIJS$mDJHA.4104@TK2MSFTNGP05.phx.gbl...
> HI,
>
> The pjoledb.htm file that comes with project suggests a connection string 
> of:
>
> "Provider=Microsoft.Project.OLEDB.11.0;PROJECT NAME=" & FILE_NAME
>
> Try adding the .11.0
>
> Do be aware as well for the future that oledb is not supported by Project 
> 2007
>
> -- 
>
> Rod Gill
> Microsoft MVP for Project
>
> Author of the only book on Project VBA, see:
> http://www.projectvbabook.com
>
>
>
> "Jan"  wrote in message 
> news:uW9P$LmDJHA.4724@TK2MSFTNGP05.phx.gbl...
>> Hi
>>
>> I have an application that extracts data from a .mpp file using C# and 
>> the OLEDB provider shipped with MSP 2003. On my pre-production server it 
>> works fine, but on the production server I get a COMException : Provider 
>> cannot be found. It may not be properly installed.
>>
>> Both servers have installed:
>> - .NET Framework 2.0 SP1
>> - Microsoft Project Office 2003 SP3 (default installation)
>> - MDAC 2.8 SP2
>>
>> The only noticeable difference between the two servers is that the 
>> production server runs 64-bit Windows Server 2003 and the pre-prod runs 
>> 32-bit.
>>
>> The connectionstring I'm using is 
>> "Provider=Microsoft.Project.OLEDB;Project Name=somefile.mpp".
>>
>> I would really appreciate it if someone can help me with a possible 
>> solution.
>>
>> Regards
>> Jan
>
date: Thu, 4 Sep 2008 13:49:17 +0200   author:   Jan

Re: Provider cannot be found. It may not be properly installed.   
Hi,

I've just checked and OLEDB is working for me in Excel VBA reading data from 
a .mpp using Vista Business which is 64 bit.

Can you run the macro from a Workstation instead?

Other than that information I can't help you I'm afraid.

-- 

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com



"Jan"  wrote in message 
news:138C44E4-C55D-46F1-AD96-64A8F883AE6F@microsoft.com...
> Hi Rod
>
> I tried the change to the connection string but no luck. Still get the 
> same "Provider cannot be found" exception.
>
> I browsed the web for hours, and found more people battling with other 
> OLEDB providers on 64-bit platforms. Could this be it? Do you have any 
> experience on this?
>
> Thanks
> Jan
>
> "Rod Gill" <rodATproject-systemsDOTcoDOTnz> wrote in message 
> news:%23TIJS$mDJHA.4104@TK2MSFTNGP05.phx.gbl...
>> HI,
>>
>> The pjoledb.htm file that comes with project suggests a connection string 
>> of:
>>
>> "Provider=Microsoft.Project.OLEDB.11.0;PROJECT NAME=" & FILE_NAME
>>
>> Try adding the .11.0
>>
>> Do be aware as well for the future that oledb is not supported by Project 
>> 2007
>>
>> -- 
>>
>> Rod Gill
>> Microsoft MVP for Project
>>
>> Author of the only book on Project VBA, see:
>> http://www.projectvbabook.com
>>
>>
>>
>> "Jan"  wrote in message 
>> news:uW9P$LmDJHA.4724@TK2MSFTNGP05.phx.gbl...
>>> Hi
>>>
>>> I have an application that extracts data from a .mpp file using C# and 
>>> the OLEDB provider shipped with MSP 2003. On my pre-production server it 
>>> works fine, but on the production server I get a COMException : Provider 
>>> cannot be found. It may not be properly installed.
>>>
>>> Both servers have installed:
>>> - .NET Framework 2.0 SP1
>>> - Microsoft Project Office 2003 SP3 (default installation)
>>> - MDAC 2.8 SP2
>>>
>>> The only noticeable difference between the two servers is that the 
>>> production server runs 64-bit Windows Server 2003 and the pre-prod runs 
>>> 32-bit.
>>>
>>> The connectionstring I'm using is 
>>> "Provider=Microsoft.Project.OLEDB;Project Name=somefile.mpp".
>>>
>>> I would really appreciate it if someone can help me with a possible 
>>> solution.
>>>
>>> Regards
>>> Jan
>>
>
date: Fri, 5 Sep 2008 08:20:57 +1200   author:   Rod Gill rodATproject-systemsDOTcoDOTnz

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us