PC Review


Reply
Thread Tools Rate Thread

Connect to a Database Server, Use custom connection string not wor

 
 
=?Utf-8?B?QWRyaWFuIE1vb3Jl?=
Guest
Posts: n/a
 
      6th Apr 2006
I'm getting the following error message:

Server Error: An error occurred while retrieving the list of Databases from
<Data Source>: The Web Server cannot connect to the specified data source
because the query may contain errors, the data source may be unavailable or
configured improperly, or your Web Site is behind a proxy server or firewall.

It appears this feature only works for SQL-Server connection strings. I've
tried valid connection strings (creating using Data Link, Test Connection
confirms its valid) for an Access Database, MySQL Database and Polyhedra
database, but all return the above error. In the case of the MySQL and
Polyhedra OLE DB providers, what's interesting is that the OLE DB provider
DLL isn't even loaded by Frontpage.

There doesn't appear to be any errors in the Windows event log or IIS log.

Can anyone help?
Thanks
Ad.
 
Reply With Quote
 
 
 
 
Adrian Moore
Guest
Posts: n/a
 
      14th Apr 2006
Does anyone from Microsoft have an answer to this question?

Thanks
Ad.

"Adrian Moore" <(E-Mail Removed)> wrote in message
news:2BC6C860-2C11-4F0E-94B0-(E-Mail Removed)...
> I'm getting the following error message:
>
> Server Error: An error occurred while retrieving the list of Databases
> from
> <Data Source>: The Web Server cannot connect to the specified data source
> because the query may contain errors, the data source may be unavailable
> or
> configured improperly, or your Web Site is behind a proxy server or
> firewall.
>
> It appears this feature only works for SQL-Server connection strings.
> I've
> tried valid connection strings (creating using Data Link, Test Connection
> confirms its valid) for an Access Database, MySQL Database and Polyhedra
> database, but all return the above error. In the case of the MySQL and
> Polyhedra OLE DB providers, what's interesting is that the OLE DB provider
> DLL isn't even loaded by Frontpage.
>
> There doesn't appear to be any errors in the Windows event log or IIS log.
>
> Can anyone help?
> Thanks
> Ad.



 
Reply With Quote
 
Adrian Moore
Guest
Posts: n/a
 
      27th Apr 2006
Never mind, figure it out...

By default, the trusted OLE DB providers are
DB2OLEDB;IBMDADB2;MSDAORA;OraOLEDB.Oracle;SQLOLEDB;

The provider I was using needs to be added to the list trusted by Sharepoint
using the following command:

stsadm.exe -o setproperty -pn data-retrieval-services-oledb-providers -pv
DB2OLEDB;IBMDADB2;MSDAORA;OraOLEDB.Oracle;SQLOLEDB;PatOleD2.PatOleDb;

Hope this helps someone.

Adrian Moore
Microsoft MVP - Windows Networking

"Adrian Moore" <(E-Mail Removed)> wrote in message
news:2BC6C860-2C11-4F0E-94B0-(E-Mail Removed)...
> I'm getting the following error message:
>
> Server Error: An error occurred while retrieving the list of Databases
> from
> <Data Source>: The Web Server cannot connect to the specified data source
> because the query may contain errors, the data source may be unavailable
> or
> configured improperly, or your Web Site is behind a proxy server or
> firewall.
>
> It appears this feature only works for SQL-Server connection strings.
> I've
> tried valid connection strings (creating using Data Link, Test Connection
> confirms its valid) for an Access Database, MySQL Database and Polyhedra
> database, but all return the above error. In the case of the MySQL and
> Polyhedra OLE DB providers, what's interesting is that the OLE DB provider
> DLL isn't even loaded by Frontpage.
>
> There doesn't appear to be any errors in the Windows event log or IIS log.
>
> Can anyone help?
> Thanks
> Ad.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection String to connect to an Oracle DB in a remote server toamitha@gmail.com Microsoft ASP .NET 2 24th Mar 2007 04:35 PM
Connection string for database on another web server via IP =?Utf-8?B?bWVsa2lu?= Microsoft Access VBA Modules 3 23rd Sep 2006 03:23 AM
connection string to connect access database from VB vigneshwaran G via DotNetMonster.com Microsoft VB .NET 7 10th Mar 2005 05:37 PM
How to build connect string to the second instance of SQL Server \ database Krishna Microsoft ASP .NET 1 21st Nov 2003 03:14 PM
Re: Connection String to connect to SQL Server Database Brian Staff Microsoft ASP .NET 0 25th Jul 2003 05:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:57 AM.