Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - problem upgrading 7.01->7.6
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

problem upgrading 7.01->7.6

 Post Reply Post Reply
Author
psycotik View Drop Down
Groupie
Groupie


Joined: 27 November 2003
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote psycotik Quote  Post ReplyReply Direct Link To This Post Topic: problem upgrading 7.01->7.6
    Posted: 27 November 2003 at 4:54am

Hi,

Im in the process of updating a 7.01 forum to 7.6. As far as i can see the only database change is the activeusers "browser" field, from length 15-20.

I have a clean version of 7.6 running, pointing to the old database and i get the following error whilst trying to create a post:

 Microsoft JET Database Engine error '80040e21'

The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.

/forum/post_message.asp, line 756

I've tried a few times and cant seem to work out what is causing this error. Would anyone else have an idea?

Thanks.

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2003 at 12:26pm
Could be a corrupted database use the compact and repair feature in the admin area of the MS Access version.
Back to Top
psycotik View Drop Down
Groupie
Groupie


Joined: 27 November 2003
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote psycotik Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2003 at 11:52pm

The repair compact didnt fix the problem.

I might try running it off a clean version of 7.01 see what happens

 

. might have to write an sql-transfer script which does an insert/select between databases.. But thats a bit of effort.



Edited by psycotik
Back to Top
psycotik View Drop Down
Groupie
Groupie


Joined: 27 November 2003
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote psycotik Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2003 at 3:51am

I tried running a new install of 7.01. I get the same error.

Could it be that users are accessing the database whilst im downloading it? Would that cause any problems? Because normally there are 10-12 users posting regularly at any time.

Back to Top
psycotik View Drop Down
Groupie
Groupie


Joined: 27 November 2003
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote psycotik Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2003 at 4:20am

Solved the problem. I did an online copy of the database to another name then downloaded that isntead of the live version. Which solved the issue.

Thanks for your help.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.