Hi Wojzeh, with one business connector dll, running in an wcf service, it's apparently impossible to control multiple AOS succession. For example to control the logged in user sessions and lead blocks. Can you confirm this? Do you know if there are workarounds. Best Regards, Frank
Frankly speaking, I have never worked with a few AOS instances. What do you mean 'to control multiple AOS'? I believe that all information, say user sessions, is available in tables.
... --------------------- First time (first connect to an aos) all works. Second time with a logon to another aos, the wcf service throw an error. At my local machine, I cannot reproduce this error, because there is running only one aos. But if you like to get more informations, i will try to find out more informations from our customer.
Here are the promised links: https://community.dynamics.com/product/ax/f/33/p/47750/86045.aspx http://msdn.microsoft.com/en-us/library/microsoft.dynamics.businessconnectornet.logonsystemchangedexception.aspx
6 comments:
Nice graph!
Hi Wojzeh,
with one business connector dll, running in an wcf service, it's apparently impossible to control multiple AOS succession. For example to control the logged in user sessions and lead blocks. Can you confirm this? Do you know if there are workarounds.
Best Regards,
Frank
Hi Curry!
Frankly speaking, I have never worked with a few AOS instances. What do you mean 'to control multiple AOS'? I believe that all information, say user sessions, is available in tables.
Hi Wojzeh,
if I try this:
-------------------
objectServer = _blocker.dbname + "@" + _blocker.hostname.Trim() + Configuration.port;
try
{
ax.Refresh();
System.Net.NetworkCredential creds = new System.Net.NetworkCredential(Configuration.username, Configuration.pwd, Configuration.host);
ax.LogonAs(Configuration.username, Configuration.host, creds, Configuration.company, Configuration.language, objectServer, "");
...
---------------------
First time (first connect to an aos) all works. Second time with a logon to another aos, the wcf service throw an error. At my local machine, I cannot reproduce this error, because there is running only one aos. But if you like to get more informations, i will try to find out more informations from our customer.
Here are the promised links:
https://community.dynamics.com/product/ax/f/33/p/47750/86045.aspx
http://msdn.microsoft.com/en-us/library/microsoft.dynamics.businessconnectornet.logonsystemchangedexception.aspx
Hi Curry!
Thank you for the issue and the link! However, now I am dealing with different things (BI), therefore, I doubt that I could help you with that.
Post a Comment