Skip to main content
Hi, I configured the plugin to connect to my Unidata server, but I keep getting: "Failed to connect account". This is a remote server on my network. Also I'm aware I cannot modify the programs directly on the server. 

Is there a log that I can check to see what is the problem?  We also have some custom rpc service name, could that be a problem?

I just want to be able to access the catalog programs so the GOTO Definition works, same for the include statements.

Any help is greatly appreciated.

Alejandro
Hi, I configured the plugin to connect to my Unidata server, but I keep getting: "Failed to connect account". This is a remote server on my network. Also I'm aware I cannot modify the programs directly on the server. 

Is there a log that I can check to see what is the problem?  We also have some custom rpc service name, could that be a problem?

I just want to be able to access the catalog programs so the GOTO Definition works, same for the include statements.

Any help is greatly appreciated.

Alejandro
Hi, Alejandro.

Thanks for using our extension, for UniData account, you need to add account information like below in the $UDTHOME/include/ud_database file first, then you can connect this account via VS Code extension, you can try to connect to demo account for testing first.

DATABASE=demo
UDTHOME=C:U2ud82
UDTACCT=C:U2ud82demo
TRACE_LEVEL=0

We will have enhancement about the extension logging in MVVS 1.8.0 release which will be available at the end of this month, currently you can checking the error message in the VS Code OUTPUT Window, you can open this window by enter "Ctrl + Shift + U", then select "Rocket MV BASIC Language Server" on the right side drop-down-list.

For unirpc services, when you connecting to the UD account in the VS Code, our extension will calling udcs service which defined in the unirpcservices file. Also, if you are using UD 8.2.4 release, then you can debug UD BASIC program in the VS Code extension, there will be a new uddaps service created during the UD installation. As long as you don't remove these items, then that should be fine.
  • udcs C:U2ud82inudapi_server.exe * TCP/IP 0 3600
  • uddaps C:U2ud82inudapi_server.exe * TCP/IP 0 3600

Let me if you have any other questions, thanks.

Best Regards.
Charles.