web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Ax and Run As

(0) ShareShare
ReportReport
Posted on by 55

Hi there,

just some history:

in the company here we use Ax 4.0.

there is a DB server and a AOS server

with my laptop with XP SP3 there was no problem to run ax as a different user, just right click on the icon and select run as and just fill in the right credentials.

present:

my laptop with XP SP3 crashed (screen was down) ==> we bought a new laptop with Vista Business 32 bit. installed completely so also Ax 4.0.

i make shortcuts on my desktop to launch Ax (copiëd from the AOS server)

in vista i couldn't run ax as a different user. until i found the "ShellRunas v1.01" program. With this program i can start programs with different user credentials.

the only problem is that if i try to do this with the Ax links, i end up in a wrong enviroment with the wrong licences.

for example: if i start de PROD enviroment (production, live) on my laptop ==> nice and clean start (off course, it's done with my credentials)

now i right click on the PROD enviroment to select the "run as" on my laptop to start Ax with different user credentials, I end up in the wrong enviroment. I'm logged in with the correct user but wrong DB selection. mostely it says: DYNAX40_dev@bedb original (installed configuration)

annyone who has a tought how to solve this ?

*This post is locked for comments

I have the same question (0)
  • GeorgeC Profile Picture
    1,865 on at

    Hello Woozie,

    I played with ShellRunas today and I got it to work within the same domain - when original Windows user and the "Run-as-user" belong to the same domain.

    In the original shortcut I had this value in the target field (right-click on icon, select Properties, Shortcut tab):

    "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Ax32.exe" -AOS2=NameOfServer:2713

    I modified it to:

    C:\Program Files\ShellRunas.exe "C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Ax32.exe" "-AOS2=NameOfServer:2713"

    where C:\Program Files\ShellRunas.exe  is the path to the ShellRunas executable.

    So now I have a shortcut to ShellRunas and I call it with parameters to call the DAX client with the required AOS and port.

    But it doesn't work if I am logged in as a user from Domain A and I try to specify a user from domain B in the ShellRunas dialog. I tried the /netonly switch for ShellRunas, it seems to point the DAX client to the correct AOS but then a get the message "Unable log on to Microsoft Dynamics AX" - I guess there's a problem with the user credentials.

    Perhaps someone else can figure out the solution?

    George

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans