matwils
Posts: 7
|
Posted: 03/13/2008, 4:38 PM |
|
I'm new to .net although have been working very well with classic asp and CCS for sometime now. I have setup a new .net project (MySql, CCS4.0) and the connection string to the MySql database works fine locally. However when I publish the site to the remote server I get the server error message below:
Exception Details: System.ArgumentException: An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'.
Source Error:
Line 20: Public Sub New(ByVal connection As ConnectionString)
Line 21: MyBase.New(connection)
Line 22: Me.Connection = New OleDbConnection(connection.Connection)
Line 23: s_connection = connection
Line 24: End Sub
It appears that server can't find my connection string. I checked the web.config file and the connection string is deinfitely in there and correct. Any ideas what the problem could be?
|
|
|
|