Di sicuro c'è un errore di connessione le ho provate tutte mi aiutate?
grazie
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.
/calendario/calendar_v1.asp, line 104
questa sotto è la riga incriminata
' Open the RecordSet with a static cursor. This cursor provides bi-directional navigation
Rs.Open sSQL, sDSN, adOpenStatic, adLockReadOnly, adCmdText
qui c'è il file della connessione dove penso sia l'errore
Dim sDB, sPath, sDSNDir, sDSNFil, sDefDir, sDSN, sScriptDir
' This is the entire DB path - Physical with respect to root physical path
sDB ="/mdb-database/calendario.mdb"
'----------------------------------------------------
' DO NOT Edit the entries below
'----------------------------------------------------
' Retrieve the script directory
sScriptDir = Request.ServerVariables("SCRIPT_NAME")
sScriptDir = StrReverse(sScriptDir)
sScriptDir = Mid(sScriptDir, InStr(1, sScriptDir, "/"))
sScriptDir = StrReverse(sScriptDir)
' Set the virtual Directory
sPath = Server.MapPath(sScriptDir) & "\"
' This is the DSN file Name for Access database
sDSNFil = "Access.dsn"
' This is the resulting DSN string
sDSN = "filedsn=" & sPath & sDSNFil & ";DefaultDir=" & sPath & ";DBQ=" & sPath & sDB & ";"
'----------------------------------------------------

Rispondi quotando