From sanch.kanagarajah at nhs.net Fri Jan 14 05:25:55 2022 From: sanch.kanagarajah at nhs.net (KANAGARAJAH, Sanch (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION TRUST)) Date: Fri, 14 Jan 2022 10:25:55 +0000 Subject: [python-win32] pywintypes.com_error with adodbapi Message-ID: Hello, I am wondering if anyone is able to help me with the attached error? when I tried to connect to a SQL server with adodbapi using a Python script. best wishes Sanch ************************************************************************************** ****************************** This message may contain confidential information. If you are not the intended recipient please: i) inform the sender that you have received the message in error before deleting it; and ii) do not disclose, copy or distribute information in this e-mail or take any action in relation to its content (to do so is strictly prohibited and may be unlawful). Thank you for your co-operation. NHSmail is the secure email, collaboration and directory service available for all NHS staff in England. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services. For more information and to find out how you can switch visit Joining NHSmail - NHSmail Support -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ERROR.png Type: image/png Size: 111831 bytes Desc: ERROR.png URL: From timr at probo.com Sun Jan 23 21:04:40 2022 From: timr at probo.com (Tim Roberts) Date: Sun, 23 Jan 2022 18:04:40 -0800 Subject: [python-win32] pywintypes.com_error with adodbapi In-Reply-To: References: Message-ID: <365c7d00-5777-b4c8-838b-dafce8e5716c@probo.com> On 1/14/22 02:25, KANAGARAJAH, Sanch (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION TRUST) via python-win32 wrote: > > I am wondering if anyone is able to help me with the attached error? > when I tried to connect to a SQL server with adodbapi using a Python > script. What kind of database were you connecting to?? The error is saying there was no driver for that database.? Note that if you are running a 64-bit Python, you must have a 64-bit ODBC driver for your database. -- Tim Roberts,timr at probo.com Providenza & Boekelheide, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: