Page 1 of 1

Missing LConnect from Services Snap In

Posted: Thu Apr 05, 2018 2:45 am
by jyoung
I installed another instance of Visual LANSA to start researching VCS integration and everything was going pretty well.

I went to install EPCs 70 and 81 on my VCS instance so I stopped the LConnect Services 2 (the one for the VCS instance), installed the EPCs and did the Partition Import.

I then went to start up the LConnect service and noticed it was missing from the Services MSC.
Capture.PNG
Capture.PNG (102.57 KiB) Viewed 6757 times
There should be an LConnect Services 2 there. You can see the JSM admin service for the VCS instance, and yes I sorted the list so its not hiding somewhere. :D

I tried to do a re-install of the Communications and Web Administrator and did a full reboot of my PC and the LConnect service does not show up in the list for me to start it.

I am thinking this means the service got unregistered somehow.

Any ideas on how to get it back so I can get it started?

Joe

Re: Missing LConnect from Services Snap In

Posted: Thu Apr 05, 2018 7:14 pm
by atostaine
Hamad helped me fix this awhile ago. I will search my emails.

Do you know how to register a service in windows? That’s the command you’re looking for.

Re: Missing LConnect from Services Snap In

Posted: Thu Apr 05, 2018 11:44 pm
by jyoung
I've used RegSrv32 https://en.wikipedia.org/wiki/Regsvr32 before and that was my initial thought.

There is also InstallUtil but this is more .NET driven so likely is not applicable ... ?

Lest there not be enough options there is SC too.

Did not know if that was the appropriate command or some X_RUN command.

Any of these seem familiar?

Re: Missing LConnect from Services Snap In

Posted: Fri Apr 06, 2018 12:20 am
by atostaine
Yes it was SC, but searching my emails for SC isn't working very well. We had a failed installation and and hamad walked me through completely removing the installation including registry entries and using SC to remove the listener service.

If I find anything I'll post, sorry.

Re: Missing LConnect from Services Snap In

Posted: Fri Apr 06, 2018 12:35 am
by jyoung
Got it going with Powershell's new-service

Code: Select all

New-Service -Name "LConnect Services 2 - 14.1 (LCO14100_EPC141001)" -BinaryPathName "C:\Program Files (x86)\LANSAVCS\connect64\lcolist.exe" -Description "C:\Program Files (x86)\LANSAVCS\connect64\lcolist.exe"
Of course the first time I did it I did not have the binpath or the name right. :S

Then I got to use SC to change the binpath but could not change the name.

Ended up using SC to delete the service and new-service to install it again, this time correctly. lol.

Thanks Art!

-Joe

Re: Missing LConnect from Services Snap In

Posted: Fri Apr 06, 2018 3:06 am
by atostaine
Cool. Feel free to post EVERYTHING you learn about working with the VCS