Logging Error / Help

hiikaru

Member
Hi all, i am facing a problem with the logging into JDE using com.It keeps prompting me "Exception error" when i try to login and where should i start to solve this??

Code goes like this:

Dim OW as JDECOMCONNECTOR2Lib.OneWorldInterface
Dim conn as JDECOMCONNECTOR2Lib.Connector
Dim connRole as JDECOMCONNECTOR2Lib.IConnector2
Dim Login as Long

try
Login = connRole.Login("Userid","PW","Environment","Role")
catch ex As Exception
msgbox(ex.message)
end try

That simple and i face a "Exception error when i step into the Login = connRole.Login("Userid","PW","Environment","Role") step.

Please help help! Thanks !!

Using VB.net2003 to interface with JDE.
 
Back
Top