Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Error when adding a new topic
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error when adding a new topic

 Post Reply Post Reply
Author
eletronicashow View Drop Down
Groupie
Groupie


Joined: 07 August 2009
Location: São Roque/SP
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote eletronicashow Quote  Post ReplyReply Direct Link To This Post Topic: Error when adding a new topic
    Posted: 08 November 2011 at 2:37pm


Este erro aparece somente quando tento criar um novo tópico

This error only appears when I try to create a new topic


Server Error in Forum Application
An error has occurred while writing to the database.
Please contact the Forum Administrator.

Support Error Code:- err_Access_save_new_topic_data
File Name:- new_post.asp
Forum Version:- 10.03

Error details:-
Microsoft JET Database Engine
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.
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: 08 November 2011 at 2:55pm
The error means the database is corrupted.

Try downloading the database and compact and repair it in Access, if that does not fix it you would need to roll back to the last backup you did of the database.

Access is a desktop database and often becomes corrupted which is why you should use the SQL Server or mySQL versions.

Access is OK for small forums with a handful of members, under 10MB in database size, and only a limited number of hits each day.
Back to Top
eletronicashow View Drop Down
Groupie
Groupie


Joined: 07 August 2009
Location: São Roque/SP
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote eletronicashow Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2011 at 3:12pm
Já tinha feito a compactacao do banco de dados mas sem resultado

mas já resolvi o problema quando eu atualizaei uma mensagem está gerou um registro na tabela tbltopic sem autor_id sem tread_id... somente exclui e voltou ao normal.

I had already done the compaction of the database but to no avail

but it solved the problem when I Upgrades a message isgenerated a record in the table without tbltopic autor_id tread_idwithout ... only deletes and returned to normal.

me disculpe pelo inglês porque estou usando um tradutor online mas como eu faço para converter para mysql o banco de dados.

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: 08 November 2011 at 3:46pm
mySQL is not a relational database like Access and SQL Server and uses different data types and date formats. Moving to mySQL would be very difficult.

What is much simpler is upsizing the database using Microsoft Access to SQL Server, as Access and SQL Server are both relational databases and use very similar data types.
Back to Top
eletronicashow View Drop Down
Groupie
Groupie


Joined: 07 August 2009
Location: São Roque/SP
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote eletronicashow Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2011 at 5:08pm
se eu usar o upgrade as informações do access não passariam para o mysql.

if I use the upgrade information from unauthorized access pass for mysql.
Back to Top
eletronicashow View Drop Down
Groupie
Groupie


Joined: 07 August 2009
Location: São Roque/SP
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote eletronicashow Quote  Post ReplyReply Direct Link To This Post Posted: 10 November 2011 at 9:55pm
deu um baita trabalho mas consegui transferir todos os registros do access para base de dados mysql usando um programa que gera um arquivo txt contendo todas as informações relativas ao conteudo do access a unica coisa que  não consegui fazer funcionar foi os feed de noticia.
gave a hell of a job but managed to transfer all records of access to mysql database using a program that generates a txt file containing all information relating to the contents of access the only thing I could not make it work was the news feed.
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.