| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
File backup
I am trying to create a copy of a file in another directory.
Using the code below, I get the following error messeage. Microsoft OLE DB Provider for ODBC Driverserror '80004005'[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x6c4 Thread 0x814 DBC 0x7323a7c Jet'. Any suggestion? Thanks, Joe <% dim fs, conn Set Conn = Server.CreateObject("ADODB.Connection") DSNName = "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" DSNName = DSNName & Server.MapPath("/dbase/") Conn.Open DSNName ' line 18 in my code set fs=Server.CreateObject("Scripting.FileSystemObject") fs.CopyFile "OldUsrDB.mdb", "\dbaseBU\OldUsrDB.mdb",True set fs=nothing Set Conn=nothing %> |
|
#2
|
||||
|
||||
|
Try This
In the future, please post your questions in the correct forum area. The ASP Code (Code Bank) area is for sample code only, not questions. |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > File backup |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|