Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-24 Thread Sweety
Jean,

I am asking this for all users. I got the clarification from Misi on my query.

Thanks,

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-23 Thread Jean-Louis Halleux
Hello,

If you grant Administrator permissions to the user, this error message does not 
come up.

Best regards,
Jean-Louis Halleux
supp...@arsmarts.com



On 30 Nov 2013, at 20:25, Sweety sweetykhann...@gmail.com wrote:

 Hi Experts,
 
 I am frequently getting the error ARERR [9084] User is currently connected 
 from another machine for some users who are already connected from another 
 machine.
 
 I tried below settings in my API code to override this but it is not working
 
 server.Login(servername, UName, Passwd)
 server.SetSessionConfiguration(Constants.AR_SESS_OVERRIDE_PREV_IP, 1)
 
 Please help me to fix this problem.
 
 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-21 Thread Jason Miller
Sweety stated in a different thread this requires modify access.  I think
at this point we could use an explanation of the larger picture.  By the
sound of it Sweety is creating a completely new UI (mobile perhaps?).

Jason


On Sun, Dec 15, 2013 at 3:20 PM, Lucero, Michelle 
michelle.luc...@bankofamerica.com wrote:

 **

 Hi, Sweety:



 I didn’t follow the entire thread, but if the user account you’re
 attempting to use doesn’t require the ability to “update”, Remedy AR still
 offers one more license type.  An account with a “*Restricted Read*”
 license can be used from multiple IPs, simultaneously.  Again, it is only
 used for SUBMISSION and not UPDATE.



 You can read more about it in the documentation.

 It is still available in 8.1.



 Typical use may be for “anonymous” surveys, etc.



 Michelle



 *From:* Action Request System discussion list(ARSList) [mailto:
 arslist@ARSLIST.ORG] *On Behalf Of *Susan Palmer
 *Sent:* Sunday, December 15, 2013 3:31 PM
 *To:* arslist@ARSLIST.ORG
 *Subject:* Re: API : Override ARERR [9084] User is currently connected
 from another machine



 **

 It is against license rules to try and evade letting a user (a
 fixed/floating license) from connecting from another PC at the same time
 they are connected on another PC.

 A solution to prevent this would be against BMC licensing rules.  Please
 stop asking for people on the list to supply this information.

 If you don't 'get it', it's to prevent a company from buying 1 license and
 letting 10 people use it.

 Susan



 On Sat, Dec 14, 2013 at 7:02 AM, Karthik karthik...@gmail.com wrote:

 **

 I meant users with fixed license

 On Dec 14, 2013 6:32 PM, Karthik karthik...@gmail.com wrote:

 Does this happen for even users with license? I was assuming it would not.

 - Karthik

 On Dec 14, 2013 4:47 AM, LJ LongWing lj.longw...@gmail.com wrote:

 **

 As I said before, it is none of that.  BMC updated the system to not allow
 the user to connect from more than one system at a time.  This is designed
 by Remedy to stop people from bypassing their license rules, there is no
 bypass, and attempts to bypass it are attempts to bypass limitations, which
 isn't a good idea.

 On Dec 13, 2013 4:03 PM, Sweety sweetykhann...@gmail.com wrote:

 Hi Misi/Carl/LJ/Experts,

 Do we have any solution for this from API or is it considered to be a bug
 or drawback from API ?

 Can't I override the user access ?

 Please assist.


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years

 _ARSlist: Where the Answers Are and have been for 20 years_

 _ARSlist: Where the Answers Are and have been for 20 years_



 _ARSlist: Where the Answers Are and have been for 20 years_
  --
 This message, and any attachments, is for the intended recipient(s) only,
 may contain information that is privileged, confidential and/or proprietary
 and subject to important terms and conditions available at
 http://www.bankofamerica.com/emaildisclaimer. If you are not the intended
 recipient, please delete this message.
  _ARSlist: Where the Answers Are and have been for 20 years_


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-21 Thread Sweety
You are right, I am creating a new UI

I am getting this error even after using a single module across all the forms 
and classes. I am doing how Misi suggested me but not sure why it is not 
working.

Trying to find out a workaround for this.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-21 Thread Sweety
My idea is if user is connected from another machine then my program should 
display him/her a message asking to confirm if user wants to override the 
access ?

