Print Page | Close Window

Lost Everything Need HELP

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3478
Printed Date: 01 April 2026 at 5:38pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Lost Everything Need HELP
Posted By: TimD
Subject: Lost Everything Need HELP
Date Posted: 12 June 2003 at 12:06pm

OK I screwed up Big Time. Tried to upgrade to v7.01 and ended up losing all my old forum stuff (Members, Posts, etc., etc.).

Now I can't even rebuild it and start from scratch as every time I try and log in (with either the default or the one I had changed it to in v6.34(?) I get the following error.

 Microsoft JET Database Engine error '80004005'

Operation must use an updateable query.

/forum/common.asp, line 403

I have gone back a deleted every thing in the forums folder to include the folder itself and tried starting from scratch but still get the same message.

Can anyone PLEASE help me.

< language=>



Replies:
Posted By: ljamal
Date Posted: 12 June 2003 at 12:43pm
You need write permissions on the Access database

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: xeerex
Date Posted: 12 June 2003 at 8:32pm

~Repeat Jamal's post~

I'd also add that one of the first "rules" of networking is that you are only as good as your last backup. You should always keep an original backup and use a "working copy" until you are absolutely certain everything is fine. Even hen periodically close your board, download your database, zip and store it, and open your board back up. That way if something drastic does happen you can at least go back to x date.

Your problem should be simple to solve as Jamal indicated. However, if you really have upgrade problems, let me know. I've upgraded several already.



-------------
http://webspacegeeks.com - Need Hosting, Domains, Dedicated Servers?
http://www.smartergeek.com - web design | pc support | training | podcasts | video production


Posted By: Stefano
Date Posted: 13 June 2003 at 1:01am

I have an autobackup include file, which backs up every 4 hours, and can be adjustable. very simple to use..copy this to a new asp include file, and include it in the bottom of default.asp:

<%
dim filesys, DB, createdate, Cpath, Npath 'Cpath = current path, Npath = new path
Cpath = server.mappath("admin/database/databasename.mdb")
Npath = server.mappath("admin/database/databasenameBAK.mdb")

createdate=now 'set date so there is not mismatch if file not found

Set filesys = CreateObject("Scripting.FileSystemObject")
if  filesys.FileExists(Npath) then
 Set DB = filesys.GetFile(Npath)
 createdate = DB.DateLastModified
end if
%>
<span class="smtext"><br>
<%
if datevalue(createdate) <> datevalue(now) or NOT filesys.fileExists(Npath) _
  OR (datepart("H",now) >= datepart("H", createdate)+4) then
  
 CopyFile Cpath,Npath
 response.write "Database backed up -----"
else
 response.write "Database backed up on " & createdate & " ... "
end if
%>
</span>
<%
set DB = nothing
set filesys = nothing

function CopyFile(strFileSource, strFileDestination)

dim fso

if strFileSource = "" OR strFileDestination = "" then
  'Error - You must supply both a source and a destination
  exit function
end if

set fso = Server.CreateObject("Scripting.FileSystemObject")
if Not fso.FileExists(strFileSource) then
  'Error - Source file does not exist
  set fso = nothing
  exit function
end if

'delete destination if it exists
if fso.FileExists(strfiledestination) then fso.deletefile strfiledestination,true

'copy the file
fso.copyfile strFileSource, strFileDestination, true

'clean up
Set fso = nothing

end function
%>



-------------
Stefano
CyberCafePro Developer
http://www.cybercafepro.com


Posted By: TimD
Date Posted: 13 June 2003 at 12:31pm
Thank you all for your help



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net