Missing LConnect from Services Snap In

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Missing LConnect from Services Snap In

Post 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 6755 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
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Missing LConnect from Services Snap In

Post 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.
Art Tostaine
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: Missing LConnect from Services Snap In

Post 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?
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Missing LConnect from Services Snap In

Post 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.
Art Tostaine
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: Missing LConnect from Services Snap In

Post 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
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Missing LConnect from Services Snap In

Post by atostaine »

Cool. Feel free to post EVERYTHING you learn about working with the VCS
Art Tostaine
Post Reply