CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 An OLE DB Provider was not specified in the ConnectionString

Print topic Send  topic

Author Message
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?
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.