User1283221234 posted
Hi, I have a mySQL instance with Toad. I want to connect to the database(that is in the TOAD-MySQL Sever) from aspx page . What connectionString should I use and how should it be. I tried the following connectionstring
Server=serverName;Port=8080;Database=db_1;Uid=u_id;Pwd=pwd;Provider=SQLOLEDB;
but it is not working and throwing the following error:
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
Invalid connection string attribute
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
Invalid connection string attribute
Can anybody let me know where I was going wrong. And what should the connectionstring look like?