Re: error in connecting mysqldatabase with asp.net application
Daniel da Veiga <[email protected]>
| Newsgroups | gmane.comp.db.mysql.windows |
|---|---|
| Message-ID | <[email protected]> |
On 2/13/06, Xcavn Inc <[email protected]> wrote: > from:[email protected] > > 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 " > 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/[email protected]