Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 988077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:35:13+00:00 2026-05-16T05:35:13+00:00

Background Information: Visual Studio 2010 (.NET Framework 4.0) Informix Server 7.31 Informix ClientSDK 3.50

  • 0

Background Information:

  • Visual Studio 2010 (.NET Framework 4.0)
  • Informix Server 7.31
  • Informix ClientSDK 3.50 TC7 (Windows 32-bit) was installed as well.

I have tried multiple ways suggested online to connect to the Informix server, but all of them do not work for me for whatever reason. I have looked at articles such as Connect Informix with ADO.Net and I have used ConnectionStrings.com to generate a connection string.

When I go to Visual Studio I do the following:

  1. Server Explorer
  2. Right-click on Data Connections > Add Connection…
  3. Microsoft ODBC Data Source | .NET Framework Data Provider for ODBC
  4. Use connection string (copied/pasted using the ConnectionString website).
  5. Test Connection

RESULT: ERROR [IM002][Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.

  1. Server Explorer
  2. Right-click on Data Connections > Add Connection…
  3. Other | .NET Framework Data Provider for ODBC
  4. Use connection string (copied/pasted using the ConnectionString website).
  5. Test Connection

RESULT: ERROR [IM002][Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.

  1. Server Explorer
  2. Right-click on Data Connections > Add Connection…
  3. Other | .NET Framework Data Provider for OLE DB
  4. OLE DB Provider: IBM Informix OLE DB Provider
  5. Data Links…

RESULT: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)

Beyond that I wasn’t sure what to really fill in there…

Oh, and I even tried to use the sample code provided in the first article, substituting in my connection information:

  • HOST: The IP of the server
  • SERVICENUM: The Port Number
  • SERVER: The servers name
  • DATABASE: The database I’m working on
  • USER: user id
  • PASS: password

Sample code I downloaded/altered:

using System;
using IBM.Data.Informix;

namespace IfxAdoPres.Basics {
    public class BasicConnection {
        const string HOST = "192.168.OBFUSCATED";
        const string SERVICENUM = "5000";
        const string SERVER = "myServer";
        const string DATABASE = "myDatabase";
        const string USER = "myUserID";
        const string PASSWORD = "myPassword";

        public IfxConnection conn = new IfxConnection();
        public BasicConnection() {}

        public void MakeConnection() {
            string ConnectionString = "Host = " + HOST + "; " +
                "Service=" + SERVICENUM + "; " +
                "Server=" + SERVER + "; " +
                "Database=" + DATABASE + "; " +
                "User Id=" + USER + "; " +
                "Password=" + PASSWORD + "; ";

            conn.ConnectionString = ConnectionString;
        }

        public void CloseConnection() {
            conn.Close();
        }
    }
}

I get an error on the line conn.ConnectionString = ConnectionString; The exception states “Invalid argument” with no InnerException (basically very unhelpful). The callstack is:

  • Basics.exe!IfxAdoPres.Basics.BasicConnection.MakeConnection()
  • Basics.exe!IfxAdoPres.Basics.Test.Main(string[] args = {string[0]})
  • [External Code]

I am stuck and have no idea what to do… :-/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:35:14+00:00Added an answer on May 16, 2026 at 5:35 am

    Well, I went back to the article: http://www.ibm.com/developerworks/data/library/techarticle/dm-0510durity/

    After uninstalling everything and starting out fresh, the demo code seemed to work after installing the IBM Informix Client SDK 3.5 and using Setnet32 to configure my settings.

    I must’ve had something corrupt since I had a couple of different of versions of the Informix Driver installed initially.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.