Search

Showing posts with label Error 29506. Show all posts
Showing posts with label Error 29506. Show all posts

Wednesday, February 29, 2012

Error 29506 when installing Microsoft SQL Server Management Studio Express on Windows Vista or Windows 7


When you are installing Microsoft SQL Server Management Studio Express on Windows Vista or Windows 7, you may receive this error message:
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 29506.
This error message relates with permission issue (UAC) on Windows Vista and Windows 7. To solve this problem, you have to re-run the installer again using elevated command prompt by run the command prompt as administrator and execute the installer in there. If you are using 64-bit Windows, you should use the command prompt at C:\Windows\SysWOW64\cmd.exe instead. Otherwise, you can use the command prompt at C:\Windows\System32\cmd.exe.
  1. 32-bit Windows : Run elevated command prompt by right-click on Command Prompt in Start -> All Programs -> Accessories -> Command Prompt and select Run as administrator.
    Open Command Prompt as Administrator
  2. 64-bit Windows: Run the command prompt in C:\Windows\SysWOW64. Right-click on cmd.exe and select Run as administrator.
    Open Command Prompt as Administrator For 64-bit Windows
  3. On User Account Control, click Yes.
    User Account Control
  4. On Command Prompt (both 32-bit and 64-bit Windows), change path to directory where the installer file is and execute the file. By default, the file name for 32-bit version is SQLServer2005_SSMSEE.msi and 64-bit version isSQLServer2005_SSMSEE_x64.msi.
    Execute the installer file
  5. On Setup Wizard, follow the instruction as usual. There won’t be the error message this time.
    Microsoft SQL Server Management Studio Express Setup


Tuesday, January 10, 2012

Installing Microsoft SQL Server Management Studio Express in Windows Vista or Seven: Error 29506.


This is a problem about privileges. Probably the installer performs the latests tasks without using elevation.
Solution is very simple: run the installer from an elevated command prompt.
  1. Click Start.
  2. Type “cmd” end press CTRL+SHIFT+ENTER and accept the elevation.
  3. Execute the installer from there (just type path and filename).
This works on Windows Vista and, of course, on Windows 7.
If using a 64 bit version, please note you will have to use the 64 bit version of cmd.exe, which is located in c:\Windows\SysWoW64 instead on c:\Windows\System32, so just write “c:\Windows\SysWoW64\cmd” instead of just “cmd” (thanks to Pierre Boucher for this)