Solved

'IBMDADB2' provider is not registered on the local machine.

Posted on 2006-07-11
5
6,422 Views
Last Modified: 2012-08-13
Hello expeerts,


I am building a .net application on a windows server andrquired me to connect to a DB2 database using the follwoing connection string;-
 TCP/IP:
Provider=IBMDADB2;Database=sample;HOSTNAME=db2host;PROTOCOL=TCPIP;PORT=50000;uid=myUserName;pwd=myPwd;

I have installed ;- DB2 Express-C (DB2 Express-C for Windows x86 32-bit) on my system, but when I run my .NET applIcationis get error;-
'IBMDADB2' provider is not registered on the local machine.

1. I did the same on a windows 2003 server and it worked fine. Is there an issue with 2000 server and IBM DB2.
2. How do I go about fixing the problem.
0
Comment
Question by:claracruz
  • 2
  • 2
5 Comments
 
LVL 4

Author Comment

by:claracruz
ID: 17081340
I noticed that the dll was not registered, so I manually egistered this...

I can see the registered dll in the registry, but somehow, I still get the same error
0
 
LVL 13

Expert Comment

by:ghp7000
ID: 17083576
stop and start the instance
0
 
LVL 4

Author Comment

by:claracruz
ID: 17087708
about a million times, stil no joy
0
 
LVL 13

Accepted Solution

by:
ghp7000 earned 500 total points
ID: 17096553
unregister the dll, stop the instance, re register the dll, start the instance
0
 
LVL 7

Expert Comment

by:sachinwadhwa
ID: 17097579
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ISAM ODBC connector or any other way 1 332
As400 Db2 to MS Sql server (data/schema) only 6 325
IBM Data Studio can't browse data on SAMPLE (DB2 Express-C) 4 1,192
db2 timestamp 5 60
November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now