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 4038848
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:31:29+00:00 2026-05-20T12:31:29+00:00

I am getting the following error trying to connect to a local DB2 instance

  • 0

I am getting the following error trying to connect to a local DB2 instance with Entity Framework using Visual Studio 2010:

SQL1159 Initialization error with DB2 .Net Data Provider, reason code
7, tokens 9.7.3.DEF.2, SOFTWARE\IBM\DB2\InstalledCopies

I have tried to do some research and gotten nowhere, but I assume there is an issue with the DB2 Provider that I am using (I got the newest from IBM). I am able to hit the data if I use IBM.DB2.Data Namespace using the dll from IBM, but I cant hit the database using the Entity Model Wizard.

I dont have a problem hitting this DB from Visual Studio 2008, do I need to download something else other than what I have?

My DB2 Control Center says

DB2 administration tools level:
Product identifier SQL09070

Level identifier 08010107

Level DB2 v9.7.0.441

Build level s090521

PTF NT3297

Thanks for any help

  • 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-20T12:31:29+00:00Added an answer on May 20, 2026 at 12:31 pm

    Unless something changed recently, that last I remember you can’t use the entity framework directly with the IBM drivers. You need to write the interface yourself to get this to work. As I said, this is what my research turned up a couple months ago when I was researching this.

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

Sidebar

Related Questions

I am getting the following error trying to connect to DB2 Entity with .Net
I am getting the following error when trying to install Visual Studio 2005 on
I'm getting the following error when trying to run a JSP. I'm using Tomcat
I'm getting the following error when trying to build my app using Team Foundation
I am getting following error when i am trying to connect Production DB from
I'm getting the following error when trying to connect to a WCF web service:
I am getting following error while trying to connect to a sftp server:- ncftpput:
I'm getting the following error when trying to connect to my exchange server at
Help! I'm getting this error when trying to connect using JAX-WS webservice call: java.lang.NoClassDefFoundError:
I getting the following error when I try to connect to my server app

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.