I need help, in our SharePoint 2007 project we have created Web Part using VS 2005 & .Net 2.0, User Control. In the user control for one of the drop down list box databinding method we are using data from IBM DB2. It works fine on our local machine, but after Web Part deployment if i open the page then the Drop Down List is empty. I checked the log in the event viewer. I found the following error message in the vent viewer -
The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.
Detail Error Message -
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/2076212728/Root
Process ID: 26880
Message: The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.
StackTrace: at IBM.Data.DB2.DB2Connection.Finalize()
Message: SQL1159 Initialization error with DB2 .NET Data Provider, reason code 7, tokens 9.1.1.DEF.2, SOFTWARE\IBM\DB2\InstalledCopies
StackTrace: at IBM.Data.DB2.y.f.a()
For more information, see Help and Support Center at h
View Complete Post