Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - importing members from diff database !
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

importing members from diff database !

 Post Reply Post Reply Page  <123>
Author
sundaytricky View Drop Down
Newbie
Newbie


Joined: 26 May 2003
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote sundaytricky Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2003 at 4:07pm
all done and dusted folks, thanks to Rex from www.rexpage.com cheers !
Back to Top
SilverDragon View Drop Down
Newbie
Newbie
Avatar

Joined: 31 May 2003
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote SilverDragon Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2003 at 4:28pm
Ok, well here is the small .ASP script I had wipped up and used to import users from a different database.

http://danny.tamuk.edu/wwf_files/wwf_user_import.zip
Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2003 at 8:30pm
Script looks nice Silver. Haven't tried it yet but looks good. Thanks for posting it.
Back to Top
acerbbs View Drop Down
Newbie
Newbie
Avatar

Joined: 05 June 2003
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote acerbbs Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2003 at 4:10am

Does this need SQL support?

I run it ,and got
error type:
Microsoft JET Database Engine (0x80040E14)
wwf_user_import.asp ,line 79

Back to Top
SilverDragon View Drop Down
Newbie
Newbie
Avatar

Joined: 31 May 2003
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote SilverDragon Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2003 at 5:01pm

Common reasons for that error are:

Make sure that you have specified the import database path in the variable impDBPath.

Make sure that you have atleast READ permissions to the import database file and READ/WRITE permission on the directory where the file sits.

Make sure that your database table fields are not using any reserved words.
Back to Top
acerbbs View Drop Down
Newbie
Newbie
Avatar

Joined: 05 June 2003
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote acerbbs Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2003 at 7:08pm

Thank you SilverDragon,
I try this in the localhost mode, the import database path is right and I change the variable impDBPath, I set READ/WRITE permission to the directory of these files and no reserved words in database table fields.
I'll try it on my WEB sever later.

Back to Top
acerbbs View Drop Down
Newbie
Newbie
Avatar

Joined: 05 June 2003
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote acerbbs Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2003 at 4:53am

SilverDragon,
I run it at my websever, and get one more line info as:

error type:
Microsoft JET Database Engine (0x80040E14)

Clause "From" syntax error

wwf_user_import.asp ,line 79

Back to Top
SilverDragon View Drop Down
Newbie
Newbie
Avatar

Joined: 31 May 2003
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote SilverDragon Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2003 at 6:44am

The following is information I have found for that error:
http://www.adopenstatic.com/faq/80040e14.asp#scenario1

PLEASE EDIT THESE FIELDS TO MATCH YOUR IMPORT DATABASE

' import Database Path
impDBPath = "mydirectory/importdatabase.mdb"
' import Database Table Name
impDBTable = "user"  <-- THE NAME OF YOUR TABLE
' import Database Username Field
impDBUNField = "userid"  <--- YOUR USERNAME FIELD
' import Database Password Field
impDBPWField = "password"  <---- YOUR PASSWORD FIELD

Hope this helps...

Back to Top
 Post Reply Post Reply Page  <123>

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.