 |
Forums |
Admin Start New Thread
By: Alex Pitigoi
RE: ibm_db environment corrupted [ reply ] 2007-11-21 20:34
|
FYI:
IBM_DB-0.9.1 gem refresh is now available and fixes the VC80 runtime compatibility on Windows platforms (i.e. "LoadError: 14001: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail" or "LoadError: 14001: This application has failed to start because the application configuration is incorrect.")
|
By: Alex Pitigoi
RE: ibm_db environment corrupted [ reply ] 2007-11-09 18:03
|
David, I can understand your frustration with this install mishap, and I'm pretty sure somewhere in the potentially long list of system errors displayed in System Tools / Event Viewer / System (right-click My Computer) there are a few errors logged from source "SideBySide" on the date of your tests.
I shall let you know if I can re-create your problem before I will be able to upload the updated IBM_DB-0.9.1 fix for this nasty compatibility issue. Thanks for your understanding and patience.
|
By: David Adler
RE: ibm_db environment corrupted [ reply ] 2007-11-09 16:48
|
I'm quite sure I have GMA.
The Microsoft Visual C++ 2005 Redistributable shows up in add/remove programs.
Don't see anything suspicious in the event log.
This isn't worth my time to pursue at this point.
|
By: Alex Pitigoi
RE: ibm_db environment corrupted [ reply ] 2007-11-08 20:46
|
The vcredist_*.exe failure to fix the load error 14001 on Windows platforms continues to surprise us (it was reported on another thread), it did work without glitch on several Windows platforms we used in our tests. It's also highly specific to missing VC80 assemblies runtime, and that could be verified in the Windows EvenViewer: error source SideBySide "Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The reference assembly is not installed on your system.To verify if the fix did get installed one can verify "Microsoft Visual C++ 2005 Redistributable" showing in the Add/Remove programs list, but it may not warranty its proper functioning.
Is there any chance the Windows system you were testing on was missing the Genuine Windows Advantage?
Note: the IBM_DB-0.9.1 update to fix VC80 dependency statically will be available as soon as the official DB2 9.5 special build is completed and fully tested.
|
By: David Adler
RE: ibm_db environment corrupted [ reply ] 2007-11-08 19:53
|
Thank you for the suggestions.
I installed the MS fix vcredist_x86.exe but it didn't make any difference. Is there any way to determine if this installed correctly?
I uninstalled ibm_db 0.9 and installed 0.8 and everything works fine.
|
By: Alex Pitigoi
RE: ibm_db environment corrupted [ reply ] 2007-11-08 16:44
|
Hi David,
Updating Rails version (from 1.2.3 to 1.2.5 in your case) will almost always install a new ActiveRecord gem version (1.15.5 in this case) and will require IBM_DB adapter to be registered as before in active_record.rb. It's good you already figured that out, and I should only mention this will no longer be an issue with Ruby 2 when the fix #8456 will provide dynamic loading of adapters: http://dev.rubyonrails.org/ticket/8456
Now, the failure you are still encountering after including ibm_db in the RAILS_CONNECTION_ADAPTERS list, might be related to VC80 compatibility issue discussed at large on previous thread(s). Can you please consult this: http://rubyforge.org/forum/message.php?msg_id=30404
The update IBM_DB-0.9.1 to be uploaded soon will fix this MS VS2005 backward compatibility by statically linking VC80 assemblies into the IBM_DB driver .
Also, removing IBM_DB-0.9.0 should certainly fix your issue reverting back to version 0.8.0 (which would not contain a Vista fix and a 9.1.3 regression).
I hope this clarifies and I look forward to some more details about your environment.
|
By: David Adler
RE: ibm_db environment corrupted [ reply ] 2007-11-08 16:18
|
When I go into irb and run
require 'ibm_db'
I get:
LoadError: 14001: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem.
- d:/ruby/lib/ruby/gems/1.8/gems/ibm_db-0.9.0-mswin32/lib/mswin32/ibm_db.so
|
By: David Adler
ibm_db environment corrupted [ reply ] 2007-11-08 16:12
|
I've updated rails and the ibm_db driver and now can't do anything.
When I created a new application, it created an environment.rb with RAILS_GEM_VERSION = '1.2.5' and then it couldn't find the ibm_db adapter. I changed the version back to 1.2.3 and it worked a bit better.
I then discovered that there were both 1.15.3 and 1.15.5 versions of active_record.rb and I updated the 1.15.5 version to include ibm_db.
Now when I try to run rake I get:
rake aborted!
Failed to load IBM_DB Ruby driver.
d:/ruby/lib/ruby/gems/1.8/gems/ibm_db-0.9.0-mswin32/lib/active_record/connection_adapters/ibm_DB_adapter.rb:86:in `ibm_db_connection'
d:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/connection_specification.rb:262:in `send'
d:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/connection_specification.rb:262:in `connection_without_query_cache='
This failure is for both the rails versions 1.2.3 or 1.2.5
|
|
 |