<div dir="ltr">More information about your program would be helpful. There are at least three ways that connections to SQL Server might be obtained in Python. In general, it would seem that the version of Python may have changed. The bit-width of the SQL Server server should not affect a data client.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 3:18 AM, Robin Becker <span dir="ltr"><<a href="mailto:robin@reportlab.com" target="_blank">robin@reportlab.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A client has changed database and now receives this error<br>
<br>
<br>
dbi.internalError: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application in LOGIN<br>
<br>
<br>
I suspect that this is due to something related to<br>
<br>
<a href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/702f0d9b-6cb9-49cf-9953-80d059711e60/the-specified-dsn-contains-an-architecture-mismatch-between-the-driver-and-application?forum=sqlgetstarted" rel="noreferrer" target="_blank">https://social.msdn.microsoft.com/Forums/sqlserver/en-US/702f0d9b-6cb9-49cf-9953-80d059711e60/the-specified-dsn-contains-an-architecture-mismatch-between-the-driver-and-application?forum=sqlgetstarted</a><br>
<br>
but can anyone explain what should be done to fix this?<br>
<br>
I have asked concerning the db machine 32/64bit etc etc and whether the python software is running on 32/64 bit python.<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Robin Becker<br>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-win32" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-win32</a><br>
</font></span></blockquote></div><br></div>