Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-07-11
5
Medium Priority
?
6,824 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 2000 total points
ID: 17096553
unregister the dll, stop the instance, re register the dll, start the instance
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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 (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
Integration Management Part 2
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

886 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