Ask a Question related to ASP Database, Design and Development.
-
Peak #1
Provider cannot be found error
Hello all
Windows XP SP1
I'm trying to connect to a local MySQL database through ASP (VBScript, also
tried JScript, same result). IIS is on the same machine.
connect = Server.CreateObject("ADODB.Connection");
connect.Open("Provider=MySQL; Data Source=localhost; Initial Catalog=test;
User ID=root");
I get "Provider cannot be found. It may not be properly installed".
Yet I can successfully connect to the database through sqlyog, Data Sources
(ODBC) and winmysqladmin.
Also tried different names for Provider both with and without the "{}", same
result. The DSN is set to "MySQL" in Data Sources (ODBC)
Any clues?
--
Regards
Peter Akerstrom
Network & Communication
Peak Guest
-
Cryptographic service provider (CSP) could not be found for this algorithm.
I'm running an ASP.NET webapplication on a Windows 2000 Server SP4 machine with .Net Framework 1.0 installed. The ASP.Net application uses... -
refresh causes Provider error '80004005'
I have an ASP page running on IIS4 on a NT machine accessing a remote database server on the local network Windows 2000 with /AD and it runs fine.... -
Provider error '80004005' Unspecified error - ARRRGGGHHH!!!!!
I have searched usenet & dev sites to no avail although many have had similar problems, reckon its an issue with DSN but not sure.. error occurs... -
Provider error?
What is GetConnectionString? A function? Where is it? What does it say? Ray at work "Dean J. Garrett" <deanj_garrett@yahoo.com> wrote in... -
Microsoft OLE DB Provider for ODBC Drivers error '80004005' Error
Hi folks - i've got a windows 2000 server (SP3) i've run the IIS lockdown tool on it and set for dynamic websites - all the static pages within the... -
Ray at #2
Re: Provider cannot be found error
Take a look at the sample OLEDB connection string for MySQL here.
[url]http://www.connectionstrings.com/[/url] Yours is different from that, although I
cannot say that that means yours is wrong, but it is worth looking at and
trying. Also, did you install the MySQL OLEDB drivers (which I assume
exist)? Those other tools you're talking about may use ODBC.
Ray at work
"Peak" <peak.delete.this@europe.com> wrote in message
news:%CjGb.26$zf2.81@news1.global-one.fi...also> Hello all
>
> Windows XP SP1
>
> I'm trying to connect to a local MySQL database through ASP (VBScript,Sources> tried JScript, same result). IIS is on the same machine.
>
> connect = Server.CreateObject("ADODB.Connection");
> connect.Open("Provider=MySQL; Data Source=localhost; Initial Catalog=test;
> User ID=root");
>
> I get "Provider cannot be found. It may not be properly installed".
> Yet I can successfully connect to the database through sqlyog, Datasame> (ODBC) and winmysqladmin.
>
> Also tried different names for Provider both with and without the "{}",> result. The DSN is set to "MySQL" in Data Sources (ODBC)
>
> Any clues?
> --
> Regards
> Peter Akerstrom
> Network & Communication
>
>
Ray at Guest
-
Foo Man Chew #3
Re: Provider cannot be found error
Once I installed MyOLEDB from [url]http://www.mysql.com/downloads[/url] I can
successfully use this connection string:
conn.open
"Provider=MySQLProv;Server=SQLBOX;Database=test;ui d=root;pwd=;port=3306"
"Peak" <peak.delete.this@europe.com> wrote in message
news:%CjGb.26$zf2.81@news1.global-one.fi...also> Hello all
>
> Windows XP SP1
>
> I'm trying to connect to a local MySQL database through ASP (VBScript,Sources> tried JScript, same result). IIS is on the same machine.
>
> connect = Server.CreateObject("ADODB.Connection");
> connect.Open("Provider=MySQL; Data Source=localhost; Initial Catalog=test;
> User ID=root");
>
> I get "Provider cannot be found. It may not be properly installed".
> Yet I can successfully connect to the database through sqlyog, Datasame> (ODBC) and winmysqladmin.
>
> Also tried different names for Provider both with and without the "{}",> result. The DSN is set to "MySQL" in Data Sources (ODBC)
>
> Any clues?
> --
> Regards
> Peter Akerstrom
> Network & Communication
>
>
Foo Man Chew Guest
-
Peak #4
Re: Provider cannot be found error
Thanks Foo Man Chew, finally it works!
/Peter
"Foo Man Chew" <foo@man.chew> wrote in message
news:uONkMipyDHA.1272@TK2MSFTNGP12.phx.gbl...Catalog=test;> Once I installed MyOLEDB from [url]http://www.mysql.com/downloads[/url] I can
> successfully use this connection string:
>
> conn.open
> "Provider=MySQLProv;Server=SQLBOX;Database=test;ui d=root;pwd=;port=3306"
>
>
>
>
> "Peak" <peak.delete.this@europe.com> wrote in message
> news:%CjGb.26$zf2.81@news1.global-one.fi...> also> > Hello all
> >
> > Windows XP SP1
> >
> > I'm trying to connect to a local MySQL database through ASP (VBScript,> > tried JScript, same result). IIS is on the same machine.
> >
> > connect = Server.CreateObject("ADODB.Connection");
> > connect.Open("Provider=MySQL; Data Source=localhost; Initial> Sources> > User ID=root");
> >
> > I get "Provider cannot be found. It may not be properly installed".
> > Yet I can successfully connect to the database through sqlyog, Data> same> > (ODBC) and winmysqladmin.
> >
> > Also tried different names for Provider both with and without the "{}",>> > result. The DSN is set to "MySQL" in Data Sources (ODBC)
> >
> > Any clues?
> > --
> > Regards
> > Peter Akerstrom
> > Network & Communication
> >
> >
>
Peak Guest



Reply With Quote