Is it achievable ?

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-21 Thread LJ LongWing
Yes, but you can only override the connection a few times before being
blocked by the server.
On Dec 21, 2013 7:07 AM, Sweety sweetykhann...@gmail.com wrote:

 My idea is if user is connected from another machine then my program
 should display him/her a message asking to confirm if user wants to
 override the access ?

 Is it achievable ?


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-21 Thread Sweety
If yes then below are my questions;

1) How can I check if a user is already connected from another machine
2) After that how can I override the user - I think, I got the answer for this 
from Misi

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-21 Thread LJ LongWing
I'm not sure, but you may find that you need to burn two licenses, one for
their desktop and one for their mobile.
On Dec 21, 2013 8:09 AM, Sweety sweetykhann...@gmail.com wrote:

 If yes then below are my questions;

 1) How can I check if a user is already connected from another machine
 2) After that how can I override the user - I think, I got the answer for
 this from Misi


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-21 Thread Brent Goodman
To check if a user is already connected, you just need to pole the user list if 
connected sessions. The server maintains this in memory and you can use an API 
call to retrieve the list and compare.

From all the questions an answers, were still only getting part of the picture, 
but I think your trying to get away with multiple users using a limited number 
of accounts, hence the need for override.

I have a number of .net apps that are used by multiple of people and have never 
needed to worry about collisions from another computer. 

Some of my apps have built in times that will actually log themselves out when 
not used after a period of time.

If your an admin, one could also have a control table in remedy so when your 
app logs in, it records itself and the user.

This way you can always know who's logged in and which app version and name it 
is. In my table I have set it up so I can block certain versions from logging 
in.


Sent from my iPhone

 On Dec 21, 2013, at 7:12 AM, LJ LongWing lj.longw...@gmail.com wrote:
 
 **
 I'm not sure, but you may find that you need to burn two licenses, one for 
 their desktop and one for their mobile.
 
 On Dec 21, 2013 8:09 AM, Sweety sweetykhann...@gmail.com wrote:
 If yes then below are my questions;
 
 1) How can I check if a user is already connected from another machine
 2) After that how can I override the user - I think, I got the answer for 
 this from Misi
 
 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years
 _ARSlist: Where the Answers Are and have been for 20 years_

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-21 Thread LJ LongWing
Yes, you can certainly do that, but it would require logging on with a
different user to perform the check, then log on as the actual user of
available, and this user would likely need to be an admin to avoid the
problem being faced
On Dec 21, 2013 10:48 AM, Brent Goodman rem...@rowshay.com wrote:

 **
 To check if a user is already connected, you just need to pole the user
 list if connected sessions. The server maintains this in memory and you can
 use an API call to retrieve the list and compare.

 From all the questions an answers, were still only getting part of the
 picture, but I think your trying to get away with multiple users using a
 limited number of accounts, hence the need for override.

 I have a number of .net apps that are used by multiple of people and have
 never needed to worry about collisions from another computer.

 Some of my apps have built in times that will actually log themselves out
 when not used after a period of time.

 If your an admin, one could also have a control table in remedy so when
 your app logs in, it records itself and the user.

 This way you can always know who's logged in and which app version and
 name it is. In my table I have set it up so I can block certain versions
 from logging in.


 Sent from my iPhone

 On Dec 21, 2013, at 7:12 AM, LJ LongWing lj.longw...@gmail.com wrote:

 **

 I'm not sure, but you may find that you need to burn two licenses, one for
 their desktop and one for their mobile.
 On Dec 21, 2013 8:09 AM, Sweety sweetykhann...@gmail.com wrote:

 If yes then below are my questions;

 1) How can I check if a user is already connected from another machine
 2) After that how can I override the user - I think, I got the answer for
 this from Misi


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years

 _ARSlist: Where the Answers Are and have been for 20 years_

 _ARSlist: Where the Answers Are and have been for 20 years_

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-21 Thread Jason Miller
Or if the app is going to keep its own connection table as mentioned it
doesn't need to be in Remedy.  The app does a direct db query instead of
going though the the AR api to maintain it's connection info.  It might be
better for the custom app to not completely depend on Remedy so some
functionality can be provided if Remedy is down; even if it is to just log
the failed attempts while Remedy is down.

There is still the issue of possibly needing an admin account to use the
api to read truly active sessions system-wide and check if the person is
already logged in.  That could be done server-side with an admin account
also maintaining records in the custom app's session table.  Probably have
some flag if the session is direct AR or via custom app and then logic to
do the appropriate thing.  Of course using this to allow multiple users to
use a single account is a violation of the license agreement but if it is
truly to allow the same person to use their own account it *might* be ok
(check with the proper legal/BMC representatives to verify).

