NAV 2013 - VT100 Plug In - Multiple Instance on Workstation

dhutchdhutch Member Posts: 2
edited 2015-01-21 in NAV Three Tier
I am completing an installation in which ADCS is being used by 2 companies in a single database.
Employees of both companies work in a shared warehouse and perform ADCS tasks (pick/put-away) for both companies.

It appears that I will need to have (2) Microsoft.Dynamics.Nav.VT100Plugin.exe services running.

Microsoft is contradictory as to whether or not this can be done on a single computer:
http://msdn.microsoft.com/en-us/library ... 7(v=nav.71).aspx

The obvious challenge is that if (2) or more instances of the VT100 Plug in are loaded on a single computer, how do you direct each instance as to which Microsoft.Dynamics.Nav.VT100Plugin.exe.config the instance should look at?

Best,
dhutch

Comments

  • okioki Member Posts: 46
    Is nobody out there who had already done this?

    We have the same requirement now.

    Howto's and hints are appreciated.

    Oli
  • okioki Member Posts: 46
    Hi,

    here comes the solution:
    You have to double the VT100 service and change the config with the following steps:

    1. Double the Directory "C:\Program Files (x86)\Microsoft Dynamics NAV\70\Automated Data Capture System"
    with its contents to i.e. "C:\Program Files (x86)\Microsoft Dynamics NAV\70\Automated Data Capture System II"

    2. Change the config file "Microsoft.Dynamics.Nav.VT100Plugin.exe.config" that it uses the new company
    <add name="NavWSEndpoint" url="http://<hostname>:<port>/<servicetier>/WS/<newcompany>/Codeunit/ADCS" />
    and listen to an other port
    <Terminal listenPort="<newport>" listenIP="<ipaddress>" stylesheet="VT100_W2k_and_OtherClients.xsl" />
    (hint: you need to start the editor with admin rights to save it)

    3. Create this VT100 exe as a new service from the command line (cmd.exe must also be run with admin rights)
    the call is as follows:
    sc create "Microsoft Dynamics Nav VT100 Plugin II" binPath="C:\Program Files (x86)\Microsoft Dynamics NAV\70\Automated Data Capture System II\Microsoft.Dynamics.Nav.VT100Plugin.exe" start=auto obj="<domain>\<account>" password=<password> DisplayName="Microsoft Dynamics Nav VT100 Plugin II"

    4. Set the other Properties of this new service according to the properties of the original existing VT100 plugin service with the program services.msc

    Thats all - now you can start the new VT100 Plugin service

    Enjoy
    Oli
Sign In or Register to comment.