Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Network & Sharing

Vista - "Provider cannot be found. It may not be properly installed Error --2146824582"

Reply
 
Old 02-12-2009   #1 (permalink)


Vista Ultimate x64
 
 

"Provider cannot be found. It may not be properly installed Error --2146824582"

Hi,

We have a script file that excutes following code snippet:-

var gOledbProvider = "Exoledb.Datasource"
//var gOledbProvider = "MSDAIPP.DSO"

var oCon = CreateCOMObject("ADODB.Connection");
oCon.ConnectionString = sURL;
oCon.Provider = gOledbProvider;
oCon.Open( sURL );

The URL is valid, can be browsed successfully from IE. The last line throws an error for either of the providers. Error is as follows:-

"Provider cannot be found. It may not be properly installed" Error -2146824582

This piece of code excutes successfully if exchange is hosted on Windows 2008 and application using above code is also hosted on WIndows 2008.

However, if Exchange is hosted on Windows 2003 and application using above code is also hosted on Windows 2008 (64 bit), it fails with above error. Tried with both Office 2003 and Office 2007 in this case.

To add up, this code snippet is in a script file, no IIS required.

A quick solution is really appreciated.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Query length Limitations on Win2K Using "ADO" "Active Directory Provider" ... Error -2147217900 VB Script
Error: "The referenced assembly is not installed on your system" Vista Speech error General Discussion
"Could not perform this operation because the default mail client is not properly installed" Vista General
Backup Fails "The shadow copy provider had an unexpected error..." Vista General
DMX Xfire 1024 - "File Not Found" error during driver install Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46