Re: ASP AND MYSQL ERROR : "Keyword not supported: 'dsn'."
Posted by: Reggie Burnett
Date: July 10, 2007 10:08AM

Harsh

By using a dsn keyword, you are apparently attempting to use an ODBC connection. however, your code is using SqlConnection which is the .NET provider for Sql Server. So you've mixed a couple of wrong technologies here. If you want to use ODBC, you need to be using OdbcConnecion. If you want to connect to MySql using a .NET provider (preferred) then you should be using MySqlConnection.

Options: ReplyQuote


Subject
Written By
Posted
Re: ASP AND MYSQL ERROR : "Keyword not supported: 'dsn'."
July 10, 2007 10:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.