Skip to main content



No record found.

Dynamics 365 Community / Forums / Commerce forum / Retail SDK TestClient
Commerce forum

Retail SDK TestClient

Posted on by 530

I am having a bit trouble activating the TestClient in the SDK folder (K:\RetailSDK\SampleExtensions\RetailServer\Extensions.TestClient)

I have deployed a standard MS image in Azure. 

I have performed BuildTree in the SDK folder

The RetailServer is up and running - healthcheck is OK.

I can run a cloud pos OK.

The TestClient Builds OK

I have "checked online mode" in client

I enter the URL of my retailserver - the same from health check

I enter the ACTIVATE button

I use standard HOUSTON-3,HOUSTEN-3 - for device

Hit "Activate"

A sign in to my account dialog appears - I enter a user which is system admin i Dynamics 365

Nothing happens

Am I missing a step? Do need to make any Device registrations in Azure AD.

Here is the log

- there is an Exception for the diagnostisk assembly - that I cannot seem to resolve - This could be the cause - but the process seems to continue - even this error is present.

Hope you can help

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Dynamics.Retail.Diagnostics, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Dynamics.Retail.Diagnostics, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at Microsoft.Dynamics.Commerce.RetailProxy.ManagerFactory.GetManager[T]()
   at Contoso.RetailServer.TestClient.ActivationForm.<btnActivate_Click>d__9.MoveNext() in K:\RetailSDK\SampleExtensions\RetailServer\Extensions.TestClient\ActivationForm.cs:line 64

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Dynamics.Retail.Diagnostics, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Appbase = file:///K:/RetailSDK/SampleExtensions/RetailServer/Extensions.TestClient/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : Microsoft.Dynamics.Commerce.RetailProxy, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
LOG: This bind starts in default load context.
LOG: Using application configuration file: K:\RetailSDK\SampleExtensions\RetailServer\Extensions.TestClient\bin\Debug\Contoso.RetailServer.TestClient.vshost.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.Dynamics.Retail.Diagnostics, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL file:///K:/RetailSDK/SampleExtensions/RetailServer/Extensions.TestClient/bin/Debug/Microsoft.Dynamics.Retail.Diagnostics.DLL.
LOG: Attempting download of new URL file:///K:/RetailSDK/SampleExtensions/RetailServer/Extensions.TestClient/bin/Debug/Microsoft.Dynamics.Retail.Diagnostics/Microsoft.Dynamics.Retail.Diagnostics.DLL.
LOG: Attempting download of new URL file:///K:/RetailSDK/SampleExtensions/RetailServer/Extensions.TestClient/bin/Debug/Microsoft.Dynamics.Retail.Diagnostics.EXE.
LOG: Attempting download of new URL file:///K:/RetailSDK/SampleExtensions/RetailServer/Extensions.TestClient/bin/Debug/Microsoft.Dynamics.Retail.Diagnostics/Microsoft.Dynamics.Retail.Diagnostics.EXE.

  • Verified answer
    Soren Andersen Profile Picture
    Soren Andersen 530 on at
    RE: Retail SDK TestClient

    Checked that the setup worked on another box - so I looked into the .dll error. Was solved by setting "copy local" on the reference.

    With the dll bug corrected - the activation worked correctly.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans