environment - ms access 2013, error 2501 while opening form on Win7 enterprise, but not on Win7 professional -
a few weeks ago failure appeared on every newly installed or reinstalled desktop pc's. (100+ pc's in office, 10+ affected)
failure description: of forms doesn't open docmd.openform. error 2501. form.open event doesn't run. failure stable. applications didn't change since months. same file runs fine on old installations.
tried:
* decompile + compile + compact & repair on affected pc's
* import new file (order: tables, queries, modules, forms; compact & repair in every step)
* removed code using activex & activex reference
* tested queries behind affected forms, ok
* no errors show in form editor
* deleting vba module of form
* ticket departement - no reply far
* ritual scolding , cursing of m$
forms opening after deleting modules. obviously, need modules. :)
if delete form.open, form.load event, open errors. (" error between application , ole service provider or activex controller"). error form.close. if delete whole module, don't error. error 2501 shows totally empty(a single rem line) form.open().
have windows 7 sp1 build 7601, , office 2013 plus 64 bit build 4771 on pc's. working installations have w7 professional, affected pc's have enterprise version. 1 affected application has access backend, other has mysql.
idea how fix it?
solution: had english windows 7 hungarian ms office. access forms working after changing language non-unicode programs hungarian.
how it: local admin privileges required. go control panel --> region & language --> administrative --> change system locale.
remark: changing may break other non-unicode applications.
Comments
Post a Comment