Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Commerce forum / Retail SDK TestClient
Commerce forum

Retail SDK TestClient

(0) ShareShare
ReportReport
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=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Dynamics.Retail.Diagnostics, Version=7.0.0.0, 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=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = file:///K:/RetailSDK/SampleExtensions/RetailServer/Extensions.TestClient/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : Microsoft.Dynamics.Commerce.RetailProxy, Version=7.0.0.0, 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=7.0.0.0, 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
    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.

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 >

Featured topics

Product updates

Dynamics 365 release plans