Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Error when creating event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error when creating event

 Post Reply Post Reply
Author
Jesper View Drop Down
Newbie
Newbie


Joined: 18 February 2003
Location: Denmark
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jesper Quote  Post ReplyReply Direct Link To This Post Topic: Error when creating event
    Posted: 01 April 2006 at 11:19pm
I get the following error when I try to create an event (in v8 rc1.1):
 
Server Error in Forum Application
An error has occured while writing to the database.
Please contact the forum administrator.

Support Error Code:- err_SQLServer_save_new_topic_data
File Name:- new_post.asp

Error details:-
Microsoft OLE DB Provider for SQL Server
Cannot insert the value NULL into column 'Topic_ID', table 'vfrdk.dbo.tblTopic'; column does not allow nulls. INSERT fails.
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: 03 April 2006 at 10:31am
The only thing I can think is that your SQL Server database is not setup correctly.

The Topic_ID column in the tblTopic table needs to be set to IDENTITY with a SEED of 1 so that an ID number is automatically set by the database.

Could you please give details on how you created the database, if you modified the database, and if it is an upgrade.
Back to Top
Jesper View Drop Down
Newbie
Newbie


Joined: 18 February 2003
Location: Denmark
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jesper Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2006 at 9:19pm
This problem has now re-occured after I upgraded the 7.x to 8.0RC1.
I moved the database to SQL2k5 and then ran the migration script.
Back to Top
Jesper View Drop Down
Newbie
Newbie


Joined: 18 February 2003
Location: Denmark
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jesper Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2006 at 9:20pm
oh... the sql server is (and was) a standard installation - nothing fancy, nothing changed. Just standard 'next.. next.. finish).
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: 11 April 2006 at 11:49am
It likes like when you moved the database to another server it wasn't successful and therefore the default values for some of the columns wasn't carried across.
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.