Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid Signon ?

Status
Not open for further replies.

kIreland

Programmer
Apr 2, 2003
12
0
0
US
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.
 
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
 
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)


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top