Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

My application uses DB2. It is working fine in Win 7, but not launching in Win 8.

Giving error

System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider

Then I copied IBM DB2 dlls in app folder now it is giving different error:

System.ArgumentOutOfRangeException: Length cannot be less than zero.

Parameter name: length at IBM.Data.DB2.DB2ConnPool.Open(DB2Connection connection, String& szConnectionString, DB2ConnSettings& ppSettings, Object& ppConn)

Please could somebody give some advice?

It is a 32 bit PC.

Please find below the link for initial discussion:

http://stackoverflow.com/questions/16278771/application-using-db2-not-launching-due-to-win-8

share|improve this question
    
I'm sorry but I don't think this is a good fit here. It's not a problem with your database, but something wrong with the way you connect or the way you 'installed' the DLLs. Please read IBM's documentation on how you're supposed to install the .net providers, it's likely "copying the DLLs" isn't the way to do it. –  Mat May 2 '13 at 9:52
2  
It is a database software configuration problem, and therefore meets the FAQ guidelines. –  WarrenT May 2 '13 at 10:36
    
It is not a bug in a program he is writing, and therefore not the target domain of stackoverflow, and was closed as off topic there. There should be someone here who can address this problem. –  WarrenT May 2 '13 at 10:44
    
@WarrenT: possibly (I didn't even vote to close, and took the time to cleanup the question since I'm not sure). (Remember to @ people you want to address.) –  Mat May 2 '13 at 11:16
    
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.