Jason
On Dec 21, 2013 9:52 AM, LJ LongWing lj.longw...@gmail.com wrote:

 **

 Yes, you can certainly do that, but it would require logging on with a
 different user to perform the check, then log on as the actual user of
 available, and this user would likely need to be an admin to avoid the
 problem being faced
 On Dec 21, 2013 10:48 AM, Brent Goodman rem...@rowshay.com wrote:

 **
 To check if a user is already connected, you just need to pole the user
 list if connected sessions. The server maintains this in memory and you can
 use an API call to retrieve the list and compare.

 From all the questions an answers, were still only getting part of the
 picture, but I think your trying to get away with multiple users using a
 limited number of accounts, hence the need for override.

 I have a number of .net apps that are used by multiple of people and have
 never needed to worry about collisions from another computer.

 Some of my apps have built in times that will actually log themselves out
 when not used after a period of time.

 If your an admin, one could also have a control table in remedy so when
 your app logs in, it records itself and the user.

 This way you can always know who's logged in and which app version and
 name it is. In my table I have set it up so I can block certain versions
 from logging in.


 Sent from my iPhone

 On Dec 21, 2013, at 7:12 AM, LJ LongWing lj.longw...@gmail.com wrote:

 **

 I'm not sure, but you may find that you need to burn two licenses, one
 for their desktop and one for their mobile.
 On Dec 21, 2013 8:09 AM, Sweety sweetykhann...@gmail.com wrote:

 If yes then below are my questions;

 1) How can I check if a user is already connected from another machine
 2) After that how can I override the user - I think, I got the answer
 for this from Misi


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years

 _ARSlist: Where the Answers Are and have been for 20 years_

 _ARSlist: Where the Answers Are and have been for 20 years_

 _ARSlist: Where the Answers Are and have been for 20 years_

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-16 Thread Misi Mladoniczky
Hi,

If a user forgot to logout from one place, he can override the session on the
next machine he sits down in front of. That is allowed, and should work the
same way of the BMC-built clients a home grown API.

There is a technical limitation in place that will prevent doing this multiple
times.

I am still not sure why you did not succeed, as the settings you supplied us
from start seems to be the correct ones. Unless BMC has prevented the override
occuring from home grown API-programs...

Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

 It is against license rules to try and evade letting a user (a
 fixed/floating license) from connecting from another PC at the same time
 they are connected on another PC.

 A solution to prevent this would be against BMC licensing rules.  Please
 stop asking for people on the list to supply this information.

 If you don't 'get it', it's to prevent a company from buying 1 license and
 letting 10 people use it.

 Susan


 On Sat, Dec 14, 2013 at 7:02 AM, Karthik karthik...@gmail.com wrote:

 **

 I meant users with fixed license
 On Dec 14, 2013 6:32 PM, Karthik karthik...@gmail.com wrote:

 Does this happen for even users with license? I was assuming it would not.

 - Karthik
 On Dec 14, 2013 4:47 AM, LJ LongWing lj.longw...@gmail.com wrote:

 **

 As I said before, it is none of that.  BMC updated the system to not
 allow the user to connect from more than one system at a time.  This is
 designed by Remedy to stop people from bypassing their license rules,
 there
 is no bypass, and attempts to bypass it are attempts to bypass
 limitations,
 which isn't a good idea.
 On Dec 13, 2013 4:03 PM, Sweety sweetykhann...@gmail.com wrote:

 Hi Misi/Carl/LJ/Experts,

 Do we have any solution for this from API or is it considered to be a
 bug or drawback from API ?

 Can't I override the user access ?

 Please assist.


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years

 _ARSlist: Where the Answers Are and have been for 20 years_

  _ARSlist: Where the Answers Are and have been for 20 years_


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-15 Thread Susan Palmer
It is against license rules to try and evade letting a user (a
fixed/floating license) from connecting from another PC at the same time
they are connected on another PC.

A solution to prevent this would be against BMC licensing rules.  Please
stop asking for people on the list to supply this information.

If you don't 'get it', it's to prevent a company from buying 1 license and
letting 10 people use it.

Susan


