
Thanks in Advance.
I have reviewed everything that I can get my hands on, but I need someone’s help solving this problem. We need to setup multiple environments of AX 2012 that will have similar configurations but separate purposes. They are:
1. Training
2. Development
3. Testing
4. Staging
5. Production
We want to be able to use Terminal Server RemoteApp on a Windows Server 2008 R2 to allow users to go to an internal web site and select any of the above environments from a separate, labeled icon (see image below).
I was able to get it to work for myself as a proof of concept by creating separate configuration files (using axclicfg.exe) and having each RemoteApp call ax32.exe using –regconfig=Staging (or whatever environment is being targeted).
The terminal server hosted the web access on the same server.
When another user attempted to log on, they received the error message The configuration xxx could not be found. Use the Client Configuration Utility V6.0 to verify the configuration (see image below).
I believed at first this was a privilege issue, so I attempted the following things to slam privileges just to make the error go away (all failed):
1. Provide user max file privileges to folder and .axc file.
2. Changed to registry method of storing configuration file and gave max privileges to user in registry (reaching, I know).
3. Made user a member of local administrator group on terminal server.
4. Another user who was a member of Domain Admins attempted to use RemoteApp with the same result.
5. Attempted to change file privileges on system file at C:\Windows\Web\TS but system stopped me. Did not want to break anything by changing ownership, etc.
In a somewhat deeper dive from the client using the web access with Wireshark I saw a NTLMSSP Challenge packet in response to a NTLMSSP Negotiate packet with the line HTTP Error 401. The requested resource requires user authentication. I cannot be sure, however, if this is referring to anything stopping us from using the switch -regconfig in RemoteApp.
I could get the RemoteApp to work if I logged on as that user on the terminal server and set up the configuration file, but this is not a scalable method. I acknowledge that I could simply be doing something wrong with the configuration file setup, but I have tried every combination that I could think of with no success.
Our requirement for multiple environments and desire to use TS 2008 R2 RemoteApps via web access should not be unique, so we are hoping someone out there solved this one. Our desired end state is that the -regconfig=ENVIRONMENT switch will allow us to avoid the user going to the desktop and manipulating axclicfg.exe every time to switch environments.
I have seen one blog with a pre-R2 approach to creating separate RDP files, placing them in folder with appropriate permissions, and writing a script to manage them. This seems unnecessarily cumbersome and I am not certain that would solve our problem.
Kind Regards,
Mark Simmerman
*This post is locked for comments
I have the same question (0)