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 :
Supply Chain Management forum

RSAT (Regression Suite Automation Tool) - error (can not access environment)

(0) ShareShare
ReportReport
Posted on by

Hi

I'm receiving this error after updating RSAT to newest release. The error happens when I'm trying to run the test cases. I'm able to load and generate test and parameter files.

6052.RSAT-error.PNG

All my settings is the same and I know the environment is running, because I have opened it in a browser.

Looking forward receiving help and recommendations. 

<?xml version="1.0" encoding="utf-16"?>
<Error xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema">
  <ExceptionType>System.TypeInitializationException</ExceptionType>
  <Message>Typeinitialiseringsfunktionen for 'MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement' udløste en undtagelse.</Message>
  <StackTrace>   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.get_AdminUser()
   ved MS.Dynamics.Performance.Application.TaskRecorder.RSAT_PME_ProductInventDefaultBase.TestSetup(Boolean verboseSnapshotsEnabled, Int32 actionTimeout)</StackTrace>
  <InnerError>
    <ExceptionType>System.InvalidOperationException</ExceptionType>
    <Message>Could not enumerate AX users</Message>
    <StackTrace>   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.PopulateAxUsers()
   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement..cctor()</StackTrace>
    <InnerError>
      <ExceptionType>System.ServiceModel.FaultException`1[System.ComponentModel.Win32Exception]</ExceptionType>
      <Message>Forbidden</Message>
      <StackTrace>
Server stack trace:
   ved System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
   ved System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   ved System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   ved System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   ved System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   ved System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.AxUserManagementServiceReference.IAxUserManagement.EnumUsers()
   ved MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.PopulateAxUsers()</StackTrace>
    </InnerError>
  </InnerError>
</Error>

I have the same question (0)
  • Valery Plotnik Profile Picture
    24 on at

    Please follow Troubleshooting -> "Users can't be enumerated" section from this guide:

    https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/perf-test/perfsdk-tutorial-lbd#users-cant-be-enumerated

  • Shahil Profile Picture
    635 on at

    Hi Alexander

    There is an issue with your thumbprint. Usually a invalid character comes in with the thumbprint. Paste the thumbprint on a notepad and change the encoding as unicode before saving it. Reopen the file and you'll see a character. Delete it and copy that thumbprint now.

  • Community Member Profile Picture
    on at

    Hi Shahil

    I tried this, but there where no character when changing encoding to unicode.

  • Suggested answer
    Community Member Profile Picture
    on at

    I updated to newest release, and there where no problem anymore.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Supply Chain Management

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans