Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - HELP!  Errors after ACCESS to SQL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HELP! Errors after ACCESS to SQL

 Post Reply Post Reply
Author
kl8ton View Drop Down
Newbie
Newbie


Joined: 23 April 2003
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote kl8ton Quote  Post ReplyReply Direct Link To This Post Topic: HELP! Errors after ACCESS to SQL
    Posted: 24 July 2003 at 2:31pm

Most things work correctly but there are a few errors that I get in certain places on the forums.  Here is what I get when I try to register.  The error occurs after filling in user information and clicking the register button:

Error Type:
Microsoft OLE DB Provider for SQL Server (0x80040E2F)
Cannot insert the value NULL into column 'Author_ID', table 'InsideStilesForums.dbo.tblAuthor'; column does not allow nulls. INSERT fails.
/webwiz/forum/register.asp, line 821

 

This next error happens when I try to add a user to my buddy list:

Error Type:
Microsoft OLE DB Provider for SQL Server (0x80040E2F)
Cannot insert the value NULL into column 'Address_ID', table 'InsideStilesForums.dbo.tblBuddyList'; column does not allow nulls. INSERT fails.
/webwiz/forum/pm_add_buddy.asp, line 152

I checked the SQL tables and it is like the forum isn't trying to put a number in those fields.  Should I allow NULLS in the tables?  Or should I be looking somewhere else?  Please help!


Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2003 at 2:41pm

open the db in enterprise manager and change the datatype to int for the id fields mentioned above, then change it to increment...

Back to Top
kl8ton View Drop Down
Newbie
Newbie


Joined: 23 April 2003
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote kl8ton Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2003 at 12:39pm

Well that took care of those problems.  Thanks for your help.

Now I have some new ones that hopefully you can help me with.

After adding a new test user I click on the Members List button and get the following:

Error Type:
Microsoft VBScript runtime (0x800A005E)
Invalid use of Null: 'CLng'
/webwiz/forum/members.asp, line 341

 

I also get the following error if I click on the membership admin button on the admin page.  It must have to do with this CLng field or value.

 

Error Type:
Microsoft VBScript runtime (0x800A005E)
Invalid use of Null: 'CLng'
/webwiz/forum/admin/select_members.asp, line 279

 

Please help.  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: 05 August 2003 at 1:22pm

Often when upsizing from access to sql server unless you get it correct the default values, relationships, etc. are not carried over. This often happenes if you use a DSN to uypsize the database.

Start over again as you do need to get all the default values and raltionships correctly carried over to get the forum to function correctly.

Back to Top
kl8ton View Drop Down
Newbie
Newbie


Joined: 23 April 2003
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote kl8ton Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2003 at 11:46am

Ok I started from scratch.  Made a new database, ran the MS SQL setup, i comletely configured the forums from the admin page, I registered a test user (so far all is well).

I went to test posting for the first time and I get this:

Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'CuLocation'
/webwiz/forum/post_message.asp, line 590

 

Any suggestions?

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: 06 August 2003 at 12:00pm

I suggest using a program like www.flasfxp.com to upload your files as it looks like they are becoming corrupted. The forum should run fualtlessly with no errors and much bug testing has been done over the last 3 years to make sure it shouldn't crash.

The file you mention should read:-

.CursorType = 2

and no where should it say CuLocation

Back to Top
kl8ton View Drop Down
Newbie
Newbie


Joined: 23 April 2003
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote kl8ton Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2003 at 12:10pm

THANK YOU THANK YOU

 

That worked.  That was the only thing that I couldn't do.

 

Thanks again.

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.