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 -> ASP

 Database Connection Error

Print topic Send  topic

Author Message
softmafia

Posts: 44
Posted: 02/23/2005, 8:40 AM

I designed an application with codecharge and its in ASP it works very fine localy when i test it with IIS
here is the db class in the common file
Private Sub Class_Initialize()
ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Data Source=valmet_bank"
User = ""
Password = ""
Set Converter = New clsConverter
Converter.DateFormat = Array("mm", "/", "dd", "/", "yyyy", " ", "HH", ":", "nn", ":", "ss")
Converter.BooleanFormat = Array("true", "false", Empty)
Set objConnection = Server.CreateObject("ADODB.Connection")
Set Errors = New clsErrors
End Sub

but when i uploaded it it gave me this error
Unable to establish connection to database.
Error information:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
Other possible cause of this problem:
The database cannot be opened, most likely due to incorrect connection settings or insufficient security set on your database folder or file.
For more details please refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306518
what should i do
_________________
softmafia
View profile  Send private message
mrachow


Posts: 509
Posted: 02/24/2005, 1:28 AM

Not knowing every detail of connection strings, but it seems to me that you would need an ODBC data source named valmet_bank pointing to your Access database configured on the webserver.
_________________
Best regards,
Michael
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.