**
 
According to the C-API-Ref-700.pdf, page 452 and C-APIGuide-630.pdf, page  440, the  the 'query on group.zip' sample application located here  ftp://ftp.remedy.com/pub/ole/ should work.  I wonder if this might not work with Windows XP Pro SP2.
 
When I attempt to login using the sample app I receive the following error.
 
Run-time error '-2147467259 (800004005)':
 
You could not be logged in.
 
 
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Heider, Stephen
Sent: Tuesday, September 05, 2006 12:07 PM
To: [email protected]
Subject: Re: FW: Login to UserTool with COM, .Net

**
 
Is there some utility that allows you to see what data is being passed back/forth to AR User as the COM object is attempting to login to AR User?
 
Dim ARSApp As New ARUSER.COMAppObj
 
ARSApp.Login("Demo", "secret", 1)    ' What happens behind the scene when this line of code runs?
 
 
Stephen
 


From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Frank Caruso
Sent: Tuesday, September 05, 2006 10:59 AM
To: [email protected]
Subject: Re: FW: Login to UserTool with COM, .Net

** Do not have .NET to test with but can confirm the error message shows up in VB6 if the login in is not successful. If I enter a bad password for example I get the same error message.
I also read thru the C API 6. doc from Remedy which talks about automation using the TLB file and it doesn't mention using .NET.

Maybe it is not supported?

Not sure if that helps.


On 9/5/06, Heider, Stephen <[EMAIL PROTECTED] > wrote:
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



--
Frank Caruso
Specific Integration, Inc.
Senior Remedy Engineer
www.specificintegration.com
703-376-1249 __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___

Reply via email to