Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Unidata uniobjects for .net socket connection error.

Posted on 2009-07-07
Medium Priority
Last Modified: 2013-11-08
I have the code shown below which worked until today.  For some odd reason it stopped working.  It won't connect to the unidata database.  It gives me the following error:
connection failed : An address incompatible with the requested protocal was used ::1:31438.

The Visual Studio error reads:
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in UODOTNET.dll

Class App
    Public Shared Function Main(ByVal args() As String) As Integer
        Dim us1 As UniSession = Nothing
            Console.WriteLine("Program started... ")
            us1 = UniObjects.OpenSession("computername", "username", "password", "C:\IBM\ud72\Demo")
        Catch e As Exception
            If Not (us1 Is Nothing) Then
                If (us1.IsActive) Then
                    us1 = Nothing
                End If
            End If
            Dim s As String
            s = "Connection Failed : " + e.Message
            If Not (us1 Is Nothing) Then
                If (us1.IsActive) Then
                    Dim s As String
                    s = "Connection Passed"
                    Console.WriteLine("Program finished... ")
                End If
            End If
        End Try
        Return 0
    End Function 'Main

Open in new window

Question by:smintire001
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Author Comment

ID: 24812669
Edited question.

Accepted Solution

smintire001 earned 0 total points
ID: 24815507
uninstalled it and installed unidata version 7.1 instead of 7.2.  Problem went away.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question