py2exe + win32com + DAO

Trevor trevor.lango at gmail.com
Thu May 14 18:35:23 EDT 2009


I think the problem I am experiencing bears a resemblance to the
content of this post:

http://mail.python.org/pipermail/python-list/2001-February/071421.html

Does anyone know what the GUID for the DAO 3.6 library is (or can
explain how I can find it)?

On May 12, 11:00 pm, David Lyon <david.l... at preisshare.net> wrote:
> On Tue, 12 May 2009 22:06:42 -0700 (PDT), Trevor <trevor.la... at gmail.com>
> wrote:
>
> > I do not believe your assertion applies to the following line of code:
>
> > daoEngine = win32com.client.Dispatch(r'DAO.DBEngine.36')
>
> It doesn't. I'm simply suggesting that it is possible you are opening
> the database in Access or something in Administrator/dba mode. That
> could be causing an exclusive lock on the database so that no sub
> task can then open it.
>
> i have seen this on old versions of Access.
>
> To provide excellent performance, microsoft used to load the whole
> database into memory if it could. And just operate mostly from there.
>
> > is it possible to obtain more
> > verbose error output from Python modules?  The error message in the
> > original post was generated from:
>
> > print sys.exc_info()[0]
>
> possibly but i'm not sure how...
>
> David




More information about the Python-list mailing list