S
scislaghi
Guest
Hello all,
from 4 days i've upgraded to 7.6.1 version from 7.5.6.
Now I get always problem to open db with asp pages. This is the error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[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.
/common/include/tools.asp, line 19
Line 19 is:
Sub OpenDB (ByRef con, strDBName, strDBPath)
strPhysicalPath = Request.ServerVariables(4)
If Right(LCase(strDBName), 4) <> ".mdb" Then
strDBName = strDBName & ".mdb"
End If
' response.write strPhysicalPath & strDBName
' response.end
Set con = Server.CreateObject("ADODB.Connection")
' response.write "DRIVER=Microsoft Access Driver (*.mdb);UID=admin;UserCommitSync=Yes;Threads=3;SafeTransactions=0;PageTimeout=5;MaxScanRows=8;MaxBufferSize=2048;FIL=MS Access;DriverId=25;DefaultDir=" & strPhysicalPath & ";DBQ=" & strPhysicalPath & strDBName
con.Open "DRIVER=Microsoft Access Driver (*.mdb);UID=admin;UserCommitSync=Yes;Threads=3;SafeTransactions=0;PageTimeout=5;MaxScanRows=8;MaxBufferSize=2048;FIL=MS Access;DriverId=25;DefaultDir=" & strPhysicalPath & ";DBQ=" & strPhysicalPath & strDBName
End Sub
This is due a plesk upgrade?
Thanks
Stefano
__________________
Plesk 8 Debian 3.1
Plesk 7.6.1 W2K3
Dr.Web antivirus running
Visit: http://www.stefanocislaghi.it/
from 4 days i've upgraded to 7.6.1 version from 7.5.6.
Now I get always problem to open db with asp pages. This is the error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[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.
/common/include/tools.asp, line 19
Line 19 is:
Sub OpenDB (ByRef con, strDBName, strDBPath)
strPhysicalPath = Request.ServerVariables(4)
If Right(LCase(strDBName), 4) <> ".mdb" Then
strDBName = strDBName & ".mdb"
End If
' response.write strPhysicalPath & strDBName
' response.end
Set con = Server.CreateObject("ADODB.Connection")
' response.write "DRIVER=Microsoft Access Driver (*.mdb);UID=admin;UserCommitSync=Yes;Threads=3;SafeTransactions=0;PageTimeout=5;MaxScanRows=8;MaxBufferSize=2048;FIL=MS Access;DriverId=25;DefaultDir=" & strPhysicalPath & ";DBQ=" & strPhysicalPath & strDBName
con.Open "DRIVER=Microsoft Access Driver (*.mdb);UID=admin;UserCommitSync=Yes;Threads=3;SafeTransactions=0;PageTimeout=5;MaxScanRows=8;MaxBufferSize=2048;FIL=MS Access;DriverId=25;DefaultDir=" & strPhysicalPath & ";DBQ=" & strPhysicalPath & strDBName
End Sub
This is due a plesk upgrade?
Thanks
Stefano
__________________
Plesk 8 Debian 3.1
Plesk 7.6.1 W2K3
Dr.Web antivirus running
Visit: http://www.stefanocislaghi.it/