I usually do not re-post but I know that many were at BUG last week...  

I have an idea for an application and if I can get the login to work in
.Net I think I will be able to create it.

Thanks in advance.

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Heider, Stephen
Sent: Thursday, August 31, 2006 9:12 AM
To: [email protected]
Subject: Login to UserTool with COM, .Net

Remedy User Tool 6.3, 7.0.

I am trying to login to the Remedy User Tool via .Net.  I created a new
VB.Net console app.  Both code snippets below result in the same error:
"You could not be logged in.", with error number -2147467259.

Option 1:
Dim ARSApp As Object = CreateObject("Remedy.User") 
ARSApp.Login("Demo", "secret", 1) 


Option 2:
' Add a reference to aruser.tlb (tried 6.3 and 7.0) 
Dim ARSApp As New ARUSER.COMAppObj ARSApp.Login("Demo", "secret", 1)


I also tried setting the 3rd parameter to 0, false and true - same
result.  I have tried different logins and also the Login3 method that
accepts the authentication parameter.  It doesn't seem to matter what
values I use for username and password (even if they are not actual
users).

I have searched the List, Matt Reinfeldt's site, Google, ARS .Net API
Help, Community Downloads, and Community Message Board.  The Community
Message Board had a similar posting from Nov 2005 entitled "AR User
Automation API Login Failure".  Appajee posted a response that
Preference Servers were not supported.  Does anyone know if this is true
for the new User Tool 7.0?  

We user preference servers here, yet I can still login manually to the
User Tool without entering a preference server - shouldn't the
Remedy.User object also work?

Thanks. 

 
Stephen

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to