· Jun 20, 2022

Visual Studio c#

Hi, I tried the following exercise from the IRIS documentation. I updated the username, password and IP address, but receiving this error;

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. --->

I can use the same credentials and IP address to connect ok via VSCode to my local IRIS...

Any pointers much appreciated.

To connect Visual Studio to InterSystems IRIS, use the following steps. (Log into GitHub if necessary.)

First, create the sample solution.

  1. Select View > Team Explorer.
  2. In the Team Explorer – Connect pane, select Local Git Repositories > Clone, copy and paste into the URL box, and click Clone.

Next, update the sample code and run it.

  1. Double-click HelloWorld.sln to see the files in the solution, then open helloworld.cs.
  2. Configure the username, password, IP address, and port for your instance (see InterSystems IRIS Connection Information) using the variable declarations,
  3. Press the F5 key to run the program.
  4. A command window displays the message Hello World! You have successfully connected to InterSystems IRIS. Press any key to continue.
Product version: IRIS 2021.1
Discussion (3)0
Log in or sign up to continue