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