Author Topic: Two different Advanced HMI apps cannot execute in same PC  (Read 1588 times)

CarlosAguero

  • Newbie
  • *
  • Posts: 4
    • View Profile
Two different Advanced HMI apps cannot execute in same PC
« on: June 14, 2017, 05:51:33 PM »
Using the Advanced HMI solution, I created an application to communicate to a Control Logix PLC and send e-mails. It worked fine, no further issues.

Now, using again the Advance HMI solution (in a separated folder) I wrote a code to communicate to a Control Logix PLC and save data into a SQL server. I tested and it runs perfectly.

If I install 1 application in a PC it works perfect, but once I try to run the second application (in the same PC) it wont run. It will show only the first app I execute.

Has anybody from here experienced this same issue?.. what am I missing in the configuration?..

I'm using Visual Studio Community 2017.

Regards!
Carlos A.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI

CarlosAguero

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Two different Advanced HMI apps cannot execute in same PC
« Reply #2 on: June 15, 2017, 07:58:16 AM »
Thank you Archie, I already did what they mention and still having the same issue.
I selected Multiple startup project in the solutions properties.

any other recommendations?...
 


Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Two different Advanced HMI apps cannot execute in same PC
« Reply #3 on: June 15, 2017, 09:45:03 AM »
If removing the check from the Make Single Instance Application did not work, I'm not aware of any other things that would cause this.

rbelknap

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: Two different Advanced HMI apps cannot execute in same PC
« Reply #4 on: June 16, 2017, 08:52:43 AM »
From the screen shot it looks like Carlos is on the properties page for the solution, not the project.

Right-Click on the Project, not the solution, and you should het a screen that look something like the attached.
Un-check the 'Make Single Instance Application.

You'll need to do this for both applications.

Also, my screen shot os from VS2015, not sure if it'll be different in 2017.