My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 182: pyodbc-2.1.8.win32-py2.7.exe crashes under UAC with windows 7
1 person starred this issue and may be notified of changes. Back to list
Status:  Complete
Owner:  ----
Closed:  Jul 2011


 
Reported by wsad...@gmail.com, Jun 7, 2011
What steps will reproduce the problem?

1. Install python2.7.1 and win32all build 216 for python2.7 on Windows 7 with default UAC settings. (I chose C:\Program Files\Python2.7 vs. C:\Python2.7 as the install location, since the former is also verboten with new Windows security standards.)

2. Try to install pyodbc.

What is the expected output? What do you see instead?
As soon as you click install in the wizard, you get a crash, with the following details:

Problem signature:
  Problem Event Name:	BEX
  Application Name:	pyodbc-2.1.8.win32-py2.7.exe
  Application Version:	0.0.0.0
  Application Timestamp:	49819995
  Fault Module Name:	pyodbc-2.1.8.win32-py2.7.exe
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	49819995
  Exception Offset:	000086dc
  Exception Code:	c0000417
  Exception Data:	00000000
  OS Version:	6.1.7600.2.0.0.256.4
  Locale ID:	1033
  Additional Information 1:	d62d
  Additional Information 2:	d62ddf3309e62665394c0c6eb8d59970
  Additional Information 3:	7f31
  Additional Information 4:	7f3145d642a45be2171e4a99039efd13

What version of the product are you using? On what operating system?

OS: Windows 7 Enterprise (32bit)
UAC default settings

Please provide any additional information below.

NOTE: If I add a data execution prevention exception for the program, and reboot, it still crashes, but if I turn off UAC entirely, and reboot, then the program executes to completion.


Jun 12, 2011
Project Member #1 mkleehammer
(No comment was entered for this change.)
Status: Investigating
Jun 12, 2011
Project Member #2 mkleehammer
I'll see what I can do.  The installer is generated by the standard Python tools.  Hopefully I won't need to write my in Wix or something.

I assume the login was not an Administrator account?
Jun 12, 2011
#3 wsad...@gmail.com
Actually, it was.  Even administrators are not exempt from UAC restrictions.
Jul 10, 2011
Project Member #4 mkleehammer
Fixed in 2.1.9-beta15

Status: Complete

Powered by Google Project Hosting