error in connecting mysqldatabase with asp.net application

error in connecting mysqldatabase with asp.net application

am 13.02.2006 14:13:08 von Xcavn Inc

--0-1441224793-1139836388=:79585
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

from:xcavn@yahoo.com

subject: error in connecting mysqldatabase with asp.net application

I get the following error when i connect the mysql database with asp.net application.

error:
"System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified at System.Data.Odbc.OdbcConnection.Open() at onlinemonitor.CUSTOMERREDIRECT.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\onlinemonitor\DUMMY.aspx.vb:line 44 "

please help me to resolve this problem as soon as possible,
thanks,
xcavn


---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
--0-1441224793-1139836388=:79585--

Re: error in connecting mysqldatabase with asp.net application

am 13.02.2006 14:33:36 von Daniel da Veiga

On 2/13/06, Xcavn Inc wrote:
> from:xcavn@yahoo.com
>
> subject: error in connecting mysqldatabase with asp.net application
>
> I get the following error when i connect the mysql database with asp.ne=
t application.
>
> error:
> "System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver =
Manager] Data source name not found and no default driver specified at Syst=
em.Data.Odbc.OdbcConnection.Open() at onlinemonitor.CUSTOMERREDIRECT.Page_L=
oad(Object sender, EventArgs e) in C:\Inetpub\wwwroot\onlinemonitor\DUMMY.a=
spx.vb:line 44 "
>

It seems you are trying to connect using ODBC but did not create a
DSN, maybe you should take a look at the manual for the ODBC connector
and check how to create a DSN and how to set it up... I guess you can
create a connection without a DSN, but you should pass a lot of
parameters to the ODBC driver in order to do so...

> please help me to resolve this problem as soon as possible,
> thanks,
> xcavn
>
>
> ---------------------------------
> Yahoo! Mail
> Use Photomail to share photos without annoying attachments.
>


--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=3Dgcdmw-win32@m.gmane.org

RE: error in connecting mysqldatabase with asp.net application

am 13.02.2006 22:51:55 von jbonnett

I presume you have installed MyODBC correctly, defined a DSN and tested
it from the Control Panel?

You could also try the MySQL .NET Data Connector instead of the ODBC
driver. It is what I use with .NET.

John B.

-----Original Message-----
From: Xcavn Inc [mailto:xcavn@yahoo.com]=20
Sent: Monday, 13 February 2006 11:43 PM
To: win32@lists.mysql.com
Subject: error in connecting mysqldatabase with asp.net application

from:xcavn@yahoo.com
=20
subject: error in connecting mysqldatabase with asp.net application
=20
I get the following error when i connect the mysql database with
asp.net application.
=20
error:
"System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver
Manager] Data source name not found and no default driver specified at
System.Data.Odbc.OdbcConnection.Open() at
onlinemonitor.CUSTOMERREDIRECT.Page_Load(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\onlinemonitor\DUMMY.aspx.vb:line 44 "
=20
please help me to resolve this problem as soon as possible,
thanks,
xcavn

=09
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.

--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=3Dgcdmw-win32@m.gmane.org