Before installing SQL Server 2005 Compact Edition on Windows Vista, User Access Control (UAC) must first be disabled. While the installation will appear to install correctly with UAC enabled, SQL Server 2005 Compact Edition will not actually work.
To disable User Access Control:
Windows Vista:
- Click Start, then go to Control Panel.
- Click User Accounts and Family Safety if not using Classic View.
- Click User Accounts
- Click Turn User Account Control on or off.
- Uncheck the checkbox to Enable User Access Control and click OK. You will be prompted to restart your computer
Windows 7:
- Click Start, then go to Control Panel.
- Click User Accounts and Family Safety if not using Classic View.
- Click User Accounts
- Click Turn User Account Control on or off.
- Change the position of the slider to the bottom (Never Notify).
- Uncheck the checkbox to Enable User Access Control and click OK. You will be prompted to restart your computer
Once SQL Server 2005 Compact Edition is installed, UAC can be enabled.