On Sat, Dec 14, 2013 at 7:02 AM, Karthik karthik...@gmail.com wrote:

 **

 I meant users with fixed license
 On Dec 14, 2013 6:32 PM, Karthik karthik...@gmail.com wrote:

 Does this happen for even users with license? I was assuming it would not.

 - Karthik
 On Dec 14, 2013 4:47 AM, LJ LongWing lj.longw...@gmail.com wrote:

 **

 As I said before, it is none of that.  BMC updated the system to not
 allow the user to connect from more than one system at a time.  This is
 designed by Remedy to stop people from bypassing their license rules, there
 is no bypass, and attempts to bypass it are attempts to bypass limitations,
 which isn't a good idea.
 On Dec 13, 2013 4:03 PM, Sweety sweetykhann...@gmail.com wrote:

 Hi Misi/Carl/LJ/Experts,

 Do we have any solution for this from API or is it considered to be a
 bug or drawback from API ?

 Can't I override the user access ?

 Please assist.


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years

 _ARSlist: Where the Answers Are and have been for 20 years_

  _ARSlist: Where the Answers Are and have been for 20 years_


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-15 Thread Lucero, Michelle
Hi, Sweety:

I didn't follow the entire thread, but if the user account you're attempting to 
use doesn't require the ability to update, Remedy AR still offers one more 
license type.  An account with a Restricted Read license can be used from 
multiple IPs, simultaneously.  Again, it is only used for SUBMISSION and not 
UPDATE.

You can read more about it in the documentation.
It is still available in 8.1.

Typical use may be for anonymous surveys, etc.

Michelle

From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Susan Palmer
Sent: Sunday, December 15, 2013 3:31 PM
To: arslist@ARSLIST.ORG
Subject: Re: API : Override ARERR [9084] User is currently connected from 
another machine

**
It is against license rules to try and evade letting a user (a fixed/floating 
license) from connecting from another PC at the same time they are connected on 
another PC.
A solution to prevent this would be against BMC licensing rules.  Please stop 
asking for people on the list to supply this information.
If you don't 'get it', it's to prevent a company from buying 1 license and 
letting 10 people use it.
Susan

On Sat, Dec 14, 2013 at 7:02 AM, Karthik 
karthik...@gmail.commailto:karthik...@gmail.com wrote:
**

I meant users with fixed license
On Dec 14, 2013 6:32 PM, Karthik 
karthik...@gmail.commailto:karthik...@gmail.com wrote:

Does this happen for even users with license? I was assuming it would not.

- Karthik
On Dec 14, 2013 4:47 AM, LJ LongWing 
lj.longw...@gmail.commailto:lj.longw...@gmail.com wrote:
**

As I said before, it is none of that.  BMC updated the system to not allow the 
user to connect from more than one system at a time.  This is designed by 
Remedy to stop people from bypassing their license rules, there is no bypass, 
and attempts to bypass it are attempts to bypass limitations, which isn't a 
good idea.
On Dec 13, 2013 4:03 PM, Sweety 
sweetykhann...@gmail.commailto:sweetykhann...@gmail.com wrote:
Hi Misi/Carl/LJ/Experts,

Do we have any solution for this from API or is it considered to be a bug or 
drawback from API ?

Can't I override the user access ?

Please assist.

___
UNSUBSCRIBE or access ARSlist Archives at 
www.arslist.orghttp://www.arslist.org
Where the Answers Are, and have been for 20 years
_ARSlist: Where the Answers Are and have been for 20 years_
_ARSlist: Where the Answers Are and have been for 20 years_

_ARSlist: Where the Answers Are and have been for 20 years_

--
This message, and any attachments, is for the intended recipient(s) only, may 
contain information that is privileged, confidential and/or proprietary and 
subject to important terms and conditions available at 
http://www.bankofamerica.com/emaildisclaimer.   If you are not the intended 
recipient, please delete this message.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-14 Thread Karthik
Does this happen for even users with license? I was assuming it would not.

