Unable to install Windows Installer MSP fileExit Code Returned: 11032

SYMPTOM

Service Pack 4 for SQL Server Database Services 2005 ENU (KB2463332)’ could not be installed.

ERROR

  • ————————————————————————————————

Product                   : Database Services (MSSQLSERVER)
Product Version (Previous): 2221
Product Version (Final)   :
Status                    : Failure
Log File                  : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_Hotfix_KB955706_sqlrun_sql.msp.log
Error Number              : 11032
Error Description         : Unable to install Windows Installer MSP file. fileExit Code Returned: 11032.
————————————————————————————————

SOLUTION:

1)     Go to the location.


Continue reading “Unable to install Windows Installer MSP fileExit Code Returned: 11032”

Question: Green arrow missing in Object Explorer Window in SSMS

Question

After connecting to SQL Server using SQL Server Management Studio, I am not able to see the green play arrow on the SQL Server DB icon before the instance name. It just shows white circle.

Resolution

Make sure that the Windows account with which you opened SQL Server Management studio have got admin privilege on the operating system and can retrieve service running status.

In Windows 2008, Even if your account has admin privilege on the OS, you need to run SSMS (for SQL Server 2008) and sqlwb (SQL Server 2005) from command prompt opened with “Run as Administrator”.

Tip: Adding Shared Disk to build a Failover Cluster inside VMware

If you wanna add a shared disk to the two nodes of a cluster to be built inside a VMware, Follow below steps.

  1. If your VMware is pretty Old, Then shutdown both the virtual machines to be configured as cluster.
  2. Then from inside VMware virtual center, right click one of the virtual machine and select ‘edit settings’.
  3. Create one SCSI control with sharing allowed among multiple virtual machines.
  4. Now click on Add and select Hard Disk.
  5. Select to create new virtual disk, provide required size, thin provisioning unchecked and to store with the virtual machine. And in advanced section, select the value for Virtual node (1:x, where 1:0 was selected as virtual node in step 3 and the x can have any value which is unoccupied. Since this SCSI control was newly created, all the nodes will be vacant. So here x can have any value between 0 and 15). Complete the wizard and now you have disk created and mapped to one virtual machine.
  6. Right click the same virtual machine once again and choose ‘edit settings’. And then click on the Hard Disk we just added. Now in a box at the right top corner, you will get the disk file location and name.
  7. Next use the tool putty (Let me know if you would like to know what putty is) and connect with the ESX host where the two virtual machines are located and also the disk we created in step 5 will be located.
  8. Using basic linux commands, navigate and find the Disk file and run below command to make the Disk file Zeroed (All bits on that disk are reset in this process).
    • vmkfstools -w /filepath/filename.vmdk

    , Continue reading…

Tip: SQL Server Single user mode in Windows 2008 Cluster

At first I thought starting SQL Server in Single user mode is easy in Windows 2008 fail-over cluster. But I was wrong, If I just add ‘;-m’ in start-up parameter and starts it, the SQL server will start in single user mode via cluster. But we wont be able to log in. The cluster service logs in before us. And so we might see an error like below.

Login failed for user ‘Domain\user’. Reason: Server is in single user mode. Only one administrator can connect at this time. [CLIENT: xx.xx.xx.xx]

Now what do we do? Below is how I overcame this problem.


Continue reading…

Shortcut: Creating Install media for SQL Server 2008 (any edition) + Service pack – Slip Stream method

Why do we need this?

By default, you might be having the stock media package which will give you a SQL server without the latest service pack. You will have to install service pack separately after installing the instance (Double work and time consuming). So if you follow below method you can update your install media with the latest service pack so that you can directly install SQL server + latest service pack in one shot. This method is also called as slip stream.

Prerequisites

Here lets take the example of adding Service Pack 2 to a SQL Server 2008 Enterprise Edition x64 install media.

  1. SQL Server 2008 Install Media.
  2. x86,ia64 and x64 versions of Executable for latest Service pack. They can be downloaded at http://www.microsoft.com/download/en/details.aspx?id=12548. Download all three files listed below.
    • SQLServer2008SP2-KB2285068-IA64-ENU.exe
    • SQLServer2008SP2-KB2285068-x64-ENU.exe
    • SQLServer2008SP2-KB2285068-x86-ENU.exe

Procedure

  1. Create a new folder name D:\SQL2008EEPlusSP2 and extract/copy all the files of the install media to that folder. Now you will have below list of files and folders in that New Folder.
    • ia64 (Folder)
    • x64 (Folder)
    • x86 (Folder)
    • autorun.inf
    • MediaInfo.xml
    • Microsoft.VC80.CRT.manifest
    • msvcr80.dll
    • Readme.htm
    • setup.exe
    • setup.rll

Continue reading…