Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - register.asp error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

register.asp error

 Post Reply Post Reply Page  12>
Author
cagataybalta View Drop Down
Newbie
Newbie
Avatar

Joined: 31 May 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote cagataybalta Quote  Post ReplyReply Direct Link To This Post Topic: register.asp error
    Posted: 31 May 2006 at 8:12am
version 8.0 RC1.1
register.asp
error occured  while adding new member
line      lngUserProfileID = CLng(.Fields("Author_ID"))
 
adds the member but error occures

 
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: 31 May 2006 at 3:40pm
First try re-uploading the files again, in case you have a corrupted file.

If the problem persists Turn off friendly HTTP errors in IE and give the full error so that we can findout what the course of this problem is.
Back to Top
leiti View Drop Down
Groupie
Groupie


Joined: 16 February 2005
Status: Offline
Points: 65
Post Options Post Options   Thanks (0) Thanks(0)   Quote leiti Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 6:35am
The problem is the command
 
.Requery
 
for Access. Comment this line out and it will work!
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: 02 June 2006 at 9:07am
The requery line is required for the register.asp page to work.

The database nees to be requeried to get the database generated ID number for the newly created member.


Edited by -boRg- - 02 June 2006 at 9:07am
Back to Top
SPman View Drop Down
Newbie
Newbie


Joined: 12 June 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote SPman Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2006 at 10:49am
I use v8.02 the release from 26th May for Access, and I am also getting the exact same error message.
 
When registering it gives this error although the user gets an email to confirm registration. 
 
Once refreshing the page however, everything seems to be fine.
 
Still highly annoying, anyone have a fix for this?
 
 
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: 12 June 2006 at 11:57am
No one yet has given the 'error message', let alone the 'exact same error message'

Could you please supply the exact error message so it can be investigated?

An error has occurred on a line doesn't really say why the error has occurred without a detailed server error message.

You may need to disable Friendly HTTP error messages in IE so you get the detailed server error message.


Edited by -boRg- - 12 June 2006 at 11:58am
Back to Top
SPman View Drop Down
Newbie
Newbie


Joined: 12 June 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote SPman Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2006 at 1:39pm
Hi there
 
On two servers my locahost, and a companies hosted server, I get the same error.
 
________________________________
error '80020009'

Exception occurred.

/register.asp, line 978

____________________________
 
978 of course giving the line: -
                  lngUserProfileID = Clng(.Fields("Author_ID"))
 
Hope this helps.
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: 12 June 2006 at 2:53pm
This is very odd as it is only using a Requery command to requery the database to get the new users ID number, without it activation emails, etc. will not work. This has been done in this way for around 4 years now.

All the test servers seem to run this code fine as well as most Access users, so this seems to be a very isolated small number of users have this issue.

This then looks like it could be server related, and more than likely some strange bug in the MDAC database drivers.

Try downloading and re-installing the latest MDAC drivers from www.microsoft.com/data and see if that clears up the problem.

Better still if you have access to the server install the free SQL Server 2005 Express and use the SQL server version, you will get much better performance and won't get all the issues that are inherent with Access databases.
Back to Top
 Post Reply Post Reply Page  12>

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.