- Karthik
On Dec 14, 2013 4:47 AM, LJ LongWing lj.longw...@gmail.com wrote:

 **

 As I said before, it is none of that.  BMC updated the system to not allow
 the user to connect from more than one system at a time.  This is designed
 by Remedy to stop people from bypassing their license rules, there is no
 bypass, and attempts to bypass it are attempts to bypass limitations, which
 isn't a good idea.
 On Dec 13, 2013 4:03 PM, Sweety sweetykhann...@gmail.com wrote:

 Hi Misi/Carl/LJ/Experts,

 Do we have any solution for this from API or is it considered to be a bug
 or drawback from API ?

 Can't I override the user access ?

 Please assist.


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years

 _ARSlist: Where the Answers Are and have been for 20 years_

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-14 Thread Karthik
I meant users with fixed license
On Dec 14, 2013 6:32 PM, Karthik karthik...@gmail.com wrote:

 Does this happen for even users with license? I was assuming it would not.

 - Karthik
 On Dec 14, 2013 4:47 AM, LJ LongWing lj.longw...@gmail.com wrote:

 **

 As I said before, it is none of that.  BMC updated the system to not
 allow the user to connect from more than one system at a time.  This is
 designed by Remedy to stop people from bypassing their license rules, there
 is no bypass, and attempts to bypass it are attempts to bypass limitations,
 which isn't a good idea.
 On Dec 13, 2013 4:03 PM, Sweety sweetykhann...@gmail.com wrote:

 Hi Misi/Carl/LJ/Experts,

 Do we have any solution for this from API or is it considered to be a
 bug or drawback from API ?

 Can't I override the user access ?

 Please assist.


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years

 _ARSlist: Where the Answers Are and have been for 20 years_



___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-13 Thread Sweety
Hi Misi/Carl/LJ/Experts,

Do we have any solution for this from API or is it considered to be a bug or 
drawback from API ?

Can't I override the user access ?

Please assist.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-13 Thread LJ LongWing
As I said before, it is none of that.  BMC updated the system to not allow
the user to connect from more than one system at a time.  This is designed
by Remedy to stop people from bypassing their license rules, there is no
bypass, and attempts to bypass it are attempts to bypass limitations, which
isn't a good idea.
On Dec 13, 2013 4:03 PM, Sweety sweetykhann...@gmail.com wrote:

 Hi Misi/Carl/LJ/Experts,

 Do we have any solution for this from API or is it considered to be a bug
 or drawback from API ?

 Can't I override the user access ?

 Please assist.


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-06 Thread SUBSCRIBE arslist Sweety
I am using a public routine only for authenticating a user and I am 
authenticating user only once in entire application

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-02 Thread Misi Mladoniczky
Hi,

I think you are on the right track with the AR_SESS_OVERRIDE_PREV_IP, but I do
not know why it does not work.

Do you get the same error message number after setting the session parameter?

During which API-call do you get the error?

Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

 Hi Experts,

 I am frequently getting the error ARERR [9084] User is currently connected
 from another machine for some users who are already connected from another
 machine.

 I tried below settings in my API code to override this but it is not working

 server.Login(servername, UName, Passwd)
 server.SetSessionConfiguration(Constants.AR_SESS_OVERRIDE_PREV_IP, 1)

 Please help me to fix this problem.

 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-02 Thread Sweety
Hey Misi, I was waiting for your reply.

I have added this statement just below the login method

server.Login(servername,username, password)
server.SetSessionConfiguration(Constants.AR_SESS_OVERRIDE_PREV_IP, 1)

but its not overriding the user instead giving me the error ARERR [9084] User 
is currently connected from another machine

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-02 Thread Misi Mladoniczky
Hi,

Okey, but my real question was in which call you get the error. Is it during
the Login, or at a later time?

Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

 Hey Misi, I was waiting for your reply.

 I have added this statement just below the login method

 server.Login(servername,username, password)
 server.SetSessionConfiguration(Constants.AR_SESS_OVERRIDE_PREV_IP, 1)

 but its not overriding the user instead giving me the error ARERR [9084] User
 is currently connected from another machine

 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-02 Thread Sweety
At login time only I am getting the error

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-02 Thread Misi Mladoniczky
Hi,

This means that it is meaningless to set the session parameter after the Login.

Try doing it before the login.

In the C-API you do not actually do any login, you just initialize the API. It
does not connect to the server when you do an ARInitialization.

The second step in the C-API would be to optionally call the ARSetServerPort
parameter.

I know that the Java API has kind of combined the above steps.

Why the Login-call should contact the server, and give you the error, I do not
know.

The best way might be to turn on API-logging and see which calls are sent by
your program.

Best Regards - Misi, RRR AB, http://rrr.se

 At login time only I am getting the error

 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-02 Thread Sweety
Tried placing it before the login method but it is not working. Program is 
generating exception but no message is displayed in that exception.

