×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Invalid Signon ?

Invalid Signon ?

Invalid Signon ?

(OP)
Below is my vbScript code in an asp page.

 Dim sUser
 Dim sPassword
 Dim sDBID
 Dim dDate
 sUser = "ADMIN"
 sPassword  = ""
 sDBID = "accpacdemo"
 dDate = Date
 Dim OBJ
 Set OBJ = Server.CreateObject("Accpac.Session")
 OBJ.Init "", "ZZ", "ZZ0000", "50A"
ERROR LINE:  OBJ.Open sUser, sPassword, sDBID, dDate, 0, ""
_______________________________________________
The error I am getting is below:
Error Type:
ACCPAC.Server.1 (0x80004005)
Invalid Signon Information. Make sure you supply the correct User ID and Password.
/test/index_2.asp, line 15
______________________________________________

No matter what combination of username and password I use - none will work..
 Can anyone help me?

thank you.

RE: Invalid Signon ?

(OP)
IGNORE my post - I figuredit out...

RE: Invalid Signon ?

Glad, you figured it out. But why not post the solution. Someone else may have the same problem in the future and would benefit from your solution and it increases the amount of knowledge in the forum. That's better for everyone.

Thanks and Good Luck!

zemp

RE: Invalid Signon ?

(OP)
zemp,
 You are totally correct...
 Even tho my solution is due to nearsightedness..

 I solved this by entering the CORRECT sDBID.
 Which I found by going into the
 Common Services/Company Profile

I mistakenly was entering the Databse name... When it should've been the DatabaseID.

Thanks for the help...
(I am sure I will be back)


 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close