Hi,
I have a GUI program that I'm upgrading from V8.0.3 to V8.6. It runs okay in the development environment but has this error:
Runtime error: Primitive failed calling 'ODBCLibraryName':SQLAllocEnv from PlatformFunction>>#callWithArguments: due to OS error126
at runtime. I expect a packaging problem but it's late and time for dinner. I'm hoping someone will post an idea by the time I get back here tomorrow.
Lou
Runtime error: Primitive failed calling 'ODBCLibraryName':SQLAllocEnv from PlatformFunction>>#callWithArguments: due to OS error126at runtime. I expect a packaging problem but it's late and time for dinner. I'm hoping someone will post an idea by the time I get back here tomorrow.
OS Error 126 means an external lib cannot be found. You should check what Richard suggests. Another possible cause: did you deploy with an ini file o'from 8.0.3 which misses the stanza whith lib name mappings?
I think it is quite unlikely that it's a packaging problem.
Joachim
I remember getting into troubles with SqlAllocEvent on Linux. The funny thing was that I somehow found out VA assumed I was using an ANCIENT version of ODBC, because in current versions, another API call should be used. The thing even felt stranger because i was using the db2 cli driver.
I am desperately trying to remember how exactly the issue was solved. It was an envirenment issue, some libs missing on my Linux box or such.
So do you see this on windows or Linux?
Joachim
Hi Everybody,
Thank you all for the posts and very fast response. After dinner on Wednesday (it wasn't bad Richard - thanks) and before I got back to my computer Thursday morning, I concluded it may be a missing DLL but I had included everything Instantiations supplies in their server zip, so didn't quite make sense.
Joachim hinted at the answer but I wasn't quite sure what he meant. I tried what Mike suggested and that did the trick.
Thank you all again.
Lou
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk+unsubscribe@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.