I am getting this error while fetching the records from GetListEntryWithFields

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-12-02 Thread Carl Wilson
Hi,
Your issue is not with the call but as to why the override is being triggered 
so many times by your API program.
As per the examples that have been previously supplied and are available on BMC 
Communities, your API program should have a central Function/routine for 
login/logout.  
This function should be available throughout all the modules in your program 
and called only once to initiate the connection.  The user should be cleanly 
logged out before exiting your program.

If you are receiving frequent overrides then you need to re-evalute your 
program structure to correct the behaivour.

Misi is correct in where you place this statement:

https://communities.bmc.com/message/12336#12336

More on session control:

https://communities.bmc.com/message/15813#15813
 
Kind Regards,
 
Carl Wilson
 
http://www.missingpiecessoftware.com/

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Sweety
Sent: 02 December 2013 23:18
To: arslist@ARSLIST.ORG
Subject: Re: API : Override ARERR [9084] User is currently connected from 
another machine

Tried placing it before the login method but it is not working. Program is 
generating exception but no message is displayed in that exception.

I am getting this error while fetching the records from GetListEntryWithFields

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Where the Answers 
Are, and have been for 20 years

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


API : Override ARERR [9084] User is currently connected from another machine

2013-11-30 Thread Sweety
Hi Experts,

I am frequently getting the error ARERR [9084] User is currently connected 
from another machine for some users who are already connected from another 
machine.

I tried below settings in my API code to override this but it is not working

server.Login(servername, UName, Passwd)
server.SetSessionConfiguration(Constants.AR_SESS_OVERRIDE_PREV_IP, 1)

Please help me to fix this problem.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-11-30 Thread LJ LongWing
Sweety,
The override seeing just says yes to the prompt, but you can only do that a
time or two before the server prevents it, the solution is to not do it,
because it isn't allowed by the eula
On Nov 30, 2013 12:25 PM, Sweety sweetykhann...@gmail.com wrote:

 Hi Experts,

 I am frequently getting the error ARERR [9084] User is currently
 connected from another machine for some users who are already connected
 from another machine.

 I tried below settings in my API code to override this but it is not
 working

 server.Login(servername, UName, Passwd)
 server.SetSessionConfiguration(Constants.AR_SESS_OVERRIDE_PREV_IP, 1)

 Please help me to fix this problem.


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-11-30 Thread Sweety
Thanks LJ. But what if the user logs into remedy from home and forgot to logoff 
and comes to office to work and get this error ?

There must be a solution for this ?, even I have seen a message box in user 
tool/ midtier saying do you want to override ? And when we click yes, user gets 
logged into the server and access the applications.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-11-30 Thread Jason Miller
If you are only reading/submitting you can give the API user Restricted
Read license to over come the connection limit.

https://docs.bmc.com/docs/display/glossary/restricted+read+license

Jason
**

Sweety,
The override seeing just says yes to the prompt, but you can only do that a
time or two before the server prevents it, the solution is to not do it,
because it isn't allowed by the eula
On Nov 30, 2013 12:25 PM, Sweety sweetykhann...@gmail.com wrote:

 Hi Experts,

 I am frequently getting the error ARERR [9084] User is currently
 connected from another machine for some users who are already connected
 from another machine.

 I tried below settings in my API code to override this but it is not
 working

 server.Login(servername, UName, Passwd)
 server.SetSessionConfiguration(Constants.AR_SESS_OVERRIDE_PREV_IP, 1)

 Please help me to fix this problem.


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years

_ARSlist: Where the Answers Are and have been for 20 years_

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-11-30 Thread Sweety
User has access to consoles and should be able to update records. Restricted 
Read will not work here

What is the limit to overcome this error ? How many times in a day a user can 
override login attempts ? Does it require any time gap between login attempts 
between different systems ?

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years


Re: API : Override ARERR [9084] User is currently connected from another machine

2013-11-30 Thread LJ LongWing
Sweety, they shouldn't get this after their session expires, and as long as
you aren't doing any keep alive functions like auto refresh and stuff, you
shouldn't have this problem, besides, that stuff is bad for license usage
anyway
On Nov 30, 2013 12:53 PM, Sweety sweetykhann...@gmail.com wrote:

 Thanks LJ. But what if the user logs into remedy from home and forgot to
 logoff and comes to office to work and get this error ?

 There must be a solution for this ?, even I have seen a message box in
 user tool/ midtier saying do you want to override ? And when we click yes,
 user gets logged into the server and access the applications.


 ___
 UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
 Where the Answers Are, and have been for 20 years


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years